-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
rye list overwrites .venv #940
Comments
It seems that PDM does a good job in this regard. If it is a project created by rye, |
When I try the pdm command in the report now, it gives something like this error instead of overwrite, from rye list:
but other sequences like |
This permission denied error cannot be reproduced, that's bad. Now I'm puzzled! |
The follow-up is #1352. It's more contrived, but maybe still a bug. |
Steps to Reproduce
(for example with PDM:
mkdir project; cd project; pdm init -n; pdm add jinja2; pdm list; rye list; pdm list;
)Expected Result
rye list should error or make a best effort to list the packages in the project.
rye list should not wipe out .venv directories that rye is not managing. rye list should preferably never do any modifications at all, it's a query command.
Actual Result
It overwrites .venv with a fresh venv (created with uv venv), wiping anything that was there before.
Version Info
rye 0.31.0
commit: 0.31.0 (72e239b 2024-03-22)
platform: linux (x86_64)
self-python: cpython@3.12.2
symlink support: true
uv enabled: true
Stacktrace
No response
The text was updated successfully, but these errors were encountered: