Skip to content

Commit 37f306b

Browse files
author
Simon Begin
committed
Pin request dependencies for old pythons
The latest version is now incompatible with 2.7
1 parent b406edd commit 37f306b

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

constraints.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,26 @@
44
#
55
# pip-compile --no-emit-trusted-host --no-index --output-file=constraints.txt setup.py test-requirements.txt
66
#
7-
certifi==2019.11.28 # via requests
7+
certifi==2021.10.8 # via requests
88
chardet==3.0.4 # via requests
99
click==7.0 # via pip-tools
10-
entrypoints==0.3 # via flake8
11-
flake8==3.7.9
10+
flake8==3.8.4
1211
idna==2.8 # via requests
12+
importlib-metadata==1.1.3 # via flake8
1313
mccabe==0.6.1 # via flake8
1414
mock==3.0.5
1515
nose==1.3.7
16+
pathlib2==2.3.7.post1 # via importlib-metadata
1617
pip-tools==3.9.0
17-
pycodestyle==2.5.0 # via flake8
18-
pyflakes==2.1.1 # via flake8
18+
pycodestyle==2.6.0 # via flake8
19+
pyflakes==2.2.0 # via flake8
1920
pyhamcrest==1.9.0
2021
requests==2.21.0
21-
six==1.14.0 # via mock, pip-tools, pyhamcrest
22-
typing==3.7.4.1 # via flake8
22+
scandir==1.10.0 # via pathlib2
23+
six==1.16.0 # via mock, pathlib2, pip-tools, pyhamcrest
24+
typing==3.10.0.0 # via flake8, pathlib2
2325
urllib3==1.24.3 # via requests
26+
zipp==1.2.0 # via importlib-metadata
2427

2528
# The following packages are considered to be unsafe in a requirements file:
2629
# setuptools==43.0.0 # via pyhamcrest

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
requests
1+
requests==2.21.0;python_version<'3.6'
2+
request;python_version>='3.6'

0 commit comments

Comments
 (0)