From e83061596d00342b409133cb8b51373c869e15a0 Mon Sep 17 00:00:00 2001 From: Betsy Lorton Date: Tue, 11 Sep 2018 16:07:23 -0400 Subject: [PATCH] Allow flexible library versions For most libraries, allow any revision within a major version. Ensure that the set of allowed versions contains the actual version that cfgov-refresh is currently on, so when we import and install this repo in cfgov, it doesn't cause version conflicts. --- setup.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index e812e56..8315c6d 100755 --- a/setup.py +++ b/setup.py @@ -10,26 +10,26 @@ install_requires = [ 'Django>=1.8,<1.12', - 'django-haystack==2.7.0', + 'django-haystack==2.7.0', # Latest version that supports both Django 1.8 and 1.11 'djangorestframework==3.6.4', - 'elasticsearch==2.4.1', - 'PyYAML==3.11', - 'python-dateutil==2.2', - 'requests==2.7.0', - 'Unipath==1.1', + 'elasticsearch>=2.4.1,<3', + 'PyYAML>=3.11,<3.14', + 'python-dateutil>=2.2,<3', + 'requests>=2.18,<3', + 'Unipath>=1.1,<2', ] docs_extras = [ - 'Markdown==2.3.1', + 'Markdown==2.6.9', 'PyYAML==3.10', 'backports-abc==0.4', 'certifi==2016.8.2', 'click==3.3', 'django-livereload==1.2', 'livereload==2.3.2', - 'mkDOCter==1.0.3', - 'mkdocs==0.15.3', + 'mkDOCter==1.0.5', + 'mkdocs==0.16.3', 'mkdocs-bootstrap==0.1.1', 'mkdocs-bootswatch==0.1.0', 'singledispatch==3.4.0.3', @@ -39,8 +39,8 @@ testing_extras = [ - 'coverage==4.2', - 'dj-database-url==0.4.2', + 'coverage>=4.5.1,<5', + 'dj-database-url>=0.4.2,<1', 'mock==2.0.0', ]