Skip to content

Commit

Permalink
Skip buggy requests versions and resolve "certificate verify failed…
Browse files Browse the repository at this point in the history
…: self-signed certificate in certificate chain" error

`requests` versions 2.32.0 to 2.32.3 (included) are affected by a bug breaking the ability to specify
custom SSLContexts in sub-classes of HTTPAdapter (psf/requests#6715) and another
breaking the ability to load certificates with HTTPAdapters (psf/requests#6730)

We skip those versions (and hope that 2.32.4 will provide a fix for psf/requests#6730)

Cf #706
  • Loading branch information
llange authored and eraby-fr committed Aug 9, 2024
1 parent c844d01 commit 622e740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ classifiers = [
requires-python = ">=3.7"
dependencies = [
"lxml",
"requests >= 2.0.0",
# `requests` versions 2.32.0, 2.32.1, and 2.32.2 are affected by a bug breaking the ability to specify
# custom SSLContexts in sub-classes of HTTPAdapter (https://github.com/psf/requests/issues/6715) and another
# breaking the ability to load certificates with HTTPAdapters (https://github.com/psf/requests/issues/6730)
"requests >= 2.0.0, != 2.32.0, != 2.32.1, != 2.32.2, != 2.32.3",
"python-dateutil",
"PyYAML",
"html2text >= 3.200",
Expand Down

0 comments on commit 622e740

Please sign in to comment.