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

Make self-update an opt-in Cargo feature #2606

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

Ensures that (e.g.) installs from conda-forge, Homebrew, and other distributions don't expose uv self update at all.

We'll still show uv self update for pip install uv, but it will fail with a good error. Removing the uv self update from pip-installed uv is more complicated, since we'd need to build separately for the installer vs. for PyPI.

Closes #2588.

@charliermarsh charliermarsh added the releases Related to building and distributing release artifacts of uv label Mar 22, 2024
@charliermarsh charliermarsh marked this pull request as ready for review March 22, 2024 04:10
@charliermarsh charliermarsh merged commit 9986710 into main Mar 22, 2024
48 checks passed
@charliermarsh charliermarsh deleted the charlie/self-update branch March 22, 2024 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
releases Related to building and distributing release artifacts of uv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove self-update feature for other distributors
2 participants