Skip to content

Commit ce92079

Browse files
authored
Update requirements (#11)
* [x] Use setuptools compatibility list from OpenStack * [x] six >=1.10.0 * [x] Python >= 2.7.5 (drop pre-historic) * [x] dep-graph check made really simple
1 parent ea46ed9 commit ce92079

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# Minimum requirements for the build system to execute.
33
# PEP 508 specifications for PEP 518.
44
requires = [
5-
"setuptools > 20.2 ",
5+
"setuptools >= 21.0.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0", # PSF/ZPL
66
"wheel",
77
]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
six >=1.9
1+
six >=1.10.0
22
typing >= 3.6 ; python_version < "3.7"

setup.cfg

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
[options]
22
zip_safe = False
33
packages = find:
4+
5+
# While setuptools cannot deal with pre-installed incompatible versions,
6+
# setting a lower bound is not harmful - it makes error messages cleaner. DO
7+
# NOT set an upper bound on setuptools, as that will lead to uninstallable
8+
# situations as progressive releases of projects are done.
9+
# Blacklist setuptools 34.0.0-34.3.2 due to https://github.com/pypa/setuptools/issues/951
10+
# Blacklist setuptools 36.2.0 due to https://github.com/pypa/setuptools/issues/1086
411
setup_requires =
5-
setuptools > 20.2
12+
setuptools >= 21.0.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0
613

7-
python_requires = >=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
14+
python_requires = >=2.7.5,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
815

916
[bdist_wheel]
1017
# This flag says that the code is written to work on both Python 2 and Python

tox.ini

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ deps = bandit
114114
commands = bandit -r advanced_descriptors
115115

116116
[testenv:dep-graph]
117-
envdir = {toxworkdir}/dep-graph
118117
deps =
119-
pipenv
120-
commands =
121-
pipenv install -r {toxinidir}/build_requirements.txt --skip-lock
122-
pipenv graph
118+
.
119+
pipdeptree
120+
commands = pipdeptree

0 commit comments

Comments
 (0)