-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Build fails when creating conda env #9527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
we saw this over in sourmash, too - sourmash-bio/sourmash#2227. Issue text copy/pasted below :). we're getting the following error on readthedocs builds as of about 8 hours ago -
while this channel is not in our Reading https://server-docs.anaconda.com/en/latest/reference/troubleshooting.html, it appears that anaconda might be blocking the readthedocs build server from accessing that channel - possible reasons given, in order of likelihood, are -
I'm not going to do anything more to troubleshoot it just yet, maybe it'll get fixed over the weekend or something... |
I confirm that this seems like the same error. While reading through the possible reasons, I came back to my mind that I did update my SSH key which I use to connect to git/pypi.
Perhaps this is indeed the reason, however, it surprises me that building the conda environment fails when - to me - it seems more likely that the process of publishing it to pypi would raise an error. |
If all your packages are available on conda-forge, you may be able to change |
thanks @maresb for me that did the trick! :) |
Hi all and thanks for reporting this issue. I ran some tests to try to debug this deeper and find out a solution.
On Read the DocsI triggered a build for this project, https://readthedocs.org/projects/test-builds/builds/17859242/ and the build failed with the error reported in the description.
On local shellI ran the commands locally and it works just fine. The environment was created without issues. On local Read the Docs instanceI triggered a build for the same project and version in my local Read the Docs instance and it worked properly. The environment was created without issues and the build succeeded. |
After these tests, I guess what is happening here is that the Conda version used on Read the Docs 1 is old and it's pointing to an obsolete/deprecated URL for the I would suggest you all to upgrade your config file to use Please, if you follow this suggestion, let me know if it works for you. Footnotes
|
that seems to have worked for us, thank you! sourmash-bio/sourmash#2231 |
Use Mamba to check build-large queue. Related #9 Related readthedocs/readthedocs.org#9527
Use miniconda to check build-large queue. Related #9 Related readthedocs/readthedocs.org#9527
We have documented how users can upgrade the conda version manually in case they require it: https://docs.readthedocs.io/en/latest/build-customization.html#update-conda-version |
Details
Expected Result
Building package documentation.
Actual Result
Build fails when creating the conda environment necessary for my project. It did work in the past when I did the last project update.
readthedocs.yaml
environment.yml
The text was updated successfully, but these errors were encountered: