Skip to content

Commit 01817b6

Browse files
MNT: Add requires-python metadata
* Add requires-python metadata through the addition of setuptools's python_requires in setup.py. - c.f. https://peps.python.org/pep-0621/#requires-python - Set minimum required python to 3.8 as Python 3.7 is EOL as of 2023-06-27. c.f. https://devguide.python.org/versions/#unsupported-versions * The addition of requires-python is to provide guards to keep older CPython versions from installing releases that could contain unrunnable code.
1 parent ae7aa8e commit 01817b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
long_description_content_type="text/markdown",
1616
url="https://data-apis.org/array-api-compat/",
1717
license="MIT",
18+
python_requires=">=3.8",
1819
extras_require={
1920
"numpy": "numpy",
2021
"cupy": "cupy",

0 commit comments

Comments
 (0)