From 694427b381520b4ff338fa98b3404ef8c2f082d7 Mon Sep 17 00:00:00 2001 From: "shwan.jeon" Date: Mon, 19 Feb 2024 15:25:38 +0900 Subject: [PATCH 1/2] Add python version requirement on setup.py include python_requires option on setup for pip to resolve python dependency accordingly. prevent installing the latest flask_restx regardless of python version. fixes #586 --- CHANGELOG.rst | 12 ++++++++++++ setup.py | 1 + 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f687464e..a63e2405 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -25,6 +25,18 @@ Releases prior to 0.3.0 were “best effort” filled out, but are missing some info. If you see your contribution missing info, please open a PR on the Changelog! +.. _section-1.3.1: +1.3.1 +----- +.. _bug_fixes-1.3.1 +Bug Fixes +~~~~~~~~~ + +:: + + * Add python version requirement on setup.py (#586) [jason-the-j] + + .. _section-1.3.0: 1.3.0 ----- diff --git a/setup.py b/setup.py index d845294b..280adb44 100644 --- a/setup.py +++ b/setup.py @@ -111,4 +111,5 @@ def pip(filename): "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: BSD License", ], + python_requires=">=3.8" ) From c548f0a2d1888c3a286135e69576ca8c5e9ceb78 Mon Sep 17 00:00:00 2001 From: Peter Doggart Date: Wed, 24 Jul 2024 15:05:00 +0000 Subject: [PATCH 2/2] Fix formatting. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 280adb44..11c17070 100644 --- a/setup.py +++ b/setup.py @@ -111,5 +111,5 @@ def pip(filename): "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: BSD License", ], - python_requires=">=3.8" + python_requires=">=3.8", )