Skip to content

Commit bb1a41b

Browse files
committed
refactor: consolidate urllib3 version constraints into single global requirement
1 parent 79a18ab commit bb1a41b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

requirements/requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
requests_toolbelt>=1.0.0
2+
urllib3<3
23

34
# ------------ Python >= 3.9 ------------
45
requests>=2.32.2; python_version >= "3.9"
5-
urllib3<3; python_version >= "3.9"
66

77
# ------------ 3.7 <= Python < 3.9 ------------
88
requests>=2.22.0,<2.32; python_version >= "3.7" and python_version < "3.9"
9-
urllib3<2; python_version >= "3.7" and python_version < "3.9"
109

1110
# ------------ Python < 3.7 ------------
12-
requests>=2.22.0,<2.28; python_version < "3.7"
13-
urllib3<2; python_version < "3.7"
11+
requests>=2.22.0,<2.28; python_version < "3.7"

requirements/test.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
requests_toolbelt>=1.0.0
2+
urllib3<3
23

34
# ------------ Python >= 3.9 ------------
45
requests>=2.32.2; python_version >= "3.9"
5-
urllib3<3; python_version >= "3.9"
66
coverage>=7.6.0; python_version >= "3.13"
77
coverage>=7.5.0; python_version >= "3.9" and python_version < "3.13"
88

99
# ------------ 3.7 <= Python < 3.9 ------------
1010
requests>=2.22.0,<2.32; python_version >= "3.7" and python_version < "3.9"
11-
urllib3<2; python_version >= "3.7" and python_version < "3.9"
1211
coverage>=5.0,<7.0; python_version >= "3.7" and python_version < "3.9"
1312

1413
# ------------ Python < 3.7 ------------
1514
requests>=2.22.0,<2.28; python_version < "3.7"
16-
urllib3<2; python_version < "3.7"
1715
coverage==4.5.4; python_version < "3.7"
1816

1917
# ------------ responses versions ------------

0 commit comments

Comments
 (0)