Skip to content

MNT: Add requires-python metadata #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

matthewfeickert
Copy link
Contributor

c.f. tensorflow/probability#1724

Python 3.8 is also the lower bound on versions tested in CI.

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']

* 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.
@matthewfeickert
Copy link
Contributor Author

@asmeurer this is ready for review.

@asmeurer asmeurer merged commit ea6a9d6 into data-apis:main Jul 16, 2023
@matthewfeickert matthewfeickert deleted the mnt/add-requires-python-metadata branch July 16, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants