File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 22
22
python-version : ${{ matrix.python }}
23
23
- name : Install deps
24
24
run : |
25
- pip install -r requirements/requirements.txt
26
25
pip install -r requirements/test.txt
27
26
if [ "${{ matrix.urllib3-line }}" = "lt2" ]; then
28
27
pip install "urllib3<2"
Original file line number Diff line number Diff line change
1
+ requests_toolbelt>=1.0.0
2
+
3
+ # ------------ Python >= 3.9 ------------
4
+ # Requests 2.32.0/2.32.1 were yanked; start at 2.32.2.
5
+ # urllib3 2.x requires Python >=3.9; exclude 2.0.0 (known bug).
6
+ requests>=2.32.2; python_version >= "3.9"
7
+ urllib3!=2.0.0,<3; python_version >= "3.9"
8
+
9
+ # ------------ 3.7 <= Python < 3.9 ------------
10
+ # Latest Requests that still supports 3.7/3.8 is 2.31.x.
11
+ requests>=2.22.0,<2.32; python_version >= "3.7" and python_version < "3.9"
12
+ # urllib3<2 keeps behavior consistent on these Pythons.
13
+ urllib3<2; python_version >= "3.7" and python_version < "3.9"
14
+
15
+ # ------------ Python < 3.7 (i.e., 3.6) ------------
16
+ # 2.27.x was the last Requests series for 3.6.
17
+ requests>=2.22.0,<2.28; python_version < "3.7"
18
+ urllib3<2; python_version < "3.7"
19
+
1
20
black==19.10b0
2
21
coverage==4.5.4
3
22
tox==3.14.2
You can’t perform that action at this time.
0 commit comments