public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uv] f44: Update to 0.13.6 (close RHBZ#2561529)
@ 2026-11-03 8:03 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-03 8:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/uv
Branch : f44
Commit : 4b9fd3019f3e4a93cbe8c0400cfd73481cf5c7e0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-27T07:48:03+00:00
Stats : +133/-12 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/uv/c/4b9fd3019f3e4a93cbe8c0400cfd73481cf5c7e0?branch=f44
Log:
Update to 0.13.6 (close RHBZ#2561529)
Use upstream PR for updating tikv-jemallocator to 0.7.0. This doesn’t
make any difference in practice, because we link the system jemalloc
rather than building our own copy, which means that upstream’s tuning of
`JEMALLOC_SYS_WITH_MALLOC_CONF` to gain a few percent in various
benchmarks has no effect.
---
diff --git a/19735.patch b/19735.patch
new file mode 100644
index 0000000..b06f523
--- /dev/null
+++ b/19735.patch
@@ -0,0 +1,127 @@
+From 8fdb1f090701ac3ac5ec4c0739268bddcc2133c4 Mon Sep 17 00:00:00 2001
+From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
+Date: Mon, 8 Jun 2026 15:52:19 +0000
+Subject: [PATCH 1/4] Update Rust crate tikv-jemallocator to 0.7.0
+
+---
+ Cargo.lock | 8 ++++----
+ crates/uv-performance-memory-allocator/Cargo.toml | 2 +-
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/Cargo.lock b/Cargo.lock
+index 3bc3ee8c520..fbc5ef1af59 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -5057,9 +5057,9 @@ dependencies = [
+
+ [[package]]
+ name = "tikv-jemalloc-sys"
+-version = "0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
++version = "0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b"
++checksum = "1a2825c78386b4ae0314074867860ba9577875de945f05992c38815cbec327f0"
+ dependencies = [
+ "cc",
+ "libc",
+@@ -5067,9 +5067,9 @@ dependencies = [
+
+ [[package]]
+ name = "tikv-jemallocator"
+-version = "0.6.1"
++version = "0.7.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a"
++checksum = "249f09e49ab1609436f34c776e84231bead18d6a955f119f939bdc1d847561bd"
+ dependencies = [
+ "libc",
+ "tikv-jemalloc-sys",
+diff --git a/crates/uv-performance-memory-allocator/Cargo.toml b/crates/uv-performance-memory-allocator/Cargo.toml
+index 597a10ba726..59746a99eda 100644
+--- a/crates/uv-performance-memory-allocator/Cargo.toml
++++ b/crates/uv-performance-memory-allocator/Cargo.toml
+@@ -17,4 +17,4 @@ test = false
+ mimalloc = { version = "0.1.50", default-features = false, features = ["v2"] }
+
+ [target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), not(target_os = "freebsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
+-tikv-jemallocator = { version = "0.6.0", default-features = false, features = ["background_threads_runtime_support"] }
++tikv-jemallocator = { version = "0.7.0", default-features = false, features = ["background_threads_runtime_support"] }
+
+From 14013bb27b76d4d4416379fdbff95d7987f6f3d2 Mon Sep 17 00:00:00 2001
+From: Zanie Blue <contact@zanie.dev>
+Date: Mon, 8 Jun 2026 11:58:40 -0500
+Subject: [PATCH 2/4] Configure jemalloc large size classes
+
+---
+ .cargo/config.toml | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/.cargo/config.toml b/.cargo/config.toml
+index bc7bfd60d31..1065d77d18a 100644
+--- a/.cargo/config.toml
++++ b/.cargo/config.toml
+@@ -1,6 +1,11 @@
+ [alias]
+ dev = "run --package uv-dev --features dev"
+
++# The jemalloc 5.3.1 default increased peak RSS by about 3% in uv benchmarks
++# without a measurable performance improvement.
++[env]
++JEMALLOC_SYS_WITH_MALLOC_CONF = "disable_large_size_classes:false"
++
+ # statically link the C runtime so the executable does not depend on
+ # that shared/dynamic library.
+ #
+
+From 9c626fe4e5211b74a7d4ef9407c330a6e7e5fe51 Mon Sep 17 00:00:00 2001
+From: Zanie Blue <contact@zanie.dev>
+Date: Tue, 9 Jun 2026 11:23:24 -0500
+Subject: [PATCH 3/4] Apply suggestion from @zanieb
+
+---
+ .cargo/config.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/.cargo/config.toml b/.cargo/config.toml
+index 1065d77d18a..ee8145071f1 100644
+--- a/.cargo/config.toml
++++ b/.cargo/config.toml
+@@ -1,9 +1,9 @@
+ [alias]
+ dev = "run --package uv-dev --features dev"
+
+-# The jemalloc 5.3.1 default increased peak RSS by about 3% in uv benchmarks
+-# without a measurable performance improvement.
+ [env]
++# In jemalloc 5.3.1, this was turned on by default but increased peak RSS by ~3% in uv benchmarks
++# without a measurable performance improvement, so we turn it back off.
+ JEMALLOC_SYS_WITH_MALLOC_CONF = "disable_large_size_classes:false"
+
+ # statically link the C runtime so the executable does not depend on
+
+From ba19bf61303007edc048b787e32786bec778e1a0 Mon Sep 17 00:00:00 2001
+From: Zanie Blue <contact@zanie.dev>
+Date: Tue, 9 Jun 2026 13:09:06 -0500
+Subject: [PATCH 4/4] Limit jemalloc arenas
+
+---
+ .cargo/config.toml | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/.cargo/config.toml b/.cargo/config.toml
+index ee8145071f1..936a8c43b29 100644
+--- a/.cargo/config.toml
++++ b/.cargo/config.toml
+@@ -2,9 +2,9 @@
+ dev = "run --package uv-dev --features dev"
+
+ [env]
+-# In jemalloc 5.3.1, this was turned on by default but increased peak RSS by ~3% in uv benchmarks
+-# without a measurable performance improvement, so we turn it back off.
+-JEMALLOC_SYS_WITH_MALLOC_CONF = "disable_large_size_classes:false"
++# Limit the number of arenas used by uv and retain the jemalloc 5.3.0 large size class behavior.
++# The jemalloc 5.3.1 default increased peak RSS by ~3% in uv benchmarks.
++JEMALLOC_SYS_WITH_MALLOC_CONF = "narenas:16,disable_large_size_classes:false"
+
+ # statically link the C runtime so the executable does not depend on
+ # that shared/dynamic library.
diff --git a/sources b/sources
index 14f45b4..0873f76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (uv-0.13.5.tar.gz) = 22ae38ec22e9aa1f816e39516357a8f05c296cbf7cffe1f48657a10d3b80252492397ba5dd6dace15846626c6cdcc0c456a38c4ba51d856dd72d3ad025b9e6c7
+SHA512 (uv-0.13.6.tar.gz) = eb0900ca33afdebd36a75e423c00fff251289b21372d23500ccb28885c9da31f0dfb8ee8a7064458596ec1d8c5bf39865eac7ce83e524b83e61000a9ca37e686
diff --git a/uv.spec b/uv.spec
index 678aa74..fc73128 100644
--- a/uv.spec
+++ b/uv.spec
@@ -5,7 +5,7 @@
%bcond other_python_versions %{undefined epel}
Name: uv
-Version: 0.13.5
+Version: 0.13.6
# 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
@@ -161,6 +161,10 @@ Patch: 0003-Downstream-Avoid-embed-manifest-dependency-in-uv-cra.patch
# https://github.com/astral-sh/uv/pull/20174
Patch: %{url}/pull/20174.patch
+# Update Rust crate tikv-jemallocator to 0.7.0
+# https://github.com/astral-sh/uv/pull/19735
+Patch: %{url}/pull/19735.patch
+
BuildSystem: pyproject
BuildOption(install): --assert-license uv
@@ -544,16 +548,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
-# tikv-jemallocator
-# wanted: 0.6.0
-# currently packaged: 0.7.0
-# https://github.com/astral-sh/uv/pull/19735
-# We use sed instead of tomcli because the target.cfg(…) expression is a
-# *mess*, and we don’t want to have to write it out here.
-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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 8:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 8:03 [rpms/uv] f44: Update to 0.13.6 (close RHBZ#2561529) 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