Skip to content
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

support using requires-python to set python-version for minimum dependencies #251

Open
minrk opened this issue Oct 25, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@minrk
Copy link

minrk commented Oct 25, 2024

Problem

minimum dependencies defaults to using Python 3.8. It would be nice if it defaulted to reading the minimum Python version in pyproject.toml.

Proposed Solution

parse pyproject.toml looking for project.requires-python (or wheel metadata looking for the equivalent field) instead of hardcoding Python 3.8

Additional context

came up bumping minimum Python to 3.9 in ipykernel, where the minimum dependency test started failing due to using an unsupported Python 3.8.

@minrk minrk added the enhancement New feature or request label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant