-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
BackendUnavailable while building the documentation #5436
Comments
Can you try wiping the enviroment https://docs.readthedocs.io/en/stable/guides/wipe-environment.html? Also, if this bug isn't present in python 3.5 or 3.7, you can use a different version https://docs.readthedocs.io/en/stable/config-file/v2.html#python (note that is using the v2 of the config file) |
Thanks for the hints. The wipe trick didn't solve the issue. I'll have a look at python 3.7 then config v2. I cannot try 3.5 though because I'm using format strings which were introduced in 3.6. |
You can also use a previous version of pip that was working with that version of python. You can create a requirements file with pip only and put it before the requirements of your project https://docs.readthedocs.io/en/stable/config-file/v2.html#requirements-file |
Also, we install the latest version of pip by default, so if the problem is solved in the pip side, it would be fixed here as soon as they make a new release. |
I have updated my Config: # https://docs.readthedocs.io/en/latest/yaml-config.html
version: 2
build:
image: latest
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- rtd Traceback:
It looks like this issue has been fixed in setuptools v40.8.0 |
Adding an explicit |
Thanks, looks like we need to install the latest version of setuptools to play nice with the latest version of pip. I'll do a PR soon. |
Awesome! Thanks for your hard work. |
the 40.x releases has a lot of bugfixes and compatibility changes to support the latest version of pip, which we install by default now. Closes readthedocs#5436
Details
Expected Result
The documentation used to build without any issue.
Actual Result
For a few weeks, every build attempt fails in an early step whereas nothing changed in my requirements.
Here is the failing step:
And here is the traceback:
The problem started with the commit 2618ba00be7ed7a2fa483dfc21bfb7bb46038d90 of my project. As you can see here there aren't any change in the requirements between the last known functioning commit (2c1b4bb7efeaeea2dbdef2e0c7096ac4f534b020) and this one.
During my early troubleshooting I found those issues that might be related: pypa/setuptools#1644 and pypa/pip#6164
Those issues are talking about both pip 19.0 and python <=3.6.5.
I noticed the readthedocs builder run python 3.6.4.
I'm using the following readthedocs.yml:
Let me know if you need further details.
Thanks
The text was updated successfully, but these errors were encountered: