public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uv] epel10: No longer patch for blake2 0.10
@ 2026-11-19 20:39 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-19 20:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/uv
Branch : epel10
Commit : 11a4e0e84b18a863070d68650ed88b5468f2e66f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-19T20:38:41+00:00
Stats  : +45/-77 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/uv/c/11a4e0e84b18a863070d68650ed88b5468f2e66f?branch=epel10

Log:
No longer patch for blake2 0.10

---
diff --git a/0001-Downstream-Always-find-the-system-wide-uv-executable.patch b/0001-Downstream-Always-find-the-system-wide-uv-executable.patch
index f1577c3..6698fe6 100644
--- a/0001-Downstream-Always-find-the-system-wide-uv-executable.patch
+++ b/0001-Downstream-Always-find-the-system-wide-uv-executable.patch
@@ -1,7 +1,7 @@
-From da9194503ab36e97a7f424edf89bbf566ae093a5 Mon Sep 17 00:00:00 2001
+From fab1407ed1bfd7740ef2b3264ec37e394c405eab Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Sun, 23 Jun 2024 16:29:05 -0400
-Subject: [PATCH 1/3] Downstream: Always find the system-wide uv executable
+Subject: [PATCH 1/2] Downstream: Always find the system-wide uv executable
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -32,5 +32,5 @@ index ebe6b8d5a..e25a2e28c 100644
      for target in targets:
          if not target:
 -- 
-2.55.0
+2.56.1
 

