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: allow pep440 version specifiers in requires-python #123

Merged

Conversation

MindTooth
Copy link
Contributor

@MindTooth MindTooth commented Aug 26, 2023

Add support for using PEP440 version specifiers in requires-python. This allows the user to specify multiple bounds, e.g. <=3.11,!=3.9,>=3.8.

Ref. #106, also removes Only lines.

Big thanks to @tomrtk for helping out.

Fixes #99.

tests/formatter/test_project.py Outdated Show resolved Hide resolved
@MindTooth
Copy link
Contributor Author

Sorry! Forgot to fix the tests. I’ll update them later.

@MindTooth MindTooth force-pushed the feat/allow_python_requires_range branch from fbf6db7 to ff3704b Compare August 27, 2023 16:06
@MindTooth MindTooth force-pushed the feat/allow_python_requires_range branch from ff3704b to 1bc4b45 Compare August 27, 2023 16:07
@gaborbernat gaborbernat merged commit b5b0cb0 into tox-dev:main Aug 28, 2023
10 checks passed
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.

Crash on python_requires upper bound
2 participants