Update uv
from 0.4.30 to 0.5.5. This is a significant update. Please see the following notes.
By updating to a current release of uv
, this update fixes CVE-2024-53899, which was originally reported against virtualenv
but which was also reproducible on uv
0.5.2 and earlier. See upstream issue #9424 for more details.
This update adds a default system-wide configuration file /etc/uv/uv.toml
with settings specific to Fedora. The RPM-packaged uv
now deviates from the default configuration in two ways.
First, we set "python-downloads"
to "manual"
in order to avoid unintended Python downloads. We suggest using RPM-packaged (system) Pythons that benefit from distribution maintenance and integration. Use uv python install
to manually install managed Pythons.
Second, we set "python-preference"
to "system"
instead of "managed"
. Otherwise, any managed Python would be used for uv
operations where no particular Python is specified, even if the only available managed Python were much older than the primary system Python.
No choices can be appropriate for all users and applications. To restore the default behavior, comment out settings in this file or override them in a configuration file with higher precedence, such as a user-level configuration file. See https://docs.astral.sh/uv/configuration/files/ for details on the interaction of project-, user-, and system-level configuration files.
With 0.5.0, uv
introduced several potentially breaking changes. The developers write that these are “changes that improve correctness and user experience, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution. We expect most users to be able to upgrade without making changes.”
~/.local/bin
) instead of the Cargo home directory in the installeruv.toml
!=
operator is usedUSERPROFILE
over FOLDERID_Profile
when selecting a home directory on Windowsallow-insecure-host
a global option.python-version
files during uv init
for workspace members if the version differsFor detailed discussion of these changes, please see https://github.com/astral-sh/uv/releases/tag/0.5.0.
For other fixes, enhancements, and changes in this update, please consult the following:
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2024-075f626765
Please login to add feedback.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been submitted for testing by bodhi.
This update has been pushed to testing.
Upstream pull request #9424 for Windows batch script activation turned out to be incorrect. For that reason, I’m going to modify this update with a fresh build, in which the backport of that PR is reverted. As long as I’m doing a new build, this will be
uv-0.5.5
, which came out just after I originally created this update.music edited this update.
New build(s):
Removed build(s):
Karma has been reset.
This update has been submitted for testing by music.
This is, formally speaking, an incompatible update, although most users should not find it disruptive. The
uv
package has a permanent Updates Policy exception.This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.