diff --git a/0002-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch b/0002-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
new file mode 100644
index 0000000..f5997eb
--- /dev/null
+++ b/0002-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
@@ -0,0 +1,35 @@
+From a376c808874d8d459f0ea6caee6848477e9e6d92 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 21 Sep 2026 18:15:18 +0100
+Subject: [PATCH 2/2] Downstream: Avoid embed-manifest dependency in uv crate
+ build script
+
+The embed-manifest dependency only does something useful when (cross-?)
+compiling for Windows.
+---
+ crates/uv/build.rs | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/crates/uv/build.rs b/crates/uv/build.rs
+index 6169bc5cb..6f94392d1 100644
+--- a/crates/uv/build.rs
++++ b/crates/uv/build.rs
+@@ -13,12 +13,15 @@
+ //! - Standard invoker execution levels for CLI applications to disable UAC virtualization.
+ //!
+ //! See <https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests>
++#[cfg(false)] // Downstream patch: avoid packaging embed_manifest
+ use embed_manifest::manifest::{ActiveCodePage, ExecutionLevel, Setting, SupportedOS};
++#[cfg(false)] // Downstream patch: avoid packaging embed_manifest
+ use embed_manifest::{embed_manifest, empty_manifest};
+ 
+ use uv_static::EnvVars;
+ 
+ fn main() {
++    #[cfg(false)] // Downstream patch: avoid packaging embed_manifest
+     if std::env::var_os(EnvVars::CARGO_CFG_WINDOWS).is_some() {
+         let [major, minor, patch] = uv_version::version()
+             .splitn(3, '.')
+-- 
+2.56.1
+

diff --git a/0002-Downstream-Revert-source-code-changes-for-pre-releas.patch b/0002-Downstream-Revert-source-code-changes-for-pre-releas.patch
deleted file mode 100644
index dba628d..0000000
--- a/0002-Downstream-Revert-source-code-changes-for-pre-releas.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 2e4973f8d493686ca44bc591b2da73f379fb478c Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Mon, 21 Sep 2026 07:05:16 +0100
-Subject: [PATCH 2/3] Downstream: Revert source-code changes for pre-release
- blake2
-
----
- crates/uv-extract/src/hash.rs | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/crates/uv-extract/src/hash.rs b/crates/uv-extract/src/hash.rs
-index fb3b9797a..7b4d13222 100644
---- a/crates/uv-extract/src/hash.rs
-+++ b/crates/uv-extract/src/hash.rs
-@@ -1,4 +1,6 @@
--use sha2::{Digest as _, 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 as _;
- use std::pin::Pin;
- use std::task::{Context, Poll};
- use tokio::io::{AsyncReadExt, ReadBuf};
--- 
-2.55.0
-

diff --git a/0003-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch b/0003-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
deleted file mode 100644
index 1b82ec3..0000000
--- a/0003-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From c48f0de2ead89b0728bba4f86f06dcc538e52a1a Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Mon, 21 Sep 2026 18:15:18 +0100
-Subject: [PATCH 3/3] Downstream: Avoid embed-manifest dependency in uv crate
- build script
-
-The embed-manifest dependency only does something useful when (cross-?)
-compiling for Windows.
----
- crates/uv/build.rs | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/crates/uv/build.rs b/crates/uv/build.rs
-index 6169bc5cb..6f94392d1 100644
---- a/crates/uv/build.rs
-+++ b/crates/uv/build.rs
-@@ -13,12 +13,15 @@
- //! - Standard invoker execution levels for CLI applications to disable UAC virtualization.
- //!
- //! See <https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests>
-+#[cfg(false)] // Downstream patch: avoid packaging embed_manifest
- use embed_manifest::manifest::{ActiveCodePage, ExecutionLevel, Setting, SupportedOS};
-+#[cfg(false)] // Downstream patch: avoid packaging embed_manifest
- use embed_manifest::{embed_manifest, empty_manifest};
- 
- use uv_static::EnvVars;
- 
- fn main() {
-+    #[cfg(false)] // Downstream patch: avoid packaging embed_manifest
-     if std::env::var_os(EnvVars::CARGO_CFG_WINDOWS).is_some() {
-         let [major, minor, patch] = uv_version::version()
-             .splitn(3, '.')
--- 
-2.55.0
-

diff --git a/uv.spec b/uv.spec
index 4190576..f9dcd25 100644
--- a/uv.spec
+++ b/uv.spec
@@ -151,15 +151,10 @@ Source1:        uv.toml
 # See discussion in “Should uv.find_uv_bin() be able to find /usr/bin/uv?”
 # https://github.com/astral-sh/uv/issues/4451
 Patch:          0001-Downstream-Always-find-the-system-wide-uv-executable.patch
-# Downstream: Revert source-code changes for pre-release blake2
-# Revert source 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:          0002-Downstream-Revert-source-code-changes-for-pre-releas.patch
 # Downstream: Avoid embed-manifest dependency in uv crate build script
 # The embed-manifest dependency only does something useful when (cross-?)
 # compiling for Windows.
-Patch:          0003-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
+Patch:          0002-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
 
 # Add license texts for new contents of test/ecosystem/ from PR#20068
 # https://github.com/astral-sh/uv/pull/20174
@@ -548,14 +543,6 @@ tomcli set Cargo.toml append workspace.dependencies.rustls.features ring
 # #   https://bugzilla.redhat.com/show_bug.cgi?id=1234567
 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2
 
-# blake2
-#   wanted: 0.11.0-rc.6
-#   currently packaged: 0.10.6
-# 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
 
 
@@ -710,6 +697,12 @@ skip="${skip-} --skip network::retry_read_timeout_index"
 #     9       │-  Caused by: error decoding response body for url (http://[LOCALHOST]/)
 #           9 │+  Caused by: error decoding response body
 skip="${skip-} --skip network::retry_read_timeout_python_downloads_json"
+#     5       │-warning: Failed to write the environment path: failed to rename
+#               file from [TEMP_DIR]/[TMP] to [VENV]/: Is a directory (os error 21)
+#           5 │+warning: Failed to write the environment path: failed to rename
+#               file from `[TEMP_DIR]/[TMP]` to `[VENV]/`: Is a directory (os
+#               error 21)
+skip="${skip-} --skip venv::create_centralized_project_environment_link_failure"
 
 # These fail flakily: most frequently on ppc64le, but this seems to be just a
 # matter of luck, since we suspect a race condition. We have also seen failures

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-19 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 20:39 [rpms/uv] epel10: No longer patch for blake2 0.10 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox