public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/uv] rawhide: Update to 0.12.1 (close RHBZ#2509887)
Date: Sun, 02 Aug 2026 13:41:39 GMT	[thread overview]
Message-ID: <178567809994.1.5091600548130970321.rpms-uv-7f903f9dcee7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/uv
Branch : rawhide
Commit : 7f903f9dcee7f7a5ae7d45c5e906da9eba520288
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-02T11:59:42+01:00
Stats  : +26/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/uv/c/7f903f9dcee7f7a5ae7d45c5e906da9eba520288?branch=rawhide

Log:
Update to 0.12.1 (close RHBZ#2509887)

---
diff --git a/sources b/sources
index ee4c492..8c0e819 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (uv-0.12.0.tar.gz) = 9dfcb42b4d74c9f26dbb4e6b5ed1a424aafd3c4c2920766682f9d0fa5e54f52a6e9c76fd8d78bc10f6bc0054daed7e339bb01cc79d5114fd51cfc67a27186558
+SHA512 (uv-0.12.1.tar.gz) = 15c84d4b719295c1d9fca178025317d1b808f4c34a572609b78e35382bb12abdc4ba7a3b2bd1bc5576763b655b34b222be15f99c3481419f92a5f74e460ef96f

diff --git a/uv-0.12.1-revert-blake2-beta.patch b/uv-0.12.1-revert-blake2-beta.patch
new file mode 100644
index 0000000..805ef98
--- /dev/null
+++ b/uv-0.12.1-revert-blake2-beta.patch
@@ -0,0 +1,11 @@
+diff -Naur uv-0.12.1-original/crates/uv-extract/src/hash.rs uv-0.12.1/crates/uv-extract/src/hash.rs
+--- uv-0.12.1-original/crates/uv-extract/src/hash.rs	2026-07-31 20:05:57.000000000 +0100
++++ uv-0.12.1/crates/uv-extract/src/hash.rs	2026-08-02 11:53:13.406289238 +0100
+@@ -1,4 +1,6 @@
+-use sha2::{Digest, digest::consts::U32};
++// BLAKE2 still uses the `digest` 0.10 trait, while MD5 and SHA-2 use 0.11.
++use blake2::digest::{Digest as _, consts::U32};
++use sha2::Digest;
+ use std::pin::Pin;
+ use std::task::{Context, Poll};
+ use tokio::io::{AsyncReadExt, ReadBuf};

diff --git a/uv.spec b/uv.spec
index 7d06664..ccb997f 100644
--- a/uv.spec
+++ b/uv.spec
@@ -5,7 +5,7 @@
 %bcond other_python_versions %{undefined epel}
 
 Name:           uv
-Version:        0.12.0
+Version:        0.12.1
 # The uv package has a permanent exception to the Updates Policy in Fedora, so
 # it can be updated in stable releases across SemVer boundaries (subject to
 # good judgement and actual compatibility of any reverse dependencies). See
@@ -150,6 +150,10 @@ Source1:        uv.toml
 #   Should uv.find_uv_bin() be able to find /usr/bin/uv?
 #   https://github.com/astral-sh/uv/issues/4451
 Patch:          0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch
+# Downstream-only: revert source-code changes from “Upgrade BLAKE2 to unify
+# hashing digest versions”, https://github.com/astral-sh/uv/pull/20834. We do
+# not wish to upgrade rust-blake2 to a pre-release.
+Patch:          uv-0.12.1-revert-blake2-beta.patch
 # Add license texts for new contents of test/ecosystem/ from PR#20068
 # https://github.com/astral-sh/uv/pull/20174
 Patch:          %{url}/pull/20174.patch
@@ -519,6 +523,15 @@ sed --regexp-extended --in-place \
     's/^(tikv-jemallocator\b.*version = ")0\.6\.0"/\1>=0.6.0, <0.8.0"/' \
     crates/uv-performance-memory-allocator/Cargo.toml
 
+# blake2
+#   wanted: 0.11.0-rc.6
+#   currently packaged: 0.10.6
+#   https://github.com/astral-sh/uv/pull/19735
+# Downstream-only: revert “Upgrade BLAKE2 to unify hashing digest versions”,
+# https://github.com/astral-sh/uv/pull/20834. We do not wish to upgrade
+# rust-blake2 to a pre-release. There is an anccompanying source-code patch.
+tomcli set Cargo.toml str workspace.dependencies.blake2.version 0.10.6
+
 %cargo_prep
 
 

                 reply	other threads:[~2026-08-02 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178567809994.1.5091600548130970321.rpms-uv-7f903f9dcee7@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox