From 80a7211408c6f8a98fc69b4121adae07ac697656 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 9 Dec 2021 01:36:52 +0100 Subject: [PATCH] setup.py: Add packaging to setup_requires, and use >= to play nice (fixes #1625) --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 58d753fb3a..b9c2e3e315 100644 --- a/setup.py +++ b/setup.py @@ -26,9 +26,12 @@ author="Redis Inc.", author_email="oss@redis.com", python_requires=">=3.6", + setup_requires=[ + "packaging>=21.3", + ], install_requires=[ - "deprecated==1.2.3", - "packaging==21.3", + "deprecated>=1.2.3", + "packaging>=21.3", ], classifiers=[ "Development Status :: 5 - Production/Stable",