Modify setup.py version syntax to address #5464
authorAndrew Browning <ayleph@thisshitistemp.com>
Fri, 26 Aug 2016 15:34:18 +0000 (11:34 -0400)
committerAndrew Browning <ayleph@thisshitistemp.com>
Fri, 26 Aug 2016 15:36:59 +0000 (11:36 -0400)
Some users report that even with version <4.0 specified in setup.py,
the 4.0-rc builds of kombu and celery were still being downloaded.
This patch uses a different version syntax as suggested in a Stack
Overflow thread.

https://stackoverflow.com/a/14405269

setup.py

index 608a01d5abc3d6fc2bbbdf2afb4ddbdfaa8b94ed..6d309f7eb57ffaf82a5d637de8baec61b92732b1 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -56,8 +56,8 @@ install_requires = [
     'pytest>=2.3.1',
     'pytest-xdist',
     'werkzeug>=0.7',
-    'celery>=3.0,<4.0',
-    'kombu<4.0',
+    'celery>=3.0,<4.0a0',
+    'kombu<4.0a0',
     'jinja2',
     'Babel>=1.3',
     'WebTest>=2.0.18',