Skip to content

Commit a86eb88

Browse files
committed
Add stricter ranges to requirements.txt.
1 parent a55ebc5 commit a86eb88

File tree

3 files changed

+29
-21
lines changed

3 files changed

+29
-21
lines changed

requirements-sphinx.txt

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
chardet>=2.0.1
2-
dnspython3>=1.12
3-
html5lib>=0.999
4-
# lxml>=3.1.0
5-
namedlist>=1.3
6-
psutil>=2.0
7-
sqlalchemy>=0.9
1+
# Should be the same for requirements.txt:
2+
chardet>=2.0.1,<=2.3
3+
dnspython3==1.12
4+
html5lib>=0.999,<1.0
5+
# lxml>=3.1.0,<=3.5 # except for this because it requires building C libs
6+
namedlist>=1.3,<=1.7
7+
psutil>=2.0,<=4.2
8+
sqlalchemy>=0.9,<=1.0.13
89
tornado>=3.2.2,<5.0
9-
typing>=3.5
10-
yapsy>=1.11.223
10+
typing>=3.5,<=3.5.1
11+
yapsy==1.11.223
1112

12-
# for sphinx doc
13-
sphinx-argparse
14-
sphinxcontrib-napoleon>=0.2.6
13+
# for sphinx doc only:
14+
sphinx-argparse<=0.1.15
15+
sphinxcontrib-napoleon>=0.2.6,<=0.5.0

requirements.txt

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
chardet>=2.0.1
2-
dnspython3>=1.12
3-
html5lib>=0.999
4-
lxml>=3.1.0
5-
namedlist>=1.3
6-
psutil>=2.0
7-
sqlalchemy>=0.9
1+
# Absolutely known to work versions only:
2+
chardet>=2.0.1,<=2.3
3+
dnspython3==1.12
4+
html5lib>=0.999,<1.0
5+
lxml>=3.1.0,<=3.5
6+
namedlist>=1.3,<=1.7
7+
psutil>=2.0,<=4.2
8+
sqlalchemy>=0.9,<=1.0.13
89
tornado>=3.2.2,<5.0
9-
typing>=3.5
10-
yapsy>=1.11.223
10+
typing>=3.5,<=3.5.1
11+
yapsy==1.11.223
12+
13+
# Keep me sorted and update the other files :)
14+

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def get_version():
9292
package_dir=PROJECT_PACKAGE_DIR,
9393
)
9494

95+
96+
# Do not add version ranges unless absolutely required!
97+
# See also requirements.txt
9598
setup_kwargs['install_requires'] = [
9699
'chardet',
97100
'dnspython3',

0 commit comments

Comments
 (0)