From 01705822482042dd3948bedc0c38ffd29279f11d Mon Sep 17 00:00:00 2001 From: Tomaz Solc Date: Tue, 27 Jul 2021 08:26:27 +0200 Subject: [PATCH 1/3] Add python_requires arg to setup.py. This prevents pip from attempting to install new python-jose packages on unsupported Python versions. See https://packaging.python.org/tutorials/packaging-projects/#configuring-metadata --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 36411db3..f0b0f9e1 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ def get_packages(package): "pytest-runner", "setuptools>=39.2.0", ], + python_requires=">=3.6", tests_require=[ "ecdsa != 0.15", "pytest", From 25559c35976929935f58e5cdd22d41f5f3d6e4ac Mon Sep 17 00:00:00 2001 From: Tomaz Solc Date: Mon, 5 Jun 2023 11:46:27 +0200 Subject: [PATCH 2/3] Bumb python_requires to 3.7. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index d0509ae4..fa1c22ee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,7 @@ classifiers = [options] packages = find: -python_requires = >=3.6 +python_requires = >=3.7 install_requires = ecdsa != 0.15 rsa >=4.0, <5.0, !=4.4, !=4.1.1 From 1a303dc59d830ca1ad987877a5e36c95413e2e1f Mon Sep 17 00:00:00 2001 From: Asher Foa Date: Wed, 28 May 2025 12:48:04 -0400 Subject: [PATCH 3/3] python 3.9 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index fa1c22ee..35526907 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,7 @@ classifiers = [options] packages = find: -python_requires = >=3.7 +python_requires = >=3.9 install_requires = ecdsa != 0.15 rsa >=4.0, <5.0, !=4.4, !=4.1.1