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

Ignore upper-bounds on Requires-Python #4086

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Jun 6, 2024

Summary

This PR modifies our Requires-Python handling to treat Requires-Python as a lower bound. There's extensive discussion around this in #4022 and the references linked therein. I think it's an experiment worth trying. Even in my own small projects, I'm running into issues whereby I'm being "forced" to add a <4 upper bound to my Requires-Python due to these caps.

Separately, we should explore adding a mechanism that's distinct from Requires-Python to enable users to declare a supported range for locking.

Closes #4022.

@charliermarsh charliermarsh marked this pull request as ready for review June 6, 2024 03:50
@charliermarsh charliermarsh added the preview Experimental behavior label Jun 6, 2024
Copy link
Member

@konstin konstin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to document this in the user docs, partially respecting requires-python would be a headache to figure out otherwise.

@charliermarsh charliermarsh merged commit 31bb01f into main Jun 6, 2024
46 checks passed
@charliermarsh charliermarsh deleted the charlie/requires-python-cap branch June 6, 2024 17:52
SigureMo added a commit to yutto-dev/bilili that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider discarding < 4 upper-bound on Requires-Python
3 participants