Repository navigation
DEBUG READ THE DOCS - #7182
DEBUG READ THE DOCS#7182esc wants to merge 7 commits into
Conversation
|
Strange error on RTD when trying to install the RC: |
| @@ -6,7 +6,7 @@ channels: | |||
| - numba/label/dev | |||
| dependencies: | |||
| - python=3.7 | |||
There was a problem hiding this comment.
| - python=3.7 | |
| - python=3.7 | |
| - pip |
Pip is missing as noted by conda, not sure it's related to the build problem but could well be not helping?
There was a problem hiding this comment.
I have made the change but it did not alter any of the described symptoms.
|
I have requested support on this one from the kind people at Read the Docs via a support ticket. |
|
Hello folks, Juan Luis from Read the Docs here (and long user and fan of numba), I'm having a look at this issue. I see you have tried several things already, will focus on the conda error shown in @esc second commit here first. The best way to debug this will be to pull the https://github.com/readthedocs/readthedocs-docker-images corresponding to your build (most likely |
|
@astrojuanlu oh wow, when I called in support from Read The Docs, I was expecting to receive THAT kind of support! 😉 |
|
Reproduced the conda error locally: I confirm that I am not able to reproduce this on my conda installation outside of Docker. RTD has a version that's 2 years old, I'm upgrading at the moment to see if it fixes the issue. |
|
I confirm that conda 4.10 solves the environment, while conda 4.6 doesn't. That's why switching to the |
|
Good news: using mamba solves the environment without problems. @esc Do you want us to enable the |
That is very interesting and maybe something for @wolfv -- I'll have to confer with the others about this. @astrojuanlu in any case, thank you very much for your support on this front! |
|
this is probably related to virtual packages (https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html#managing-virtual-packages) The old conda doesn't add a virtual glibc package and thus the solve fails. Not sure if they use a newer conda for the mamba image. |
|
If you want to enable the flag, you need to email rtd: patrickfuchs/buildH#68 (comment) |
No we don't 😓 That's why resorting to mamba is the only solution on RTD. |
Do you take patches to upgrade Conda to 4.10.x? I see there is a comment about memory usage in Conda 4.7.12.1 and since then there were a number of performance improvements. |
|
I opened an issue about the conda version on the RTD Docker images here readthedocs/readthedocs-docker-images#173 Unless we fast-track the upgrade, it might take us some time to discuss and arrive at a good decision. The short-term solution is still to enable the |
|
@astrojuanlu we are happy to set "use mamba" temporarily until the issues with a newer conda version have been sorted out. |
|
I just enabled mamba for the numba project on RTD, and looks like https://readthedocs.org/projects/numba/builds/14188031/ is working (triggered from #7193, feel free to close it). |
|
Solved for now, closing! |
|
As a follow-up to this, we are about to deploy new images with Miniconda3 4.9.2, and I confirmed locally that this fixes the problem with the numba builds without having to use mamba. Let us know if you want us to disable mamba for you after our next deploy. |
As title.