From c69970fc417b32df14b76b69959d86a5b8ef531a Mon Sep 17 00:00:00 2001 From: jpic <jamespic@gmail.com> Date: Tue, 19 Apr 2016 00:48:11 +0200 Subject: [PATCH] Hardcode other dependency versions See the 2 previous commits for example reasons to do that ! --- setup.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 94c2470a..555998ea 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup(name='political-memory', author_email='cortex@worlddomination.be', url='http://github.com/political-memory/political_memory/', install_requires=[ - 'django-autocomplete-light>=3.0', + 'django-autocomplete-light>=3.0,<4.0', 'django-bootstrap3>=6.2,<6.3', 'django-coffeescript>=0.7,<0.8', 'django-compressor>=1.6,<1.7', @@ -22,20 +22,22 @@ setup(name='political-memory', 'djangorestframework>=3.2.0,<3.3.0', 'hamlpy>=0.82,<0.83', 'ijson>=2.2,<2.3', - 'lesscpy', + 'lesscpy>=0.10.2,<0.11.0', 'python-dateutil>=2.4,<2.5', 'unicodecsv==0.14.1', 'pytz==2015.7', - 'django-suit', + 'django-suit>=0.2.16,<0.3.0', ], extras_require={ + # Full version hardcode for testing dependencies so that + # tests don't break on master without any obvious reason. 'testing': [ 'django-responsediff==0.2.0', - 'flake8', - 'pep8', - 'pytest', - 'pytest-django', - 'pytest-cov', + 'flake8==2.5.1', + 'pep8==1.5.7', + 'pytest==2.8.5', + 'pytest-django==2.9.1', + 'pytest-cov==2.2.0', 'codecov', ] } -- GitLab