Skip to content

Commit

Permalink
[Docs] Work around the bug of urllib3 and OpenSSL incompatibility
Browse files Browse the repository at this point in the history
The recent version of urllib3 (v2.0) only supports OpenSSL 1.1.1+.
However, the ReadTheDocs engine that we use for generating our web
documentation by default uses older OpenSSL. The workaround is to
pin a specific OS distro and Python version.

Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
Dmitrii Kuvaiskii committed May 9, 2023
1 parent babea62 commit c7fe3f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
version: 2

# The recent version of urllib3 (v2.0) only supports OpenSSL 1.1.1+. However, the ReadTheDocs
# engine that we use for generating our web documentation by default uses older OpenSSL. The
# workaround is to pin a specific OS distro and Python version.
# See also https://github.com/readthedocs/readthedocs.org/issues/10290.
build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
install:
- requirements: Documentation/requirements.txt

0 comments on commit c7fe3f0

Please sign in to comment.