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

feat(PEP621) Add support for requires-python in pyproject.toml #11426

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

louis-jaris
Copy link

Closes #8244

This add the support of python version detection based on the requires-python attribute defined in PEP621.

What are you trying to accomplish?

Add support for PEP 621 standard for python versioning, and close #8244, as it is affecting projects that are using libraries that does not support latest and greatest, and that are complying with standards (i.e. PEP 621)

Anything you want to highlight for special attention from reviewers?

I'm not a ruby developer, so I used chat.mistral.ai to get that. I did not wrote a test for it, but if I could get some help on that I will happily do it.

How will you know you've accomplished your goal?

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

Closes dependabot#8244

This add the support of python version detection based on the
`requires-python` attribute defined in PEP621.
@louis-jaris louis-jaris requested a review from a team as a code owner January 28, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready
Development

Successfully merging this pull request may close these issues.

Python version from pyproject.toml requires-python (PEP621)
1 participant