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

Default to current Python minor if Requires-Python is absent #4070

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

charliermarsh
Copy link
Member

Summary

If Requires-Python is omitted in uv lock or uv run, we now warn and default to >= the current minor version.

Closes #4050.

@charliermarsh charliermarsh added the preview Experimental behavior label Jun 5, 2024
Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

Oo without an upper bound, spicy.

@charliermarsh charliermarsh force-pushed the charlie/default-requires-python branch from 34aba12 to 5b41963 Compare June 5, 2024 20:40
@charliermarsh charliermarsh enabled auto-merge (squash) June 5, 2024 20:40
@charliermarsh charliermarsh merged commit e5f9518 into main Jun 5, 2024
46 checks passed
@charliermarsh charliermarsh deleted the charlie/default-requires-python branch June 5, 2024 20:45
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.

Locking depends on the current python version if requires-python isn't set
2 participants