Repository navigation
Add requires-python to uv init - #5322
Merged
Merged
Conversation
charliermarsh
force-pushed
the
charlie/init-requires-python
branch
from
July 23, 2024 01:09
b5f7ae0 to
d861b5d
Compare
charliermarsh
commented
Jul 23, 2024
Member
Author
There was a problem hiding this comment.
@zanieb - Can you review that what I'm doing with the discovery here is reasonable?
charliermarsh
force-pushed
the
charlie/init-requires-python
branch
from
July 23, 2024 01:10
d861b5d to
6760f51
Compare
konstin
approved these changes
Jul 23, 2024
Contributor
Member
Author
|
Yeah... Though unfortunately we need to create the I'll figure something out. |
Contributor
|
Just a heads-up, |
Member
Author
|
@j178 - We also check that before modifying the workspace manifest. |
ibraheemdev
approved these changes
Jul 23, 2024
charliermarsh
force-pushed
the
charlie/init-requires-python
branch
from
July 23, 2024 15:53
6760f51 to
81205d4
Compare
charliermarsh
enabled auto-merge (squash)
July 23, 2024 15:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prefers, in order:
--python.requires-pythonfrom the workspace.If the
--pythonrequest is a version or a version range, we use that without fetching an interpreter.Closes #5299.