Commit e39b279
security: remove vulnerable Python 2 dependencies pyopenssl, pyasn1, ndg-httpsclient
These dependencies were only used for Python 2 SNI support (gated behind
`sys.version_info < (3,)` in requests.py) and are unnecessary on Python 3,
which handles SNI natively via the stdlib ssl module.
Removes:
- pyopenssl (CVE-2026-27459, fixed in 26.0.0)
- pyasn1 (CVE-2026-30922, fixed in 0.6.3)
- ndg-httpsclient (depends on both)
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 57eee77 commit e39b279
2 files changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
0 commit comments