Skip to content

Commit 35b5e9c

Browse files
committed
Update dependency version floors and drop Python 2 vestiges
- Remove `future` (Python 2 only) and `setuptools` from requirements.txt - Bump urllib3 floor to 2.0 (1.x is EOL) - Bump certifi floor to 2023.7.22 for security - Bump python-dateutil floor to 2.8.2 - Modernize test deps: pytest >= 7.0, pytest-cov >= 4.0, pytest-randomly >= 3.12 - Align setup.py install_requires with requirements.txt
1 parent 73176e0 commit 35b5e9c

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

requirements.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
certifi >= 14.05.14
2-
future; python_version<="2.7"
1+
certifi >= 2023.7.22
32
six >= 1.10
4-
python_dateutil >= 2.5.3
5-
setuptools >= 21.0.0
6-
urllib3 >= 1.15.1
3+
python_dateutil >= 2.8.2
4+
urllib3 >= 2.0.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# prerequisite: setuptools
1616
# http://pypi.python.org/pypi/setuptools
1717

18-
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
18+
REQUIRES = ["urllib3 >= 2.0.0", "six >= 1.10", "certifi >= 2023.7.22", "python-dateutil >= 2.8.2"]
1919

2020
setup(
2121
name=NAME,

test-requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pytest~=4.6.7 # needed for python 2.7+3.4
2-
pytest-cov>=2.8.1
3-
pytest-randomly==1.2.3 # needed for python 2.7+3.4
1+
pytest >= 7.0
2+
pytest-cov >= 4.0
3+
pytest-randomly >= 3.12

0 commit comments

Comments
 (0)