Skip to content

Commit 793d902

Browse files
committed
build: pin urllib3<2.3 to accommodate our old fork of vcrpy
We can unpin this when py3.9 support drops in October 2025. Original hope was to get a PR merged upstream in vcrpy that fixes the urllib version issues with Python < 3.10, but that hasn't gone anywhere.
1 parent da05822 commit 793d902

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ sphinx-rfcsection~=0.1.1
2020
# use fork of vcrpy 5.x until kevin1024/vcrpy#777 is (hopefully) accepted
2121
# (or until py3.9 EOL... in 10/2025, I HOPE NOT)
2222
vcrpy @ git+https://github.com/sopel-irc/vcrpy@uncap-urllib3
23+
# also have to use a version of urllib3 that doesn't use the `version_string`
24+
# attr of the response object, because vcrpy won't support it until 7.x
25+
urllib3<2.3
2326
# type check
2427
# often breaks CI on master, so pin and update deliberately, on our own terms
2528
mypy==1.11.2

0 commit comments

Comments
 (0)