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

Reuse refined interpreter to create tool environment #11680

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Feb 20, 2025

Summary

As-is, we used the refined interpreter to resolve, but we then created the tool environment with the "old" interpreter. So we risked running (e.g.) code that requires Python 3.12 in a Python 3.10 environment. We need to propagate the updated interpreter.

This is fairly hard to test, because it requires an environment in which we're able to download new interpreters.

Closes #11678 (comment).

@charliermarsh charliermarsh added the bug Something isn't working label Feb 20, 2025
@charliermarsh charliermarsh enabled auto-merge (squash) February 20, 2025 22:00
@charliermarsh charliermarsh merged commit 36268fb into main Feb 20, 2025
74 checks passed
@charliermarsh charliermarsh deleted the charlie/use branch February 20, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv tool install sets up correct Python environment only on second installation
1 participant