Skip to content

Commit

Permalink
Add python version requirement on setup.py
Browse files Browse the repository at this point in the history
include python_requires option on setup for pip to resolve python dependency accordingly.
prevent installing the latest flask_restx regardless of python version.
fixes python-restx#586
  • Loading branch information
shwan.jeon committed Feb 19, 2024
1 parent b38a7d9 commit 694427b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,5 @@ def pip(filename):
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
],
python_requires=">=3.8"
)

0 comments on commit 694427b

Please sign in to comment.