From 16a17a3ca7134b0a56c49653165ef37cb6acfece Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 18 Jan 2023 23:37:24 -0600 Subject: [PATCH] fix: Remove '<4' from python_requires (#6333) * As discussed in https://discuss.python.org/t/use-of-less-than-next-major-version-e-g-4-in-python-requires-setup-py/1066 and other places by the PyPA, use of upper bounds with python_requires for future versions of Python is unintended use of python_requires and actively discouraged. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 092b40d011..bf13369be0 100755 --- a/setup.py +++ b/setup.py @@ -94,7 +94,7 @@ def run_tests(self): package_data={"": ["LICENSE", "NOTICE"]}, package_dir={"requests": "requests"}, include_package_data=True, - python_requires=">=3.7, <4", + python_requires=">=3.7", install_requires=requires, license=about["__license__"], zip_safe=False,