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

Remove '<4' from python_requires #6332

Closed
matthewfeickert opened this issue Jan 18, 2023 · 0 comments · Fixed by #6333
Closed

Remove '<4' from python_requires #6332

matthewfeickert opened this issue Jan 18, 2023 · 0 comments · Fixed by #6333

Comments

@matthewfeickert
Copy link
Contributor

matthewfeickert commented Jan 18, 2023

Summary

As discussed in the discuss.python topic "Use of “less-than next-major-version” (e.g., <4) in python_requires (setup.py)" and other places there can be some side effects of adding <4 to a library's python_requires. Following these discussions the use of <4 for python_requires was removed from the PyPA's packaging guide in pypa/packaging.python.org#850. While

python_requires=">=3.7, <4",

doesn't pose an immediate breaking threat in 2023, it would be good to remove this upper cap and is using python_requires in a way that was not intended.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant