Skip to content

Commit 2365f8f

Browse files
committed
ci: update Python version support
1 parent 628cccf commit 2365f8f

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-22.04
88
strategy:
99
matrix:
10-
python: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
10+
python: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
1111
urllib3-line: ["lt2", "ge2"]
1212
exclude:
1313
- python: "3.7"

requirements/requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ requests_toolbelt>=1.0.0
33
# ------------ Python >= 3.9 ------------
44
requests>=2.32.2; python_version >= "3.9"
55
urllib3<3; python_version >= "3.9"
6-
responses>=0.25.0; python_version >= "3.9"
76

87
# ------------ 3.7 <= Python < 3.9 ------------
98
requests>=2.22.0,<2.32; python_version >= "3.7" and python_version < "3.9"
109
urllib3<2; python_version >= "3.7" and python_version < "3.9"
11-
responses>=0.23.0,<0.25; python_version >= "3.7" and python_version < "3.9"
1210

1311
# ------------ Python < 3.7 ------------
1412
requests>=2.22.0,<2.28; python_version < "3.7"
15-
urllib3<2; python_version < "3.7"
16-
responses>=0.20.0,<0.22; python_version < "3.7"
13+
urllib3<2; python_version < "3.7"

requirements/test.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ requests_toolbelt>=1.0.0
33
# ------------ Python >= 3.9 ------------
44
requests>=2.32.2; python_version >= "3.9"
55
urllib3<3; python_version >= "3.9"
6-
responses>=0.25.0; python_version >= "3.9"
6+
77

88
# ------------ 3.7 <= Python < 3.9 ------------
99
requests>=2.22.0,<2.32; python_version >= "3.7" and python_version < "3.9"
1010
urllib3<2; python_version >= "3.7" and python_version < "3.9"
11-
responses>=0.23.0,<0.25; python_version >= "3.7" and python_version < "3.9"
1211

1312
# ------------ Python < 3.7 ------------
1413
requests>=2.22.0,<2.28; python_version < "3.7"
1514
urllib3<2; python_version < "3.7"
16-
responses>=0.20.0,<0.22; python_version < "3.7"
15+
16+
responses>=0.25.0; python_version >= "3.8"
17+
responses>=0.18.0,<0.25; python_version >= "3.7" and python_version < "3.8"
18+
responses<0.18.0; python_version < "3.7"
1719

1820
black==19.10b0
1921
coverage==4.5.4

0 commit comments

Comments
 (0)