Skip to content

Commit

Permalink
Add stricter ranges to requirements.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
chfoo committed Jun 9, 2016
1 parent a55ebc5 commit a86eb88
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 21 deletions.
25 changes: 13 additions & 12 deletions requirements-sphinx.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
chardet>=2.0.1
dnspython3>=1.12
html5lib>=0.999
# lxml>=3.1.0
namedlist>=1.3
psutil>=2.0
sqlalchemy>=0.9
# Should be the same for requirements.txt:
chardet>=2.0.1,<=2.3
dnspython3==1.12
html5lib>=0.999,<1.0
# lxml>=3.1.0,<=3.5 # except for this because it requires building C libs
namedlist>=1.3,<=1.7
psutil>=2.0,<=4.2
sqlalchemy>=0.9,<=1.0.13
tornado>=3.2.2,<5.0
typing>=3.5
yapsy>=1.11.223
typing>=3.5,<=3.5.1
yapsy==1.11.223

# for sphinx doc
sphinx-argparse
sphinxcontrib-napoleon>=0.2.6
# for sphinx doc only:
sphinx-argparse<=0.1.15
sphinxcontrib-napoleon>=0.2.6,<=0.5.0
22 changes: 13 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
chardet>=2.0.1
dnspython3>=1.12
html5lib>=0.999
lxml>=3.1.0
namedlist>=1.3
psutil>=2.0
sqlalchemy>=0.9
# Absolutely known to work versions only:
chardet>=2.0.1,<=2.3
dnspython3==1.12
html5lib>=0.999,<1.0
lxml>=3.1.0,<=3.5
namedlist>=1.3,<=1.7
psutil>=2.0,<=4.2
sqlalchemy>=0.9,<=1.0.13
tornado>=3.2.2,<5.0
typing>=3.5
yapsy>=1.11.223
typing>=3.5,<=3.5.1
yapsy==1.11.223

# Keep me sorted and update the other files :)

3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ def get_version():
package_dir=PROJECT_PACKAGE_DIR,
)


# Do not add version ranges unless absolutely required!
# See also requirements.txt
setup_kwargs['install_requires'] = [
'chardet',
'dnspython3',
Expand Down

0 comments on commit a86eb88

Please sign in to comment.