Skip to content

Remove Python executables on uninstall #8571

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

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Oct 25, 2024

Following #8458, we need to remove the installed Python executables on uv python uninstall.

Needs Windows support still, but that approach will be different since there won't be links.

@zanieb zanieb marked this pull request as draft October 25, 2024 17:10
@zanieb zanieb force-pushed the zb/python-exec-dir branch from 6bf47d0 to 2021ad8 Compare October 25, 2024 20:39
@zanieb zanieb force-pushed the zb/python-exec-rm branch from 7b2c090 to 241e8ec Compare October 25, 2024 20:40
zanieb added a commit that referenced this pull request Oct 27, 2024
The shared arguments were resetting the `UV_PYTHON_INSTALL_DIR`,
breaking the intent of the test.

Added some uninstall tests too, needed later for #8571
@zanieb zanieb force-pushed the zb/python-exec-dir branch from 2021ad8 to 28b6613 Compare October 28, 2024 19:55
@zanieb zanieb force-pushed the zb/python-exec-rm branch from 241e8ec to da70b71 Compare October 28, 2024 20:02
@zanieb zanieb marked this pull request as ready for review October 28, 2024 20:41
@zanieb zanieb merged commit da67e97 into zb/python-exec-dir Oct 29, 2024
63 checks passed
@zanieb zanieb deleted the zb/python-exec-rm branch October 29, 2024 16:18
zanieb added a commit that referenced this pull request Oct 29, 2024
Following #8458, we need to remove the installed Python executables on
`uv python uninstall`.

Needs Windows support still, but that approach will be different since
there won't be links.
zanieb added a commit that referenced this pull request Oct 29, 2024
Following #8458, we need to remove the installed Python executables on
`uv python uninstall`.

Needs Windows support still, but that approach will be different since
there won't be links.
zanieb added a commit that referenced this pull request Oct 30, 2024
Following #8458, we need to remove the installed Python executables on
`uv python uninstall`.

Needs Windows support still, but that approach will be different since
there won't be links.
zanieb added a commit that referenced this pull request Oct 30, 2024
…v python install` (#8458)

Updates `uv python install` to link `python3.x` in the executable
directory (i.e., `~/.local/bin`) to the the managed interpreter path.

Includes

- #8569 
- #8571 

Remaining work

- #8663 
- #8650 
- Add an opt-out setting and flag
- Update documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant