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

Respect .python-version files and fetch manged toolchains in uv project commands #4361

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jun 17, 2024

As in #4360, updates the uv project CLI to respect .python-version files as default Python version requests. Additionally, updates project interpreter discovery to fetch managed toolchains as in uv venv --preview.

@zanieb zanieb added the preview Experimental behavior label Jun 17, 2024
@zanieb zanieb force-pushed the zb/toolchain-file-project branch from 486882d to 6238a75 Compare June 17, 2024 16:45
@zanieb
Copy link
Member Author

zanieb commented Jun 17, 2024

I'd like to add a test case here

crates/uv/src/commands/project/mod.rs Outdated Show resolved Hide resolved
crates/uv/src/commands/project/mod.rs Outdated Show resolved Hide resolved
@zanieb zanieb force-pushed the zb/toolchain-file-venv branch 6 times, most recently from 723091e to 3867540 Compare June 18, 2024 03:26
@zanieb zanieb force-pushed the zb/toolchain-file-project branch from 1d13c6f to 7687be0 Compare June 18, 2024 03:26
@zanieb
Copy link
Member Author

zanieb commented Jun 18, 2024

I started writing test cases in a follow-up.

@zanieb zanieb force-pushed the zb/toolchain-file-venv branch 2 times, most recently from 5c67d6c to f0d74fb Compare June 18, 2024 14:13
Base automatically changed from zb/toolchain-file-venv to main June 18, 2024 14:21
@zanieb zanieb force-pushed the zb/toolchain-file-project branch from 7687be0 to 60af37b Compare June 18, 2024 14:24
@zanieb zanieb force-pushed the zb/toolchain-file-project branch from 60af37b to b7c4fce Compare June 18, 2024 14:36
@zanieb zanieb merged commit 1ce2147 into main Jun 18, 2024
47 checks passed
@zanieb zanieb deleted the zb/toolchain-file-project branch June 18, 2024 14:43
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.

None yet

3 participants