From a91a0dc4798d45548cd5283d720a60e8b47764f9 Mon Sep 17 00:00:00 2001 From: Andrew Browning Date: Fri, 26 Aug 2016 11:34:18 -0400 Subject: [PATCH] Modify setup.py version syntax to address #5464 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0e169e6c..12e43862 100644 --- a/setup.py +++ b/setup.py @@ -131,7 +131,7 @@ install_requires = [ 'werkzeug>=0.7,<1.0.0', # Celery 4.3.0 drops the "sqlite" transport alias making our tests fail. 'celery>=3.0,<4.3.0', - 'kombu<4.0', + 'kombu<4.0a0', # Jinja2 3.0.0 uses f-strings (Python 3.7 and above) but `pip install` on # Debian 9 doesn't seem to respect Jinja2's 'python_requires=">=3.6"' line. 'jinja2<3.0.0', -- 2.25.1