Skip to content

Commit

Permalink
Attempt to fix urllib3 v2.0/OpenSSL error in CI for linux64
Browse files Browse the repository at this point in the history
  • Loading branch information
fxpineau committed Nov 7, 2023
1 parent e359b01 commit a4f26f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ matplotlib
networkx>=2.5

pytest>6.0
# Need to pin urllib3 to avoid error:
# ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl'
# module is compiled with 'OpenSSL 1.0.2k-fips 26
# See:
# * https://github.com/psf/requests/issues/6432
# * https://urllib3.readthedocs.io/en/stable/v2-migration-guide.html#ssl-module-is-compiled-with-openssl-1-0-2-k-fips
# urllib3 is a dependency of requests
urllib3<2
requests

0 comments on commit a4f26f6

Please sign in to comment.