-
-
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
Could not import extension sphinx.builders.linkcheck (exception: urllib3 v2.0 only supports OpenSSL 1.1.1+) #10290
Comments
Hi, this is because urlib3 was released yesterday, and that version isn't compatible with the docker image you are using. To use a more recent version of our docker images, please use a config file (https://docs.readthedocs.io/en/stable/config-file/v2.html), Edit: projects should use a configuration file and leave urllib3 unpinned |
More specifically, you should use a configuration file that that specifies the build OS. That is, add a version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11" This will ensure you are not using one of the older images. Edit: updated to mention |
This follows the advice from readthedocs/readthedocs.org#10290 (comment) to address urllib3/urllib3#2168.
@stsewd I suspect this issue will get a lot of traffic, if possible could the correct answer w/ example of upgrading to |
@sethmlarson Thanks for the note, I'd agree the configuration fix should be the recommended fix. I'll edit the guidance above. It seems like we're probably going to aim to get some sort of fix out here, as this is causing a bit of trouble for folks. It seems the trouble is an old pyenv compiled Python in an image we're trying to deprecate, but should be something we can fix. Unfortunately, we're going into Write the Docs conference time, so we haven't settled on a timeframe yet. |
Also, I opened an issue yesterday for updating and fixing the legacy build image: We'll track updating and fixing the image there. I'll see what I can do today and tomorrow |
See: readthedocs/readthedocs.org#10290 Signed-off-by: Tesshu Flower <tflower@redhat.com>
The RTD build is failing due to a new version of urllib3. According to [1], this change should fix the problem. [1] - readthedocs/readthedocs.org#10290
The preview build fails because of readthedocs/readthedocs.org#10290, let's pin urllib3 to workaround that.
The preview build fails because of readthedocs/readthedocs.org#10290, let's pin urllib3 to workaround that.
* Refactor sphinx config and bump docs python version (#364) * fix [.readthedocs.yml] - increase python version Fixes urllib3 v2.0 not supporting versions <1.1.1 of openSSL. See readthedocs/readthedocs.org#10290. * fix [.readthedocs.yml] - set container image and python version * unpin doc requirements * Update decompositions.py and readds the Takagi decomposition (#363) * Update decompositions.py * New takagi * New takagi * Passes black * Simplifies blochmessiah * Simplifies blochmessiah * Found a case that breaks Takagi * Fixes all the tests * Fixes issues found by the linter * Adds extra test * Adds extra test * dummy * dummy * fix [.readthedocs.yml] - increase python version Fixes urllib3 v2.0 not supporting versions <1.1.1 of openSSL. See readthedocs/readthedocs.org#10290. * fix [.readthedocs.yml] - set container image and python version * unpin doc requirements * Revert "fix [.readthedocs.yml] - increase python version" This reverts commit db0e8d7. --------- Co-authored-by: Nicolas Quesada <nquesada@pop-os.localdomain> Co-authored-by: Sebastián Duque Mesa <675763+sduquemesa@users.noreply.github.com> * Dummy commit * Passes black * linting * Updates module summary --------- Co-authored-by: Sebastián Duque Mesa <675763+sduquemesa@users.noreply.github.com> Co-authored-by: Nicolas Quesada <nquesada@pop-os.localdomain>
The preview build fails because of readthedocs/readthedocs.org#10290, let's pin urllib3 to workaround that.
The preview build fails because of readthedocs/readthedocs.org#10290, let's pin urllib3 to workaround that.
The preview build fails because of readthedocs/readthedocs.org#10290, let's pin urllib3 to workaround that.
The preview build fails because of readthedocs/readthedocs.org#10290, let's pin urllib3 to workaround that.
Docs builds currently fail with Could not import extension sphinx.builders.linkcheck (exception: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2n 7 Dec 2017. See: urllib3/urllib3#2168) The Gluon issuetracker suggests specifying the build-container. Link: readthedocs/readthedocs.org#10290 (comment) Signed-off-by: David Bauer <mail@david-bauer.net>
Details
Expected Result
New revision of docs should be builded.
Actual Result
Error is thrown:
Is this a problem on my side? It installs pip packages in build, how should i fix this?
The text was updated successfully, but these errors were encountered: