-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
pyenv
-created virtualenv is not picked up
#11544
Comments
Is there a |
Same as #7935 (some discussion there) We don't support use of |
Thank you for the clear reproduction though! |
Yes, created by
Just out of curiosity, why does |
We could stop supporting "names" in |
In this case, could |
No, that runs in the context of a "project" and needs to respect the same semantics as the rest of our top-level interface. |
I guess, it all hinges on how to use |
Yes the file contents are arbitrary and not enforced by a standard. I certainly think it's reasonable for it to only contain Python versions rather than the name of an environment that should be loaded from a tool-specific location though. |
Summary
I asked this in a comment to #2109, but perhaps it's better as a separate issue.
My goal is to keep managing my virtual environments with
pyenv
, but useuv
for project management (dependency resolution, build, etc). Steps (withuv
0.5.30):Make a new directory and add
pyproject.toml
with contents:Create and set the virtual environment.
uv
picks it up when asked forpip list
:But
uv tree
does not workWhat am I doing wrong?
Platform
MacOS 15.2
Version
0.5.30 (Homebrew 2025-02-10)
Python version
3.10.10
The text was updated successfully, but these errors were encountered: