Skip to content

Commit

Permalink
Pin urllib version in dev requirements file.
Browse files Browse the repository at this point in the history
When building sphinx docs in the CI environment we get this error:
    ImportError: 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

This commit pins urllib to < 2.0.0 so we can avoid this error until the
environment the docs are built on supports uses a newer openssl version.
  • Loading branch information
zoj613 committed May 3, 2023
1 parent 97d69fe commit 344fa41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ black==20.8b1; platform.python_implementation!='PyPy'
diff-cover
autoflake
pre-commit
urllib3>=1.24.2,<2.0.0

0 comments on commit 344fa41

Please sign in to comment.