From b94e085e77602f2634c8a8b4f4908ce478d33296 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 6 Nov 2025 14:12:02 +0000 Subject: [PATCH 001/106] Lower maximum CPUs a bit more MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keep trying to avoid “too many open files” on 192-core builders. --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 584006c..d25c8ee 100644 --- a/uv.spec +++ b/uv.spec @@ -226,7 +226,7 @@ ExcludeArch: %{ix86} # Compilation may fail on builders with very many cores (e.g. 192 cores) due to # “too many open files.” Try to keep the files/core ratio from getting too low. -%global _smp_ncpus_max 128 +%global _smp_ncpus_max 96 BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust2rpm-helper From 387c849a4ca2fdc5e6e3fe8a655471a346e5c770 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 6 Nov 2025 22:56:05 +0000 Subject: [PATCH 002/106] Drop conditionals for F41, soon to be EOL --- uv.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/uv.spec b/uv.spec index d25c8ee..c408e9c 100644 --- a/uv.spec +++ b/uv.spec @@ -234,10 +234,6 @@ BuildRequires: tomcli BuildRequires: python3-devel %if %{with check} && %{with it} # See trove classifiers in pyproject.toml for supported Pythons. -%if %{defined fc41} -# https://fedoraproject.org/wiki/Changes/RetirePython3.8 -BuildRequires: /usr/bin/python3.8 -%endif BuildRequires: /usr/bin/python3.9 BuildRequires: /usr/bin/python3.10 BuildRequires: /usr/bin/python3.11 @@ -756,7 +752,7 @@ skip="${skip-} --skip registry_client::tests::test_redirect_to_server_with_crede # https://github.com/astral-sh/uv/pull/13699#issuecomment-2916115588. skip="${skip-} --skip remote_metadata::remote_metadata_with_and_without_cache" -%if %[ %{defined fc41} || %{defined el10} ] +%if %{defined el10} # Trivial difference in snapshots: packages appear in a different order. skip="${skip-} --skip lock::tests::missing_dependency_source_unambiguous" skip="${skip-} --skip lock::tests::missing_dependency_version_dynamic" From 846450334621962f7643f61188af27f00f5dbefa Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 7 Nov 2025 23:16:46 +0000 Subject: [PATCH 003/106] Update to 0.9.8 (close RHBZ#2413462) --- .gitignore | 1 + sources | 2 +- uv.spec | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d09ab5e..d201184 100644 --- a/.gitignore +++ b/.gitignore @@ -168,3 +168,4 @@ /uv-0.9.6.tar.gz /rs-async-zip-f6a41d32866003c868d03ed791a89c794f61b703.tar.gz /uv-0.9.7.tar.gz +/uv-0.9.8.tar.gz diff --git a/sources b/sources index f7ed181..5572604 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (uv-0.9.7.tar.gz) = 4a9c1beda1c53a4658c657c0e20f6bd3865e034ae87ce7a9e02f0b0125785f46e316f8e95aa3ce24b3c71a6e6d8011dea55bbe9a61e48ad11c684b09804afa9d +SHA512 (uv-0.9.8.tar.gz) = be46be8cfebc5d3676980eb3a4660d36b5dc68d54c584a54b7fffa66b204bb3bc105cd021214a0fc9e16251b36951f6761855f2f94932c68211623dfdb1d2775 SHA512 (rs-async-zip-f6a41d32866003c868d03ed791a89c794f61b703.tar.gz) = 8eb19bc6780aff9dd0084df81fe3191b4cd7cd051cbe085b24bb237229af6aa94db1fc88bdc386866d192b0c15e148e3bc014b2f5d091833852be09848fcdda3 SHA512 (pubgrub-d8efd77673c9a90792da9da31b6c0da7ea8a324b.tar.gz) = 3a2a146fd9d9b458dced6563a1f5674e81e8ba36de11be5c189b0c76b6ede6f32957f48fb0978b97b0892768822c6c4c32c6870141e8fc1ea5d8b8f7d8b5b464 SHA512 (reqwest-middleware-7650ed76215a962a96d94a79be71c27bffde7ab2.tar.gz) = 904fd652b0f3ecc90eee571d5488aba977dee643a1d6267e2fda264fa4c7b4bfcfacd4d5a23287dfb710ecc82d667479fcd0c48166259c2368df0e8b0c9d6707 diff --git a/uv.spec b/uv.spec index c408e9c..bce4f0a 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.7 +Version: 0.9.8 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -623,13 +623,13 @@ tomcli set Cargo.toml str workspace.dependencies.etcetera.version \ '>=0.10.0, <0.12.0' # spdx -# wanted: 0.10.6 +# wanted: 0.12.0 # currently packaged: 0.10.9 (but we want to update to 0.12) # https://bugzilla.redhat.com/show_bug.cgi?id=2387258 # Update the spdx dependency to version 0.12 # https://github.com/astral-sh/uv/pull/16552 tomcli set Cargo.toml str workspace.dependencies.spdx.version \ - '>=0.10.6, <0.13.0' + '>=0.10.9, <0.13.0' %cargo_prep From 6d2c706eb8fd0e8fa4014ecf77b36cf2a4027385 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 15 Nov 2025 10:41:54 +0000 Subject: [PATCH 004/106] Update to 0.9.9 --- .gitignore | 1 + sources | 3 +-- uv.spec | 38 ++++++-------------------------------- 3 files changed, 8 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index d201184..6e8c980 100644 --- a/.gitignore +++ b/.gitignore @@ -169,3 +169,4 @@ /rs-async-zip-f6a41d32866003c868d03ed791a89c794f61b703.tar.gz /uv-0.9.7.tar.gz /uv-0.9.8.tar.gz +/uv-0.9.9.tar.gz diff --git a/sources b/sources index 5572604..fbc187c 100644 --- a/sources +++ b/sources @@ -1,5 +1,4 @@ -SHA512 (uv-0.9.8.tar.gz) = be46be8cfebc5d3676980eb3a4660d36b5dc68d54c584a54b7fffa66b204bb3bc105cd021214a0fc9e16251b36951f6761855f2f94932c68211623dfdb1d2775 +SHA512 (uv-0.9.9.tar.gz) = ec44f1c6f8fe30e2a23e5d1bd871ee21f1cff3e84842133d9388f8f0f6c48e399600a386d77c27e562598fdf9bd4dfc2b7a655b295f7c8925352828c02023eea SHA512 (rs-async-zip-f6a41d32866003c868d03ed791a89c794f61b703.tar.gz) = 8eb19bc6780aff9dd0084df81fe3191b4cd7cd051cbe085b24bb237229af6aa94db1fc88bdc386866d192b0c15e148e3bc014b2f5d091833852be09848fcdda3 SHA512 (pubgrub-d8efd77673c9a90792da9da31b6c0da7ea8a324b.tar.gz) = 3a2a146fd9d9b458dced6563a1f5674e81e8ba36de11be5c189b0c76b6ede6f32957f48fb0978b97b0892768822c6c4c32c6870141e8fc1ea5d8b8f7d8b5b464 SHA512 (reqwest-middleware-7650ed76215a962a96d94a79be71c27bffde7ab2.tar.gz) = 904fd652b0f3ecc90eee571d5488aba977dee643a1d6267e2fda264fa4c7b4bfcfacd4d5a23287dfb710ecc82d667479fcd0c48166259c2368df0e8b0c9d6707 -SHA512 (tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.tar.gz) = 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 diff --git a/uv.spec b/uv.spec index bce4f0a..3f954e3 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.8 +Version: 0.9.9 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -78,7 +78,6 @@ Summary: An extremely fast Python package installer and resolver, written # - async_zip, Source100, is MIT. # - pubgrub/version-ranges, Source200, is MPL-2.0. # - reqwest-middleware/reqwest-retry, Source300, is (MIT OR Apache-2.0). -# - tl, Source400, is MIT. # # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-3.0 @@ -181,21 +180,6 @@ Source200: %{pubgrub_git}/archive/%{pubgrub_rev}/pubgrub-%{pubgrub_rev}.tar %global reqwest_retry_baseversion 0.7.0 Source300: %{reqwest_middleware_git}/archive/%{reqwest_middleware_rev}/reqwest-middleware-%{reqwest_middleware_rev}.tar.gz -# For the time being, uv must use a fork of tl. See: -# Path back to using released tl crate dependency? -# https://github.com/astral-sh/uv/issues/6687 -# It should be possible to stop forking and bundling if tl upstream merges and -# releases the following fix: -# Avoid truncating URLs in unquoted hrefs -# https://github.com/y21/tl/pull/69 -# We therefore bundle the fork as prescribed in -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_replacing_git_dependencies -%global tl_git https://github.com/astral-sh/tl -%global tl_rev 6e25b2ee2513d75385101a8ff9f591ef51f314ec -%global tl_baseversion 0.7.8 -%global tl_snapdate 20240825 -Source400: %{tl_git}/archive/%{tl_rev}/tl-%{tl_rev}.tar.gz - # Downstream-only: Always find the system-wide uv executable # See discussion in # Should uv.find_uv_bin() be able to find /usr/bin/uv? @@ -261,10 +245,6 @@ Provides: bundled(crate(version-ranges)) = %{version_ranges_version} %global reqwest_retry_version %{reqwest_retry_baseversion}^%{reqwest_middleware_snapinfo} Provides: bundled(crate(reqwest-middleware)) = %{reqwest_middleware_version} Provides: bundled(crate(reqwest-retry)) = %{reqwest_retry_version} -# This is a fork of tl; see the notes about Source400. -%global tl_snapinfo %{tl_snapdate}git%{sub %{tl_rev} 1 7} -%global tl_version %{tl_baseversion}^%{tl_snapinfo} -Provides: bundled(crate(tl)) = %{tl_version} # In https://github.com/astral-sh/uv/issues/5588#issuecomment-2257823242, # upstream writes “These have diverged significantly and the upstream versions @@ -483,17 +463,6 @@ install -t LICENSE.bundled/reqwest-retry -D -p -m 0644 \ # We do not need the reqwest-tracing crate. rm -rv '../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-tracing' -# See comments above Source400: -%setup -q -T -D -b 400 -n uv-%{version} -ln -s '../../tl-%{tl_rev}' crates/tl -git2path workspace.dependencies.tl crates/tl -pushd crates/tl -%autopatch -p1 -m400 -M499 -popd -install -t LICENSE.bundled/tl -D -p -m 0644 crates/tl/LICENSE -# Drop a benchmark-only dev-dependency. -tomcli set crates/tl/Cargo.toml del dev-dependencies.criterion - # Collect license files of vendored dependencies in the main source archive install -t LICENSE.bundled/packaging -D -p -m 0644 \ crates/uv-python/python/packaging/LICENSE.* @@ -779,6 +748,11 @@ skip="${skip-} --skip lock::tests::missing_dependency_version_unambiguous" # ────────────┴─────────────────────────────────────────────────────────────────── skip="${skip-} --skip tests::built_by_uv_building" +# The list of HTTP status codes contains 103, but the expected list from the +# snapshot doesn’t. This seems like a trivial discrepancy, probably due to a +# dependency version differing from Cargo.lock. +skip="${skip-} --skip base_client::tests::retried_status_codes" + %cargo_test -- -- --exact ${skip-} %endif From e98e2c1d0e5b27fc98bb3c924912c9809154daf3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 3 Dec 2025 10:34:43 +0000 Subject: [PATCH 005/106] Skip flaky test_redirect_to_server_with_credentials on *all* arches --- uv.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uv.spec b/uv.spec index 3f954e3..99b76b9 100644 --- a/uv.spec +++ b/uv.spec @@ -707,12 +707,10 @@ skip="${skip-} --skip python_list::python_list_downloads" # This might be worth reporting upstream, but is not a serious issue. skip="${skip-} --skip python_pin::python_pin_resolve" %endif -%ifarch %{power64} s390x # Test registry_client::tests::test_redirect_to_server_with_credentials is -# flaky on ppc64le +# flaky # https://github.com/astral-sh/uv/issues/16447 skip="${skip-} --skip registry_client::tests::test_redirect_to_server_with_credentials" -%endif # This requires specific Python interpreter versions (so it would be grouped # with the conditionalized integration tests above), but it also requires From d782dc2ac3d86f35d238afe14eea201bb6d51abd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 5 Dec 2025 11:14:45 +0000 Subject: [PATCH 006/106] Drop explicit BR: python3-devel This is implicit in %pyproject_buildrequires. [skip changelog] --- uv.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/uv.spec b/uv.spec index 99b76b9..ebd15b7 100644 --- a/uv.spec +++ b/uv.spec @@ -215,7 +215,6 @@ ExcludeArch: %{ix86} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust2rpm-helper BuildRequires: tomcli -BuildRequires: python3-devel %if %{with check} && %{with it} # See trove classifiers in pyproject.toml for supported Pythons. BuildRequires: /usr/bin/python3.9 From 51113a9b9178b28f10d72963171eda55f55877a7 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 5 Dec 2025 11:23:07 +0000 Subject: [PATCH 007/106] No longer allow etcetera version 0.10 --- uv.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/uv.spec b/uv.spec index ebd15b7..9451197 100644 --- a/uv.spec +++ b/uv.spec @@ -583,13 +583,6 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # https://bugzilla.redhat.com/show_bug.cgi?id=1234567 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2 -# etcetera -# wanted: 0.11.0 -# currently packaged: 0.10.0 -# https://bugzilla.redhat.com/show_bug.cgi?id=2406801 -tomcli set Cargo.toml str workspace.dependencies.etcetera.version \ - '>=0.10.0, <0.12.0' - # spdx # wanted: 0.12.0 # currently packaged: 0.10.9 (but we want to update to 0.12) From 86173730572c3d25a33f7904e46d424e0633f46f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 5 Dec 2025 11:25:27 +0000 Subject: [PATCH 008/106] Explicitly expect license files NOT handled in pyproject_files [skip changelog] --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 9451197..6c451ae 100644 --- a/uv.spec +++ b/uv.spec @@ -631,7 +631,7 @@ done %install %pyproject_install -%pyproject_save_files uv +%pyproject_save_files -L uv if [ '%{python3_sitearch}' != '%{python3_sitelib}' ] then From 68bac6ee4c88a9cea68d1b5659ed1dc55bf42e60 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 5 Dec 2025 11:28:05 +0000 Subject: [PATCH 009/106] Update to 0.9.10 --- .gitignore | 1 + sources | 5 +- uv.spec | 148 ++++------------------------------------------------- 3 files changed, 11 insertions(+), 143 deletions(-) diff --git a/.gitignore b/.gitignore index 6e8c980..676dbb4 100644 --- a/.gitignore +++ b/.gitignore @@ -170,3 +170,4 @@ /uv-0.9.7.tar.gz /uv-0.9.8.tar.gz /uv-0.9.9.tar.gz +/uv-0.9.10.tar.gz diff --git a/sources b/sources index fbc187c..5d5d4ed 100644 --- a/sources +++ b/sources @@ -1,4 +1 @@ -SHA512 (uv-0.9.9.tar.gz) = ec44f1c6f8fe30e2a23e5d1bd871ee21f1cff3e84842133d9388f8f0f6c48e399600a386d77c27e562598fdf9bd4dfc2b7a655b295f7c8925352828c02023eea -SHA512 (rs-async-zip-f6a41d32866003c868d03ed791a89c794f61b703.tar.gz) = 8eb19bc6780aff9dd0084df81fe3191b4cd7cd051cbe085b24bb237229af6aa94db1fc88bdc386866d192b0c15e148e3bc014b2f5d091833852be09848fcdda3 -SHA512 (pubgrub-d8efd77673c9a90792da9da31b6c0da7ea8a324b.tar.gz) = 3a2a146fd9d9b458dced6563a1f5674e81e8ba36de11be5c189b0c76b6ede6f32957f48fb0978b97b0892768822c6c4c32c6870141e8fc1ea5d8b8f7d8b5b464 -SHA512 (reqwest-middleware-7650ed76215a962a96d94a79be71c27bffde7ab2.tar.gz) = 904fd652b0f3ecc90eee571d5488aba977dee643a1d6267e2fda264fa4c7b4bfcfacd4d5a23287dfb710ecc82d667479fcd0c48166259c2368df0e8b0c9d6707 +SHA512 (uv-0.9.10.tar.gz) = d5359ab37c2e7b91ded7875544b637cf1d46164349e36004a801e75aa501dfb5fa68458e7b94a1de947ef1cf3d0c18990695c8d2a2ca37d84f5ecc78ea854689 diff --git a/uv.spec b/uv.spec index 6c451ae..6cdd8ad 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.9 +Version: 0.9.10 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -73,11 +73,7 @@ Summary: An extremely fast Python package installer and resolver, written # # Rust crates compiled into the executable contribute additional license terms. # To obtain the following list of licenses, build the package and note the -# output of %%{cargo_license_summary}. This should automatically include the -# licenses of the following bundled forks: -# - async_zip, Source100, is MIT. -# - pubgrub/version-ranges, Source200, is MPL-2.0. -# - reqwest-middleware/reqwest-retry, Source300, is (MIT OR Apache-2.0). +# output of %%{cargo_license_summary}. # # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-3.0 @@ -139,47 +135,6 @@ Source0: %{url}/archive/%{version}/uv-%{version}.tar.gz # https://docs.astral.sh/uv/configuration/files Source1: uv.toml -# Currently, uv must use a fork of async_zip, as explained in: -# Restore central directory buffering -# https://github.com/astral-sh/rs-async-zip/pull/2 -# and further discussed in -# Please consider supporting the current release of async_zip -# https://github.com/prefix-dev/async_http_range_reader/issues/14 -# We therefore bundle the fork as prescribed in -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_replacing_git_dependencies -%global async_zip_git https://github.com/astral-sh/rs-async-zip -%global async_zip_rev f6a41d32866003c868d03ed791a89c794f61b703 -%global async_zip_baseversion 0.0.17 -%global async_zip_snapdate 20251014 -Source100: %{async_zip_git}/archive/%{async_zip_rev}/rs-async-zip-%{async_zip_rev}.tar.gz - -# For the foreseeable future, uv must use a fork of pubgrub (and the -# version-ranges crate, which belongs to the same project), as explained in: -# Plans for eventually using published pubgrub? -# https://github.com/astral-sh/uv/issues/3794 -# We therefore bundle the fork as prescribed in -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_replacing_git_dependencies -%global pubgrub_git https://github.com/astral-sh/pubgrub -%global pubgrub_rev d8efd77673c9a90792da9da31b6c0da7ea8a324b -%global pubgrub_baseversion 0.3.0 -%global pubgrub_snapdate 20250810 -%global version_ranges_baseversion 0.1.1 -Source200: %{pubgrub_git}/archive/%{pubgrub_rev}/pubgrub-%{pubgrub_rev}.tar.gz - -# Until “Report retry count on Ok results,” -# https://github.com/TrueLayer/reqwest-middleware/pull/235, is reviewed, -# merged, and released, uv must use a fork of reqwest-middleware/reqwest-retry -# to support the changes in “Show retries for HTTP status code errors,” -# https://github.com/astral-sh/uv/pull/13897. We therefore bundle the fork as -# prescribed in -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_replacing_git_dependencies -%global reqwest_middleware_git https://github.com/astral-sh/reqwest-middleware -%global reqwest_middleware_rev 7650ed76215a962a96d94a79be71c27bffde7ab2 -%global reqwest_middleware_snapdate 20250828 -%global reqwest_middleware_baseversion 0.4.2 -%global reqwest_retry_baseversion 0.7.0 -Source300: %{reqwest_middleware_git}/archive/%{reqwest_middleware_rev}/reqwest-middleware-%{reqwest_middleware_rev}.tar.gz - # Downstream-only: Always find the system-wide uv executable # See discussion in # Should uv.find_uv_bin() be able to find /usr/bin/uv? @@ -227,24 +182,6 @@ BuildRequires: /usr/bin/python3.14 BuildRequires: /usr/bin/python3.14t %endif -# This is a fork of async_zip; see the notes about Source100. -%global async_zip_snapinfo %{async_zip_snapdate}git%{sub %{async_zip_rev} 1 7} -%global async_zip_version %{async_zip_baseversion}^%{async_zip_snapinfo} -Provides: bundled(crate(async_zip)) = %{async_zip_version} -# This is a fork of pubgrub/version-ranges; see the notes about Source200. -%global pubgrub_snapinfo %{pubgrub_snapdate}git%{sub %{pubgrub_rev} 1 7} -%global pubgrub_version %{pubgrub_baseversion}^%{pubgrub_snapinfo} -%global version_ranges_version %{version_ranges_baseversion}^%{pubgrub_snapinfo} -Provides: bundled(crate(pubgrub)) = %{pubgrub_version} -Provides: bundled(crate(version-ranges)) = %{version_ranges_version} -# This is a fork of reqwest-middleware/reqwest-retry; see the notes about -# Source300. -%global reqwest_middleware_snapinfo %{reqwest_middleware_snapdate}git%{sub %{reqwest_middleware_rev} 1 7} -%global reqwest_middleware_version %{reqwest_middleware_baseversion}^%{reqwest_middleware_snapinfo} -%global reqwest_retry_version %{reqwest_retry_baseversion}^%{reqwest_middleware_snapinfo} -Provides: bundled(crate(reqwest-middleware)) = %{reqwest_middleware_version} -Provides: bundled(crate(reqwest-retry)) = %{reqwest_retry_version} - # In https://github.com/astral-sh/uv/issues/5588#issuecomment-2257823242, # upstream writes “These have diverged significantly and the upstream versions # are only passively maintained, uv requires these custom versions and can't @@ -394,73 +331,7 @@ This package provides an importable Python module for uv. %prep -%autosetup -N -%autopatch -p1 -M99 - -# Usage: git2path SELECTOR PATH -# Replace a git dependency with a path dependency in Cargo.toml -git2path() { - tomcli set Cargo.toml del "${1}.git" - tomcli set Cargo.toml del "${1}.rev" - tomcli set Cargo.toml str "${1}.path" "${2}" -} - -# See comments above Source100: -%setup -q -T -D -b 100 -n uv-%{version} -# Adding the crate to the workspace (in this case implicitly, by linking it -# under crates/) means %%cargo_generate_buildrequires can handle it correctly. -ln -s '../../rs-async-zip-%{async_zip_rev}' crates/async_zip -git2path workspace.dependencies.async_zip crates/async_zip -pushd crates/async_zip -%autopatch -p1 -m100 -M199 -popd -install -t LICENSE.bundled/async_zip -D -p -m 0644 crates/async_zip/LICENSE - -# See comments above Source200: -%setup -q -T -D -b 200 -n uv-%{version} -ln -s '../../pubgrub-%{pubgrub_rev}' crates/pubgrub -git2path workspace.dependencies.pubgrub crates/pubgrub -pushd crates/pubgrub -%autopatch -p1 -m200 -M299 -popd -install -t LICENSE.bundled/pubgrub -D -p -m 0644 crates/pubgrub/LICENSE -# Drop a benchmark-only dev-dependency. -tomcli set crates/pubgrub/Cargo.toml del dev-dependencies.criterion -# Omit tests requiring varisat; it is not packaged and has significant -# dependencies of its own. -tomcli set crates/pubgrub/Cargo.toml del dev-dependencies.varisat -mv crates/pubgrub/tests/proptest.rs{,.disabled} -mv crates/pubgrub/tests/sat_dependency_provider.rs{,.disabled} -# We can’t have two workspaces! -tomcli set crates/pubgrub/Cargo.toml del workspace -# Note that install does always dereference symlinks, which is what we want: -install -t LICENSE.bundled/version-ranges -D -p -m 0644 \ - crates/pubgrub/version-ranges/LICENSE -git2path workspace.dependencies.version-ranges crates/pubgrub/version-ranges - -# See comments above Source300: -%setup -q -T -D -b 300 -n uv-%{version} -pushd '../reqwest-middleware-%{reqwest_middleware_rev}' -%autopatch -p1 -m300 -M399 -# The (path-based) dev-dependency on reqwest-tracing is required only for an -# example in README.md; avoid it. -tomcli set reqwest-middleware/Cargo.toml del dev-dependencies.reqwest-tracing -sed -r -i 's/^```rust$/&,ignore/' README.md -popd -ln -s '../../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-middleware' \ - crates/reqwest-middleware -git2path workspace.dependencies.reqwest-middleware crates/reqwest-middleware -git2path patch.crates-io.reqwest-middleware crates/reqwest-middleware -install -t LICENSE.bundled/reqwest-middleware -D -p -m 0644 \ - crates/reqwest-middleware/LICENSE* -ln -s '../../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-retry' \ - crates/reqwest-retry -git2path workspace.dependencies.reqwest-retry crates/reqwest-retry -git2path patch.crates-io.reqwest-retry crates/reqwest-retry -install -t LICENSE.bundled/reqwest-retry -D -p -m 0644 \ - crates/reqwest-retry/LICENSE* -# We do not need the reqwest-tracing crate. -rm -rv '../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-tracing' +%autosetup -p1 # Collect license files of vendored dependencies in the main source archive install -t LICENSE.bundled/packaging -D -p -m 0644 \ @@ -495,12 +366,12 @@ find -L . -type f -name Cargo.toml -print \ # The uv-trampoline crate (a fork of posy trampolines, from # https://github.com/njsmith/posy) contains a set of trampoline Windows # executables for launching Python scripts. We must remove these to prove they -# are not used in the build (and since they are only used on Windows, nothing -# is lost by doing so). +# are not used in the build. Since they are used only on Windows, nothing is +# lost by doing so. rm -v crates/uv-trampoline/trampolines/*.exe -# Per Cargo.toml, uv-trampoline is excluded from the workspace and not -# compiled because it still requires a nightly compiler. For now, we remove it -# entirely to show that we do not need to document bundling from posy. +# Per Cargo.toml, uv-trampoline is excluded from the workspace and not compiled +# because it still requires a nightly compiler. For now, we remove it entirely +# to show that we do not need to document bundling from posy. rm -rv crates/uv-trampoline # Do not strip the compiled executable; we need useful debuginfo. Upstream set @@ -512,8 +383,7 @@ tomcli set Cargo.toml false profile.release.strip # benchmarks, and it brings in unwanted additional dev dependencies. tomcli set Cargo.toml append workspace.exclude crates/uv-bench # The uv-dev crate provides “development utilities for uv,” which should not be -# needed here, and it also brings in extra dependencies that we would prefer to -# do without. +# needed here. It also brings extra dependencies that we would prefer to avoid. tomcli set Cargo.toml append workspace.exclude crates/uv-dev # Do not request static linking of anything (particularly, liblzma) From 4539bbb8ef24ef46c9157a6d37e21c0f3bfb93bb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 8 Dec 2025 21:46:22 +0000 Subject: [PATCH 010/106] Update to 0.9.11 --- .gitignore | 1 + sources | 2 +- uv.spec | 16 +++------------- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 676dbb4..3d18354 100644 --- a/.gitignore +++ b/.gitignore @@ -171,3 +171,4 @@ /uv-0.9.8.tar.gz /uv-0.9.9.tar.gz /uv-0.9.10.tar.gz +/uv-0.9.11.tar.gz diff --git a/sources b/sources index 5d5d4ed..b24d46f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.10.tar.gz) = d5359ab37c2e7b91ded7875544b637cf1d46164349e36004a801e75aa501dfb5fa68458e7b94a1de947ef1cf3d0c18990695c8d2a2ca37d84f5ecc78ea854689 +SHA512 (uv-0.9.11.tar.gz) = a3399fa2f68c59c777743990e1b76db7da172486c32e45349ca9ccb27a2f29c6d691f23ecd6095f8805f58a2867925485fed4d0d3a367c592111f79cf62e7d03 diff --git a/uv.spec b/uv.spec index 6cdd8ad..b5fcb50 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.10 +Version: 0.9.11 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -98,6 +98,7 @@ Summary: An extremely fast Python package installer and resolver, written # MIT OR Apache-2.0 # MIT OR LGPL-3.0-or-later # MIT OR Zlib OR Apache-2.0 +# MIT-0 # MIT-0 OR Apache-2.0 # MPL-2.0 # Unicode-3.0 @@ -122,6 +123,7 @@ License: %{shrink: (LGPL-3.0-or-later OR MIT) AND (LGPL-3.0-or-later OR MPL-2.0) AND MIT AND + MIT-0 AND (MIT OR Unlicense) AND MPL-2.0 AND Unicode-3.0 AND @@ -477,18 +479,6 @@ tomcli set Cargo.toml str workspace.dependencies.spdx.version \ # Since maturin always checks for dev-dependencies, we need -t so that they are # generated even when the “check” bcond is disabled. %cargo_generate_buildrequires -a -t -# These crates are excluded from the workspace – upstream writes: -# Only used to pull in features, allocators, etc. — we specifically don't -# want them to be part of a workspace-wide cargo check, cargo clippy, etc. -# – but they are still needed to support features, and the build will fail if -# we do not generate their dependencies, too: -for cratedir in \ - crates/uv-performance-memory-allocator -do - pushd "${cratedir}" >/dev/null - %cargo_generate_buildrequires -a -t - popd >/dev/null -done %pyproject_buildrequires From cf4d9a80d2ad0e4844bb1a24cd561bce157c2380 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 9 Dec 2025 11:36:20 +0000 Subject: [PATCH 011/106] Update to 0.9.12 --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3d18354..b9e9820 100644 --- a/.gitignore +++ b/.gitignore @@ -172,3 +172,4 @@ /uv-0.9.9.tar.gz /uv-0.9.10.tar.gz /uv-0.9.11.tar.gz +/uv-0.9.12.tar.gz diff --git a/sources b/sources index b24d46f..63d16a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.11.tar.gz) = a3399fa2f68c59c777743990e1b76db7da172486c32e45349ca9ccb27a2f29c6d691f23ecd6095f8805f58a2867925485fed4d0d3a367c592111f79cf62e7d03 +SHA512 (uv-0.9.12.tar.gz) = fa7e8dd846c328c2ad5d7d7c2163432f031286cdc485a3754d8068acc84568a877dc3daf9052d674b69c5b6c54347c612a8ba13dcba100418318b46206464ff0 diff --git a/uv.spec b/uv.spec index b5fcb50..ef09987 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.11 +Version: 0.9.12 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From ef3deca5b4d390bf8823fc6b9a2ebb2753884b03 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 9 Dec 2025 12:16:30 +0000 Subject: [PATCH 012/106] Update to 0.9.13 --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b9e9820..b67ab7d 100644 --- a/.gitignore +++ b/.gitignore @@ -173,3 +173,4 @@ /uv-0.9.10.tar.gz /uv-0.9.11.tar.gz /uv-0.9.12.tar.gz +/uv-0.9.13.tar.gz diff --git a/sources b/sources index 63d16a1..068de08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.12.tar.gz) = fa7e8dd846c328c2ad5d7d7c2163432f031286cdc485a3754d8068acc84568a877dc3daf9052d674b69c5b6c54347c612a8ba13dcba100418318b46206464ff0 +SHA512 (uv-0.9.13.tar.gz) = eb35b243c18c2e7fb7783eecdb3c6d85c277d808117cc02ed4c600246237f56613988a414f66b7486691f770444eb2b2e5f3bee6c2e539e4c4dec305cb022266 diff --git a/uv.spec b/uv.spec index ef09987..e342f0b 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.12 +Version: 0.9.13 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From 6b53aa0eb16b5f71e2e9beeffe7fc683ae277896 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 9 Dec 2025 12:46:22 +0000 Subject: [PATCH 013/106] Update to 0.9.14 --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b67ab7d..257b7f8 100644 --- a/.gitignore +++ b/.gitignore @@ -174,3 +174,4 @@ /uv-0.9.11.tar.gz /uv-0.9.12.tar.gz /uv-0.9.13.tar.gz +/uv-0.9.14.tar.gz diff --git a/sources b/sources index 068de08..2d54276 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.13.tar.gz) = eb35b243c18c2e7fb7783eecdb3c6d85c277d808117cc02ed4c600246237f56613988a414f66b7486691f770444eb2b2e5f3bee6c2e539e4c4dec305cb022266 +SHA512 (uv-0.9.14.tar.gz) = d1cbdcc36fd65111ceb875c6ba4cc54bc7762556f2fb17f8bb130ed42d037782c5a5f0d55d33fdc47f8d17c7cea19e776c302b188b883f7a94df2c4227ab32a3 diff --git a/uv.spec b/uv.spec index e342f0b..09bad6c 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.13 +Version: 0.9.14 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From ca6fdd0163fc2c32bac44f5e965dec405f2d4deb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 9 Dec 2025 13:30:42 +0000 Subject: [PATCH 014/106] Update to 0.9.15 --- .gitignore | 1 + sources | 2 +- uv.spec | 30 ++++++++++++++++++++++-------- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 257b7f8..e072c85 100644 --- a/.gitignore +++ b/.gitignore @@ -175,3 +175,4 @@ /uv-0.9.12.tar.gz /uv-0.9.13.tar.gz /uv-0.9.14.tar.gz +/uv-0.9.15.tar.gz diff --git a/sources b/sources index 2d54276..fba62a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.14.tar.gz) = d1cbdcc36fd65111ceb875c6ba4cc54bc7762556f2fb17f8bb130ed42d037782c5a5f0d55d33fdc47f8d17c7cea19e776c302b188b883f7a94df2c4227ab32a3 +SHA512 (uv-0.9.15.tar.gz) = 2605e2e7d5f6fdbb5ec4839363f65c8e71559944ec003cb9c69040be08094eb5c041831151b669e2dbbcf1799e862f484a21a592090524f79686469eac0e3381 diff --git a/uv.spec b/uv.spec index 09bad6c..bb33e5d 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.14 +Version: 0.9.15 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -366,16 +366,28 @@ find -L . -type f -name Cargo.toml -print \ -execdir rust2rpm-helper strip-foreign -o '{}' '{}' ';' # The uv-trampoline crate (a fork of posy trampolines, from -# https://github.com/njsmith/posy) contains a set of trampoline Windows -# executables for launching Python scripts. We must remove these to prove they -# are not used in the build. Since they are used only on Windows, nothing is -# lost by doing so. -rm -v crates/uv-trampoline/trampolines/*.exe +# https://github.com/njsmith/posy) uses a set of trampoline Windows executables +# for launching Python scripts. These precompiled executables are funished by +# the uv-trampoline-builder crate. We must remove them to prove they are not +# used in the build. Since they are used only on Windows, nothing is lost by +# doing so. +rm -v crates/uv-trampoline-builder/trampolines/*.exe # Per Cargo.toml, uv-trampoline is excluded from the workspace and not compiled # because it still requires a nightly compiler. For now, we remove it entirely -# to show that we do not need to document bundling from posy. +# to show that we do not need to document bundling from posy. Note that we +# *cannot* cleanly remove uv-trampoline-builder, only the precompiled +# trampolines themselves. rm -rv crates/uv-trampoline +# Remove the dependency on embed-manifest, which applies only when (cross-?) +# compiling for Windows. +tomcli set Cargo.toml del workspace.dependencies.embed-manifest +# We may have to do something more sophisticated if this build script ever +# starts to do anything other than just embedding a manifest on Windows. +rm -v crates/uv/build.rs +tomcli set crates/uv/Cargo.toml del build-dependencies.embed-manifest +# The embed-manifest depenency is also used in uv-trampoline, which we removed. + # Do not strip the compiled executable; we need useful debuginfo. Upstream set # this intentionally, so this change makes sense to keep downstream-only. tomcli set pyproject.toml false tool.maturin.strip @@ -401,6 +413,8 @@ tomcli set crates/uv-extract/Cargo.toml del features.static # - git: Introduces a testing dependency on Git. This sounds innocuous – we # have git! – but in fact, it controls tests of git dependencies, which # implies accessing remote repositories, e.g. on GitHub. +# - git-lfs: as for git, but also require Git Large File Storage; again, this +# implies accessing remote repositories # - pypi: Introduces a testing dependency on PyPI. # - python-managed: Introduces a testing dependency on managed Python # installations. (These are pre-compiled Pythons downloaded from the @@ -416,7 +430,7 @@ tomcli set crates/uv-extract/Cargo.toml del features.static # Python installation with specific patch versions,” is already not among the # default features. tomcli set crates/uv/Cargo.toml lists delitem features.default-tests \ - '(crates-io|git|pypi|python-managed|r2)' + '(crates-io|git(-lfs)?|pypi|python-managed|r2)' %if %{without it} # Integration tests (it crate) nearly all require specific Python interpreter From a4c81c6290603c60ae0d4df4d4c68f98d87a6140 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 9 Dec 2025 22:35:07 +0000 Subject: [PATCH 015/106] Update to 0.9.16 --- .gitignore | 1 + 17059.patch | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- uv.spec | 6 +++++- 4 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 17059.patch diff --git a/.gitignore b/.gitignore index e072c85..6e1e986 100644 --- a/.gitignore +++ b/.gitignore @@ -176,3 +176,4 @@ /uv-0.9.13.tar.gz /uv-0.9.14.tar.gz /uv-0.9.15.tar.gz +/uv-0.9.16.tar.gz diff --git a/17059.patch b/17059.patch new file mode 100644 index 0000000..ee7b93e --- /dev/null +++ b/17059.patch @@ -0,0 +1,52 @@ +From 52140e27fc877482858923cdeffb33133bf681bc Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Tue, 9 Dec 2025 23:35:17 +0000 +Subject: [PATCH] Gate a few more tests on the pypi feature + +All of these fail in offline environments because they try to +communicate with PyPI. +--- + crates/uv/tests/it/pip_list.rs | 2 ++ + crates/uv/tests/it/pip_show.rs | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/crates/uv/tests/it/pip_list.rs b/crates/uv/tests/it/pip_list.rs +index fc487f8cd8caa..830aeaf5e3f38 100644 +--- a/crates/uv/tests/it/pip_list.rs ++++ b/crates/uv/tests/it/pip_list.rs +@@ -791,6 +791,7 @@ fn list_ignores_quiet_flag_format_freeze() { + } + + #[test] ++#[cfg(feature = "pypi")] + fn list_target() -> Result<()> { + let context = TestContext::new("3.12"); + +@@ -839,6 +840,7 @@ fn list_target() -> Result<()> { + } + + #[test] ++#[cfg(feature = "pypi")] + fn list_prefix() -> Result<()> { + let context = TestContext::new("3.12"); + +diff --git a/crates/uv/tests/it/pip_show.rs b/crates/uv/tests/it/pip_show.rs +index a44dd18f8d3d6..1ff30025d7235 100644 +--- a/crates/uv/tests/it/pip_show.rs ++++ b/crates/uv/tests/it/pip_show.rs +@@ -536,6 +536,7 @@ fn show_files() { + } + + #[test] ++#[cfg(feature = "pypi")] + fn show_target() -> Result<()> { + let context = TestContext::new("3.12"); + +@@ -587,6 +588,7 @@ fn show_target() -> Result<()> { + } + + #[test] ++#[cfg(feature = "pypi")] + fn show_prefix() -> Result<()> { + let context = TestContext::new("3.12"); + diff --git a/sources b/sources index fba62a5..2343d7c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.15.tar.gz) = 2605e2e7d5f6fdbb5ec4839363f65c8e71559944ec003cb9c69040be08094eb5c041831151b669e2dbbcf1799e862f484a21a592090524f79686469eac0e3381 +SHA512 (uv-0.9.16.tar.gz) = f7e563b92c802f561bb33e569d473ac85fb69a72b6e01ccea8284275e7c760bc2eaee9415782adb7d26c16ffad564ceb1152a2f6b853fa9b379cb704fdd1814a diff --git a/uv.spec b/uv.spec index bb33e5d..2cb020d 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.15 +Version: 0.9.16 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -143,6 +143,10 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# Gate a few more tests on the pypi feature +# https://github.com/astral-sh/uv/pull/17059 +Patch: %{url}/pull/17059.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From 40228d36965d5a6aa526e0591a1de8335bb92724 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 10 Dec 2025 07:11:50 +0000 Subject: [PATCH 016/106] Fix a small typo in a comment [skip changelog] --- uv.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uv.spec b/uv.spec index 2cb020d..ea8c562 100644 --- a/uv.spec +++ b/uv.spec @@ -33,12 +33,12 @@ Summary: An extremely fast Python package installer and resolver, written # - crates/uv-python/packaging/ is vendored and forked from # python3dist(packaging) # -# (Apache-2.0 OR MIT) AND BSD-3-CLause: +# (Apache-2.0 OR MIT) AND BSD-3-Clause: # - The function wheel_metadata_from_remote_zip in # crates/uv-client/src/remote_metadata.rs is vendored and forked from the # function lazy_read_wheel_metadata in src/index/lazy_metadata.rs in # crate(rattler_installs_packages) and is BSD-3-Clause AND (Apache-2.0 OR -# MIT): the original routine is BSD-3-CLause, and subsequent modifications +# MIT): the original routine is BSD-3-Clause, and subsequent modifications # are explicitly (Apache-2.0 OR MIT). # # MIT From 9bb1ed8a63176f1b3e7c507d45a7755f5b7baded Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 10 Dec 2025 07:11:32 +0000 Subject: [PATCH 017/106] Update to 0.9.17 --- .gitignore | 1 + 17071.patch | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- uv.spec | 30 ++++++++++++++------- 4 files changed, 97 insertions(+), 11 deletions(-) create mode 100644 17071.patch diff --git a/.gitignore b/.gitignore index 6e1e986..7a0daad 100644 --- a/.gitignore +++ b/.gitignore @@ -177,3 +177,4 @@ /uv-0.9.14.tar.gz /uv-0.9.15.tar.gz /uv-0.9.16.tar.gz +/uv-0.9.17.tar.gz diff --git a/17071.patch b/17071.patch new file mode 100644 index 0000000..0770327 --- /dev/null +++ b/17071.patch @@ -0,0 +1,75 @@ +From f32413246839b503519e7cfc128f2bd4e16fd318 Mon Sep 17 00:00:00 2001 +From: Zanie Blue +Date: Wed, 10 Dec 2025 07:50:10 -0600 +Subject: [PATCH] Drop some non-integration exclude-newer tests + +--- + crates/uv-resolver/src/exclude_newer.rs | 58 ------------------------- + 1 file changed, 58 deletions(-) + +diff --git a/crates/uv-resolver/src/exclude_newer.rs b/crates/uv-resolver/src/exclude_newer.rs +index ea28332e51278..d6688d19c9a55 100644 +--- a/crates/uv-resolver/src/exclude_newer.rs ++++ b/crates/uv-resolver/src/exclude_newer.rs +@@ -640,61 +640,3 @@ impl schemars::JsonSchema for ExcludeNewerValue { + }) + } + } +- +-#[cfg(test)] +-mod tests { +- use super::*; +- use std::str::FromStr; +- +- #[test] +- fn test_exclude_newer_timestamp_absolute() { +- // Test RFC 3339 timestamp +- let timestamp = ExcludeNewerValue::from_str("2023-01-01T00:00:00Z").unwrap(); +- assert!(timestamp.to_string().contains("2023-01-01")); +- +- // Test local date +- let timestamp = ExcludeNewerValue::from_str("2023-06-15").unwrap(); +- assert!(timestamp.to_string().contains("2023-06-16")); // Should be next day +- } +- +- #[test] +- fn test_exclude_newer_timestamp_relative() { +- // Test "1 hour" - simpler test case +- let timestamp = ExcludeNewerValue::from_str("1 hour").unwrap(); +- let now = jiff::Timestamp::now(); +- let diff = now.as_second() - timestamp.timestamp.as_second(); +- // Should be approximately 1 hour (3600 seconds) ago +- assert!( +- (3550..=3650).contains(&diff), +- "Expected ~3600 seconds, got {diff}" +- ); +- +- // Test that we get a timestamp in the past +- assert!(timestamp.timestamp < now, "Timestamp should be in the past"); +- +- // Test parsing succeeds for various formats +- assert!(ExcludeNewerValue::from_str("2 days").is_ok()); +- assert!(ExcludeNewerValue::from_str("1 week").is_ok()); +- assert!(ExcludeNewerValue::from_str("30 days").is_ok()); +- } +- +- #[test] +- fn test_exclude_newer_timestamp_invalid() { +- // Test invalid formats +- assert!(ExcludeNewerValue::from_str("invalid").is_err()); +- assert!(ExcludeNewerValue::from_str("not a date").is_err()); +- assert!(ExcludeNewerValue::from_str("").is_err()); +- } +- +- #[test] +- fn test_exclude_newer_package_entry() { +- let entry = ExcludeNewerPackageEntry::from_str("numpy=2023-01-01T00:00:00Z").unwrap(); +- assert_eq!(entry.package.as_ref(), "numpy"); +- assert!(entry.timestamp.to_string().contains("2023-01-01")); +- +- // Test with relative timestamp +- let entry = ExcludeNewerPackageEntry::from_str("requests=7 days").unwrap(); +- assert_eq!(entry.package.as_ref(), "requests"); +- // Just verify it parsed without error - the timestamp will be relative to now +- } +-} diff --git a/sources b/sources index 2343d7c..96bbeea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.16.tar.gz) = f7e563b92c802f561bb33e569d473ac85fb69a72b6e01ccea8284275e7c760bc2eaee9415782adb7d26c16ffad564ceb1152a2f6b853fa9b379cb704fdd1814a +SHA512 (uv-0.9.17.tar.gz) = 7d25dc611ca004145ca84472df822670f479610eb60699dbff52f428a605d75604e49b98fc37d6e6d4d60c5a0536cbe9d2f8c0f306b6a93ed44c64112d7bc69f diff --git a/uv.spec b/uv.spec index ea8c562..4da7254 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.16 +Version: 0.9.17 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -51,25 +51,25 @@ Summary: An extremely fast Python package installer and resolver, written # forked from crate(ripunzip) # # The following are present in the source but believed not to contribute to the -# licenses of the binary RPMs. Note that ecosystem/ contains only +# licenses of the binary RPMs. Note that test/ecosystem/ contains only # pyproject.toml files used for testing, not complete bundled projects. # # Apache-2.0: -# - ecosystem/airflow/ -# - ecosystem/home-assistant-core/ -# - ecosystem/transformers/ -# - ecosystem/warehouse/ +# - test/ecosystem/airflow/ +# - test/ecosystem/home-assistant-core/ +# - test/ecosystem/transformers/ +# - test/ecosystem/warehouse/ # Apache-2.0 OR MIT: -# - ecosystem/packse/ +# - test/ecosystem/packse/ # BSD-2-Clause-Patent: -# - ecosystem/github-wikidata-bot/ +# - test/ecosystem/github-wikidata-bot/ # BSD-3-Clause: -# - ecosystem/saleor/ +# - test/ecosystem/saleor/ # MIT: # - crates/uv-python/fetch-download-metadata.py is derived from # https://github.com/mitsuhiko/rye/tree/f9822267a7f00332d15be8551f89a212e7bc9017 # which was MIT. -# - ecosystem/black/ +# - test/ecosystem/black/ # # Rust crates compiled into the executable contribute additional license terms. # To obtain the following list of licenses, build the package and note the @@ -147,6 +147,16 @@ Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch # https://github.com/astral-sh/uv/pull/17059 Patch: %{url}/pull/17059.patch +# Drop some non-integration exclude-newer tests +# https://github.com/astral-sh/uv/pull/17071 +# +# Fixes: +# +# New test failure in 0.9.17: uv-resolver +# exclude_newer::tests::test_exclude_newer_timestamp_absolute +# https://github.com/astral-sh/uv/issues/17070 +Patch: %{url}/pull/17071.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From 8faca0a935f75a62b317c35e5f14b412cc7707e8 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 14 Dec 2025 11:20:37 +0000 Subject: [PATCH 018/106] Update spdx to 0.13 --- uv.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/uv.spec b/uv.spec index 4da7254..991a8e4 100644 --- a/uv.spec +++ b/uv.spec @@ -76,6 +76,7 @@ Summary: An extremely fast Python package installer and resolver, written # output of %%{cargo_license_summary}. # # (Apache-2.0 OR MIT) AND BSD-3-Clause +# (MIT OR Apache-2.0) AND Apache-2.0 AND CC0-1.0 # (MIT OR Apache-2.0) AND Unicode-3.0 # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD @@ -118,6 +119,7 @@ License: %{shrink: (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND + CC0-1.0 AND CDLA-Permissive-2.0 AND ISC AND (LGPL-3.0-or-later OR MIT) AND @@ -485,12 +487,10 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # spdx # wanted: 0.12.0 -# currently packaged: 0.10.9 (but we want to update to 0.12) -# https://bugzilla.redhat.com/show_bug.cgi?id=2387258 -# Update the spdx dependency to version 0.12 -# https://github.com/astral-sh/uv/pull/16552 -tomcli set Cargo.toml str workspace.dependencies.spdx.version \ - '>=0.10.9, <0.13.0' +# currently packaged: 0.13.2 +# Update spdx dependency to 0.13 +# https://github.com/astral-sh/uv/pull/17129 +tomcli set Cargo.toml str workspace.dependencies.spdx.version '0.13.0' %cargo_prep From 73bbb8a0ac841fd729f0e159aed3e8f866110cbe Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 16 Dec 2025 18:00:52 +0000 Subject: [PATCH 019/106] Update to 0.9.18 (close RHBZ#2422900) --- .gitignore | 1 + 17059.patch | 52 ------------------------------------- 17071.patch | 75 ----------------------------------------------------- sources | 2 +- uv.spec | 16 +----------- 5 files changed, 3 insertions(+), 143 deletions(-) delete mode 100644 17059.patch delete mode 100644 17071.patch diff --git a/.gitignore b/.gitignore index 7a0daad..6dd1dc7 100644 --- a/.gitignore +++ b/.gitignore @@ -178,3 +178,4 @@ /uv-0.9.15.tar.gz /uv-0.9.16.tar.gz /uv-0.9.17.tar.gz +/uv-0.9.18.tar.gz diff --git a/17059.patch b/17059.patch deleted file mode 100644 index ee7b93e..0000000 --- a/17059.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 52140e27fc877482858923cdeffb33133bf681bc Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Tue, 9 Dec 2025 23:35:17 +0000 -Subject: [PATCH] Gate a few more tests on the pypi feature - -All of these fail in offline environments because they try to -communicate with PyPI. ---- - crates/uv/tests/it/pip_list.rs | 2 ++ - crates/uv/tests/it/pip_show.rs | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/crates/uv/tests/it/pip_list.rs b/crates/uv/tests/it/pip_list.rs -index fc487f8cd8caa..830aeaf5e3f38 100644 ---- a/crates/uv/tests/it/pip_list.rs -+++ b/crates/uv/tests/it/pip_list.rs -@@ -791,6 +791,7 @@ fn list_ignores_quiet_flag_format_freeze() { - } - - #[test] -+#[cfg(feature = "pypi")] - fn list_target() -> Result<()> { - let context = TestContext::new("3.12"); - -@@ -839,6 +840,7 @@ fn list_target() -> Result<()> { - } - - #[test] -+#[cfg(feature = "pypi")] - fn list_prefix() -> Result<()> { - let context = TestContext::new("3.12"); - -diff --git a/crates/uv/tests/it/pip_show.rs b/crates/uv/tests/it/pip_show.rs -index a44dd18f8d3d6..1ff30025d7235 100644 ---- a/crates/uv/tests/it/pip_show.rs -+++ b/crates/uv/tests/it/pip_show.rs -@@ -536,6 +536,7 @@ fn show_files() { - } - - #[test] -+#[cfg(feature = "pypi")] - fn show_target() -> Result<()> { - let context = TestContext::new("3.12"); - -@@ -587,6 +588,7 @@ fn show_target() -> Result<()> { - } - - #[test] -+#[cfg(feature = "pypi")] - fn show_prefix() -> Result<()> { - let context = TestContext::new("3.12"); - diff --git a/17071.patch b/17071.patch deleted file mode 100644 index 0770327..0000000 --- a/17071.patch +++ /dev/null @@ -1,75 +0,0 @@ -From f32413246839b503519e7cfc128f2bd4e16fd318 Mon Sep 17 00:00:00 2001 -From: Zanie Blue -Date: Wed, 10 Dec 2025 07:50:10 -0600 -Subject: [PATCH] Drop some non-integration exclude-newer tests - ---- - crates/uv-resolver/src/exclude_newer.rs | 58 ------------------------- - 1 file changed, 58 deletions(-) - -diff --git a/crates/uv-resolver/src/exclude_newer.rs b/crates/uv-resolver/src/exclude_newer.rs -index ea28332e51278..d6688d19c9a55 100644 ---- a/crates/uv-resolver/src/exclude_newer.rs -+++ b/crates/uv-resolver/src/exclude_newer.rs -@@ -640,61 +640,3 @@ impl schemars::JsonSchema for ExcludeNewerValue { - }) - } - } -- --#[cfg(test)] --mod tests { -- use super::*; -- use std::str::FromStr; -- -- #[test] -- fn test_exclude_newer_timestamp_absolute() { -- // Test RFC 3339 timestamp -- let timestamp = ExcludeNewerValue::from_str("2023-01-01T00:00:00Z").unwrap(); -- assert!(timestamp.to_string().contains("2023-01-01")); -- -- // Test local date -- let timestamp = ExcludeNewerValue::from_str("2023-06-15").unwrap(); -- assert!(timestamp.to_string().contains("2023-06-16")); // Should be next day -- } -- -- #[test] -- fn test_exclude_newer_timestamp_relative() { -- // Test "1 hour" - simpler test case -- let timestamp = ExcludeNewerValue::from_str("1 hour").unwrap(); -- let now = jiff::Timestamp::now(); -- let diff = now.as_second() - timestamp.timestamp.as_second(); -- // Should be approximately 1 hour (3600 seconds) ago -- assert!( -- (3550..=3650).contains(&diff), -- "Expected ~3600 seconds, got {diff}" -- ); -- -- // Test that we get a timestamp in the past -- assert!(timestamp.timestamp < now, "Timestamp should be in the past"); -- -- // Test parsing succeeds for various formats -- assert!(ExcludeNewerValue::from_str("2 days").is_ok()); -- assert!(ExcludeNewerValue::from_str("1 week").is_ok()); -- assert!(ExcludeNewerValue::from_str("30 days").is_ok()); -- } -- -- #[test] -- fn test_exclude_newer_timestamp_invalid() { -- // Test invalid formats -- assert!(ExcludeNewerValue::from_str("invalid").is_err()); -- assert!(ExcludeNewerValue::from_str("not a date").is_err()); -- assert!(ExcludeNewerValue::from_str("").is_err()); -- } -- -- #[test] -- fn test_exclude_newer_package_entry() { -- let entry = ExcludeNewerPackageEntry::from_str("numpy=2023-01-01T00:00:00Z").unwrap(); -- assert_eq!(entry.package.as_ref(), "numpy"); -- assert!(entry.timestamp.to_string().contains("2023-01-01")); -- -- // Test with relative timestamp -- let entry = ExcludeNewerPackageEntry::from_str("requests=7 days").unwrap(); -- assert_eq!(entry.package.as_ref(), "requests"); -- // Just verify it parsed without error - the timestamp will be relative to now -- } --} diff --git a/sources b/sources index 96bbeea..5a8cc22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.17.tar.gz) = 7d25dc611ca004145ca84472df822670f479610eb60699dbff52f428a605d75604e49b98fc37d6e6d4d60c5a0536cbe9d2f8c0f306b6a93ed44c64112d7bc69f +SHA512 (uv-0.9.18.tar.gz) = e0d880d6cf946979fbc6333f086aa6a54893fca19bae6d62e82d831c7502c2150d829a861edeb4c29fe7320d7c7da902693039d597b945f58ae803eadc7f5a17 diff --git a/uv.spec b/uv.spec index 991a8e4..7b08e23 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.17 +Version: 0.9.18 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -145,20 +145,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# Gate a few more tests on the pypi feature -# https://github.com/astral-sh/uv/pull/17059 -Patch: %{url}/pull/17059.patch - -# Drop some non-integration exclude-newer tests -# https://github.com/astral-sh/uv/pull/17071 -# -# Fixes: -# -# New test failure in 0.9.17: uv-resolver -# exclude_newer::tests::test_exclude_newer_timestamp_absolute -# https://github.com/astral-sh/uv/issues/17070 -Patch: %{url}/pull/17071.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From e49729697303bae3a141d5360c14dce2064c2231 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 17 Dec 2025 12:15:27 +0000 Subject: [PATCH 020/106] No longer need to patch spdx dependency [skip changelog] --- uv.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/uv.spec b/uv.spec index 7b08e23..6adaa6e 100644 --- a/uv.spec +++ b/uv.spec @@ -471,13 +471,6 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # https://bugzilla.redhat.com/show_bug.cgi?id=1234567 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2 -# spdx -# wanted: 0.12.0 -# currently packaged: 0.13.2 -# Update spdx dependency to 0.13 -# https://github.com/astral-sh/uv/pull/17129 -tomcli set Cargo.toml str workspace.dependencies.spdx.version '0.13.0' - %cargo_prep From 2681cd039f9622e5e63074a8407d2e852aeb7f56 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 30 Dec 2025 11:14:06 +0000 Subject: [PATCH 021/106] Update to 0.9.20 (close RHBZ#2425941) --- .gitignore | 1 + sources | 2 +- uv.spec | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6dd1dc7..33cdffa 100644 --- a/.gitignore +++ b/.gitignore @@ -179,3 +179,4 @@ /uv-0.9.16.tar.gz /uv-0.9.17.tar.gz /uv-0.9.18.tar.gz +/uv-0.9.20.tar.gz diff --git a/sources b/sources index 5a8cc22..85e2168 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.18.tar.gz) = e0d880d6cf946979fbc6333f086aa6a54893fca19bae6d62e82d831c7502c2150d829a861edeb4c29fe7320d7c7da902693039d597b945f58ae803eadc7f5a17 +SHA512 (uv-0.9.20.tar.gz) = 4b9d1e6e6d89aa1901b26715e9c2bb720e8132134ac0516bf01a40576c6d6e7fb97205321d50e3fd0f35fb69309af437f23643261cc11d55c2c8cb1db22fdafb diff --git a/uv.spec b/uv.spec index 6adaa6e..360d1d8 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.18 +Version: 0.9.20 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -105,6 +105,7 @@ Summary: An extremely fast Python package installer and resolver, written # Unicode-3.0 # Unlicense OR MIT # Zlib +# bzip2-1.0.6 License: %{shrink: 0BSD AND (0BSD OR Apache-2.0 OR MIT) AND @@ -130,7 +131,8 @@ License: %{shrink: MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND - Zlib + Zlib AND + bzip2-1.0.6 } # LICENSE.dependencies contains a full license breakdown URL: https://github.com/astral-sh/uv From 6f933200e7013ebc1190cbad2cddd73aed406797 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 30 Dec 2025 23:37:34 +0000 Subject: [PATCH 022/106] Skip python_list::python_list_mirrors on less-common architectures --- uv.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uv.spec b/uv.spec index 360d1d8..8a7845e 100644 --- a/uv.spec +++ b/uv.spec @@ -560,6 +560,8 @@ skip="${skip-} --skip python_find::python_find_prerelease_with_patch_request" # On other architectures, the list of available downloads differs, e.g. pypy # and graalpy downloads may be missing. skip="${skip-} --skip python_list::python_list_downloads" +# Similarly, version numbers may not match exactly. +skip="${skip-} --skip python_list::python_list_mirrors" %endif %ifarch %{power64} # The error message lacks the expected hint: From 40cf6dab0920f6cca1901480789ce717d229e879 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 30 Dec 2025 23:32:09 +0000 Subject: [PATCH 023/106] Allow procfs 0.18 --- uv.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uv.spec b/uv.spec index 8a7845e..e71347e 100644 --- a/uv.spec +++ b/uv.spec @@ -473,6 +473,13 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # https://bugzilla.redhat.com/show_bug.cgi?id=1234567 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2 +# procfs +# wanted: 0.17 +# currently packaged: 0.17, but an update to 0.18 is planned +# https://bugzilla.redhat.com/show_bug.cgi?id=2392071 +# https://github.com/astral-sh/uv/pull/17275 +tomcli set Cargo.toml str workspace.dependencies.procfs.version '>=0.17, <0.19' + %cargo_prep From dd309f97cf1c55d05838670e85c94e155d4c0161 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 30 Dec 2025 23:33:37 +0000 Subject: [PATCH 024/106] Update to 0.9.21 (close RHBZ#2425941) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 33cdffa..0941bb2 100644 --- a/.gitignore +++ b/.gitignore @@ -180,3 +180,4 @@ /uv-0.9.17.tar.gz /uv-0.9.18.tar.gz /uv-0.9.20.tar.gz +/uv-0.9.21.tar.gz diff --git a/sources b/sources index 85e2168..ce9a77d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.20.tar.gz) = 4b9d1e6e6d89aa1901b26715e9c2bb720e8132134ac0516bf01a40576c6d6e7fb97205321d50e3fd0f35fb69309af437f23643261cc11d55c2c8cb1db22fdafb +SHA512 (uv-0.9.21.tar.gz) = 38c852dfca2bdfa839c37342ace2482d5182e2d4f7b4334ee32da200364912ccbedda04cf08cf89d974ad0f82c374444a19156c9df65ce11019d4a214bf26eb3 diff --git a/uv.spec b/uv.spec index e71347e..edee093 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.20 +Version: 0.9.21 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From 1e96093bb0116171d54af60c485d841aad8645c8 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 31 Dec 2025 01:38:33 +0000 Subject: [PATCH 025/106] Skip python_list::python_list_with_mirrors, not python_list_mirrors --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index edee093..ab4f585 100644 --- a/uv.spec +++ b/uv.spec @@ -568,7 +568,7 @@ skip="${skip-} --skip python_find::python_find_prerelease_with_patch_request" # and graalpy downloads may be missing. skip="${skip-} --skip python_list::python_list_downloads" # Similarly, version numbers may not match exactly. -skip="${skip-} --skip python_list::python_list_mirrors" +skip="${skip-} --skip python_list::python_list_with_mirrors" %endif %ifarch %{power64} # The error message lacks the expected hint: From ed61f5ae7d15883f39b4f7dea15260658bf78e5f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 31 Dec 2025 12:00:34 +0000 Subject: [PATCH 026/106] Update and improve some spec-file comments [skip changelog] --- uv.spec | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/uv.spec b/uv.spec index ab4f585..f93ba6e 100644 --- a/uv.spec +++ b/uv.spec @@ -154,19 +154,19 @@ ExcludeArch: %{ix86} # of memory in the final linking step. This cannot be fixed by adding # "-C link-args=-Wl,--no-keep-memory" to the RUSTFLAGS (as that seems to have # no significant effect on memory requirements), nor can it be fixed by -# reducing parallelism with e.g. the _smp_tasksize_proc global (although we do -# need this as well), since nothing else is happening at that point in the -# build. See: +# reducing parallelism (although we do need this as well), since nothing else +# is happening at that point in the build. See: # https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo %global rustflags_debuginfo 1 # As a separate limitation, memory exhaustion can occur on builders with very # many CPUs. Typical workspace crates peak out at 2-4 GB per rustc invocation. -# The uv crate needs much more memory to compile (see the RUSTFLAGS adjustment -# in %%build), but in practice it is also compiled alone after all the other -# crates have finished, so it does not need to influence (and does not benefit -# from) this setting. Even though some crates will require more than 3GB, the -# average should be below that on many-core systems. Increase as needed. +# The uv crate needs much more memory to compile and link, but in practice it +# is also compiled alone after all the other crates have finished, so it does +# not need to influence (and does not benefit from) this setting. This setting +# does not necessarily have to reflect the maximum memory required to compile a +# workspace crate; keeping it well above the average suffices in practice on +# many-core systems. Increase as needed. %global _smp_tasksize_proc 4096 # Compilation may fail on builders with very many cores (e.g. 192 cores) due to @@ -194,18 +194,25 @@ BuildRequires: /usr/bin/python3.14t # use a system copy.” # # crates/uv-pep440/ -# Version number from Cargo.toml: +# Version number from crates/uv-pep440/CHANGELOG.md; it was also in +# crates/uv-pep440/Cargo.toml until uv 0.9.11, when internal crates started +# being versioned and published on crates.io. Provides: bundled(crate(pep440_rs)) = 0.7.0 # crates/uv-pep508/ -# Cargo.toml has 0.6.0, but Changelog.md shows 0.7.0, and the source reflects -# the changes for 0.7.0: +# Version number from crates/uv-pep508/Changelog.md; it was also in +# crates/uv-pep508/Cargo.toml until uv 0.9.11, when internal crates started +# being versioned and published on crates.io, but the version in Cargo.toml was +# 0.6.0. The source reflects upstream changes in 0.7.0. Provides: bundled(crate(pep508_rs)) = 0.7.0 # crates/uv-virtualenv/ # As a whole, this crate is derived from https://github.com/konstin/gourgeist # 0.0.4, which was published as https://crates.io/crates/gourgeist. It looks -# looks like the project was subsumed into `uv`, and the link to `uv` at -# https://konstin.github.io/gourgeist/ seems to support this, so we consider -# this not to be a real case of bundling, and we do not add: +# like the project was subsumed into `uv`, and the link to `uv` at +# https://konstin.github.io/gourgeist/ (“See +# https://github.com/astral-sh/uv/tree/main/crates/uv-virtualenv for the up to +# date version”) supports this. We therefore consider this not to be a real +# case of bundling, since the source in uv is now the canonical one, and we do +# not add: # Provides: bundled(crate(gourgeist)) = 0.0.4 # crates/uv-extract/src/vendor/cloneable_seekable_reader.rs From a8974caa95eb1a54822c86533fab8d4e38454e24 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 31 Dec 2025 11:59:53 +0000 Subject: [PATCH 027/106] Update virtual Provides version for bundled virtualenv scripts --- uv.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uv.spec b/uv.spec index f93ba6e..0505020 100644 --- a/uv.spec +++ b/uv.spec @@ -266,9 +266,10 @@ Provides: bundled(crate(keyring)) = 4.0.0~rc2 # https://github.com/astral-sh/uv/issues/5588#issuecomment-2257474140 # # The scripts were last updated from virtualenv upstream in -# https://github.com/astral-sh/uv/pull/3376 on 2024-05-04; the latest -# virtualenv release at that time was 20.26.0. -Provides: bundled(python3dist(virtualenv)) = 20.26 +# https://github.com/astral-sh/uv/pull/15272 on 2025-09-05. The PR was opened +# on 2025-08-14 and last revised on 2025-08-30; the latest virtualenv release +# throughout that time interval was 20.34.0. +Provides: bundled(python3dist(virtualenv)) = 20.34 # The contents of crates/uv-python/python/packaging/ are a bundled copy of a # subset of https://pypi.org/project/packaging. From 8e73922e6195d7cd58e79f17f91220fc63f5c716 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 4 Jan 2026 20:57:50 +0000 Subject: [PATCH 028/106] Backport gating several tests on python-managed feature --- 17312.patch | 45 +++++++++++++++++++++++++++++++++++++++++++++ uv.spec | 11 ++++------- 2 files changed, 49 insertions(+), 7 deletions(-) create mode 100644 17312.patch diff --git a/17312.patch b/17312.patch new file mode 100644 index 0000000..cbc2e0a --- /dev/null +++ b/17312.patch @@ -0,0 +1,45 @@ +From b41207adf1a874062ad672cf517f83bbabfacf46 Mon Sep 17 00:00:00 2001 +From: Tommy Bui Nguyen +Date: Sat, 3 Jan 2026 15:13:06 -0600 +Subject: [PATCH] Gate python_install tests on python-managed feature + +--- + crates/uv/tests/it/python_find.rs | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/crates/uv/tests/it/python_find.rs b/crates/uv/tests/it/python_find.rs +index b792115d35096..33f75a6565d2f 100644 +--- a/crates/uv/tests/it/python_find.rs ++++ b/crates/uv/tests/it/python_find.rs +@@ -1259,6 +1259,7 @@ fn python_find_path() { + } + + #[test] ++#[cfg(feature = "python-managed")] + fn python_find_freethreaded_313() { + let context: TestContext = TestContext::new_with_versions(&[]) + .with_filtered_python_keys() +@@ -1298,6 +1299,7 @@ fn python_find_freethreaded_313() { + } + + #[test] ++#[cfg(feature = "python-managed")] + fn python_find_freethreaded_314() { + let context: TestContext = TestContext::new_with_versions(&[]) + .with_filtered_python_keys() +@@ -1375,6 +1377,7 @@ fn python_find_freethreaded_314() { + } + + #[test] ++#[cfg(feature = "python-managed")] + fn python_find_prerelease_version_specifiers() { + let context: TestContext = TestContext::new_with_versions(&[]) + .with_filtered_python_keys() +@@ -1474,6 +1477,7 @@ fn python_find_prerelease_version_specifiers() { + } + + #[test] ++#[cfg(feature = "python-managed")] + fn python_find_prerelease_with_patch_request() { + let context: TestContext = TestContext::new_with_versions(&[]) + .with_filtered_python_keys() diff --git a/uv.spec b/uv.spec index 0505020..0e36bd6 100644 --- a/uv.spec +++ b/uv.spec @@ -147,6 +147,10 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# Gate python_install tests on python-managed feature +# https://github.com/astral-sh/uv/pull/17312 +Patch: %{url}/pull/17312.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -562,13 +566,6 @@ skip="${skip-} --skip keyring::tests::fetch_url_with_password" skip="${skip-} --skip version::self_version" skip="${skip-} --skip version::self_version_json" skip="${skip-} --skip version::self_version_short" -%else -# Some python_find:: tests don’t find system interpreters, require network -# https://github.com/astral-sh/uv/issues/16431 -skip="${skip-} --skip python_find::python_find_freethreaded_313" -skip="${skip-} --skip python_find::python_find_freethreaded_314" -skip="${skip-} --skip python_find::python_find_prerelease_version_specifiers" -skip="${skip-} --skip python_find::python_find_prerelease_with_patch_request" %endif %ifnarch %{x86_64} %{arm64} From b47b5b2a5c677b4956632bfbca133a6b92f6096f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 4 Jan 2026 22:19:03 +0000 Subject: [PATCH 029/106] Remove some EPEL10-specific test skips that are no longer required --- uv.spec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/uv.spec b/uv.spec index 0e36bd6..ec9cb94 100644 --- a/uv.spec +++ b/uv.spec @@ -594,14 +594,6 @@ skip="${skip-} --skip registry_client::tests::test_redirect_to_server_with_crede # https://github.com/astral-sh/uv/pull/13699#issuecomment-2916115588. skip="${skip-} --skip remote_metadata::remote_metadata_with_and_without_cache" -%if %{defined el10} -# Trivial difference in snapshots: packages appear in a different order. -skip="${skip-} --skip lock::tests::missing_dependency_source_unambiguous" -skip="${skip-} --skip lock::tests::missing_dependency_version_dynamic" -skip="${skip-} --skip lock::tests::missing_dependency_source_version_unambiguous" -skip="${skip-} --skip lock::tests::missing_dependency_version_unambiguous" -%endif - # Upstream is trying to ensure platform-independent byte-for-byte deterministic # wheels. This isn’t quite working out. It would be nice to understand this, # but this kind of reproducibility can be brittle, and there are many possible From ab20f55ab6ac95f5d2eb755f3278971490853943 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 6 Jan 2026 13:22:22 +0000 Subject: [PATCH 030/106] Update to 0.9.22 (close RHBZ#2427393) --- .gitignore | 1 + 17312.patch | 45 --------------------------------------------- sources | 2 +- uv.spec | 13 +------------ 4 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 17312.patch diff --git a/.gitignore b/.gitignore index 0941bb2..3018870 100644 --- a/.gitignore +++ b/.gitignore @@ -181,3 +181,4 @@ /uv-0.9.18.tar.gz /uv-0.9.20.tar.gz /uv-0.9.21.tar.gz +/uv-0.9.22.tar.gz diff --git a/17312.patch b/17312.patch deleted file mode 100644 index cbc2e0a..0000000 --- a/17312.patch +++ /dev/null @@ -1,45 +0,0 @@ -From b41207adf1a874062ad672cf517f83bbabfacf46 Mon Sep 17 00:00:00 2001 -From: Tommy Bui Nguyen -Date: Sat, 3 Jan 2026 15:13:06 -0600 -Subject: [PATCH] Gate python_install tests on python-managed feature - ---- - crates/uv/tests/it/python_find.rs | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/crates/uv/tests/it/python_find.rs b/crates/uv/tests/it/python_find.rs -index b792115d35096..33f75a6565d2f 100644 ---- a/crates/uv/tests/it/python_find.rs -+++ b/crates/uv/tests/it/python_find.rs -@@ -1259,6 +1259,7 @@ fn python_find_path() { - } - - #[test] -+#[cfg(feature = "python-managed")] - fn python_find_freethreaded_313() { - let context: TestContext = TestContext::new_with_versions(&[]) - .with_filtered_python_keys() -@@ -1298,6 +1299,7 @@ fn python_find_freethreaded_313() { - } - - #[test] -+#[cfg(feature = "python-managed")] - fn python_find_freethreaded_314() { - let context: TestContext = TestContext::new_with_versions(&[]) - .with_filtered_python_keys() -@@ -1375,6 +1377,7 @@ fn python_find_freethreaded_314() { - } - - #[test] -+#[cfg(feature = "python-managed")] - fn python_find_prerelease_version_specifiers() { - let context: TestContext = TestContext::new_with_versions(&[]) - .with_filtered_python_keys() -@@ -1474,6 +1477,7 @@ fn python_find_prerelease_version_specifiers() { - } - - #[test] -+#[cfg(feature = "python-managed")] - fn python_find_prerelease_with_patch_request() { - let context: TestContext = TestContext::new_with_versions(&[]) - .with_filtered_python_keys() diff --git a/sources b/sources index ce9a77d..010bcb8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.21.tar.gz) = 38c852dfca2bdfa839c37342ace2482d5182e2d4f7b4334ee32da200364912ccbedda04cf08cf89d974ad0f82c374444a19156c9df65ce11019d4a214bf26eb3 +SHA512 (uv-0.9.22.tar.gz) = 2dbe4075a8110384435a333ebe47e64429dcbd7e54891671e380b7904fb6f450bc50fc7a456e31448b46a51822216f234db9602674a5ecf6995052a3cfb5fcad diff --git a/uv.spec b/uv.spec index ec9cb94..b106fb6 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.21 +Version: 0.9.22 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -147,10 +147,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# Gate python_install tests on python-managed feature -# https://github.com/astral-sh/uv/pull/17312 -Patch: %{url}/pull/17312.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -485,13 +481,6 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # https://bugzilla.redhat.com/show_bug.cgi?id=1234567 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2 -# procfs -# wanted: 0.17 -# currently packaged: 0.17, but an update to 0.18 is planned -# https://bugzilla.redhat.com/show_bug.cgi?id=2392071 -# https://github.com/astral-sh/uv/pull/17275 -tomcli set Cargo.toml str workspace.dependencies.procfs.version '>=0.17, <0.19' - %cargo_prep From 16598f02b31247325b0ee1acf7006d6ccbfcedbc Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 14 Jan 2026 13:01:32 +0000 Subject: [PATCH 031/106] Update to 0.9.26 (close RHBZ#2428381) - Update package description from upstream --- .gitignore | 1 + 17515.patch | 23 +++++++++++++++++++++++ 17520.patch | 22 ++++++++++++++++++++++ sources | 2 +- uv.rpmlintrc | 3 ++- uv.spec | 37 +++++++++++++++++++++---------------- 6 files changed, 70 insertions(+), 18 deletions(-) create mode 100644 17515.patch create mode 100644 17520.patch diff --git a/.gitignore b/.gitignore index 3018870..9d9ea33 100644 --- a/.gitignore +++ b/.gitignore @@ -182,3 +182,4 @@ /uv-0.9.20.tar.gz /uv-0.9.21.tar.gz /uv-0.9.22.tar.gz +/uv-0.9.26.tar.gz diff --git a/17515.patch b/17515.patch new file mode 100644 index 0000000..5cc2e8a --- /dev/null +++ b/17515.patch @@ -0,0 +1,23 @@ +From 37973d05d12df249842b3628a678371b6db8d622 Mon Sep 17 00:00:00 2001 +From: konstin +Date: Fri, 16 Jan 2026 13:43:03 +0100 +Subject: [PATCH] Add linux distro env vars to passthrough + +See #17509 +--- + crates/uv/tests/it/common/mod.rs | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/crates/uv/tests/it/common/mod.rs b/crates/uv/tests/it/common/mod.rs +index 3c195ebb40574..36bd45fa36ce1 100644 +--- a/crates/uv/tests/it/common/mod.rs ++++ b/crates/uv/tests/it/common/mod.rs +@@ -1736,6 +1736,8 @@ impl TestContext { + let mut command = Command::new(bin); + + let passthrough = [ ++ // For linux distributions ++ EnvVars::PATH, + // For debugging tests. + EnvVars::RUST_LOG, + EnvVars::RUST_BACKTRACE, diff --git a/17520.patch b/17520.patch new file mode 100644 index 0000000..7d8d2d8 --- /dev/null +++ b/17520.patch @@ -0,0 +1,22 @@ +From 1cba8a3c9241aa83beec3419c959f2c3013379e5 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Fri, 16 Jan 2026 14:14:57 +0000 +Subject: [PATCH] Gate build_backend::build_with_all_metadata on pypi feature + +This test, added in 0.9.26, tries to download anyio from PyPI. +--- + crates/uv/tests/it/build_backend.rs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/crates/uv/tests/it/build_backend.rs b/crates/uv/tests/it/build_backend.rs +index c0befe56d9b60..6f3965d2ca8fd 100644 +--- a/crates/uv/tests/it/build_backend.rs ++++ b/crates/uv/tests/it/build_backend.rs +@@ -1224,6 +1224,7 @@ fn invalid_pyproject_toml() -> Result<()> { + Ok(()) + } + ++#[cfg(feature = "pypi")] + #[test] + fn build_with_all_metadata() -> Result<()> { + let context = TestContext::new("3.12"); diff --git a/sources b/sources index 010bcb8..77eb26b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.22.tar.gz) = 2dbe4075a8110384435a333ebe47e64429dcbd7e54891671e380b7904fb6f450bc50fc7a456e31448b46a51822216f234db9602674a5ecf6995052a3cfb5fcad +SHA512 (uv-0.9.26.tar.gz) = b05776f9600ab117bcc4549bf618229c4d5f458bdef095e3174254184ea5ce5495e7f6a8d0266238bf434c27bb7eb6f54d2e755a7463434ce594637239459945 diff --git a/uv.rpmlintrc b/uv.rpmlintrc index a24db03..1c25d20 100644 --- a/uv.rpmlintrc +++ b/uv.rpmlintrc @@ -1,5 +1,6 @@ # Not real spelling errors -addFilter(r"spelling-error \('([Dd]eduplication|pipx|macOS|virtualenv)',") +addFilter(r"spelling-error \('([Ll]ockfile|[Ww]orkspace)s?',") +addFilter(r"spelling-error \('([Dd]eduplication|pipx|macOS|(py|virtual)env)',") # TODO: We would like to add man pages. addFilter(r" no-manual-page-for-binary uv$") # Since it is just equivalent to “uv tool run,” uvx is unlikely to get its own diff --git a/uv.spec b/uv.spec index b106fb6..00582d9 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.22 +Version: 0.9.26 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -147,6 +147,14 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# Add linux distro env vars to passthrough +# https://github.com/astral-sh/uv/pull/17515 +Patch: %{url}/pull/17515.patch + +# Gate build_backend::build_with_all_metadata on pypi feature +# https://github.com/astral-sh/uv/pull/17520 +Patch: %{url}/pull/17520.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -310,24 +318,21 @@ Provides: bundled(python3dist(packaging)) = 24.1~dev0^20240310gitcc938f9 Provides: bundled(python3dist(pipreqs)) = 0.5.0 %global common_description %{expand: -An extremely fast Python package installer and resolver, written in Rust. -Designed as a drop-in replacement for common pip and pip-tools workflows. +An extremely fast Python package and project manager, written in Rust. Highlights: - • ⚖️ Drop-in replacement for common pip, pip-tools, and virtualenv commands. - • ⚡️ 10-100x faster than pip and pip-tools (pip-compile and pip-sync). - • 💾 Disk-space efficient, with a global cache for dependency deduplication. - • 🐍 Installable via curl, pip, pipx, etc. uv is a static binary that can be - installed without Rust or Python. - • 🧪 Tested at-scale against the top 10,000 PyPI packages. - • 🖥️ Support for macOS, Linux, and Windows. - • 🧰 Advanced features such as dependency version overrides and alternative - resolution strategies. - • ⁉️ Best-in-class error messages with a conflict-tracking resolver. - • 🤝 Support for a wide range of advanced pip features, including editable - installs, Git dependencies, direct URL dependencies, local dependencies, - constraints, source distributions, HTML and JSON indexes, and more.} + • A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, + virtualenv, and more. + • 10-100x faster than pip. + • Provides comprehensive project management, with a universal lockfile. + • Runs scripts, with support for inline dependency metadata. + • Installs and manages Python versions. + • Runs and installs tools published as Python packages. + • Includes a pip-compatible interface for a performance boost with a familiar + CLI. + • Supports Cargo-style workspaces for scalable projects. + • Disk-space efficient, with a global cache for dependency deduplication.} %description %{common_description} From 874714f588c2660688b90aab1825c1289f8e56e7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:44:24 +0000 Subject: [PATCH 032/106] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 7f30d0452e538d3ddfbed7e515888943152be721 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 27 Jan 2026 10:45:22 +0000 Subject: [PATCH 033/106] Update to 0.9.27 --- .gitignore | 1 + 17515.patch | 23 ----------------------- 17520.patch | 22 ---------------------- sources | 2 +- uv.spec | 10 +--------- 5 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 17515.patch delete mode 100644 17520.patch diff --git a/.gitignore b/.gitignore index 9d9ea33..dd99ec2 100644 --- a/.gitignore +++ b/.gitignore @@ -183,3 +183,4 @@ /uv-0.9.21.tar.gz /uv-0.9.22.tar.gz /uv-0.9.26.tar.gz +/uv-0.9.27.tar.gz diff --git a/17515.patch b/17515.patch deleted file mode 100644 index 5cc2e8a..0000000 --- a/17515.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 37973d05d12df249842b3628a678371b6db8d622 Mon Sep 17 00:00:00 2001 -From: konstin -Date: Fri, 16 Jan 2026 13:43:03 +0100 -Subject: [PATCH] Add linux distro env vars to passthrough - -See #17509 ---- - crates/uv/tests/it/common/mod.rs | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/crates/uv/tests/it/common/mod.rs b/crates/uv/tests/it/common/mod.rs -index 3c195ebb40574..36bd45fa36ce1 100644 ---- a/crates/uv/tests/it/common/mod.rs -+++ b/crates/uv/tests/it/common/mod.rs -@@ -1736,6 +1736,8 @@ impl TestContext { - let mut command = Command::new(bin); - - let passthrough = [ -+ // For linux distributions -+ EnvVars::PATH, - // For debugging tests. - EnvVars::RUST_LOG, - EnvVars::RUST_BACKTRACE, diff --git a/17520.patch b/17520.patch deleted file mode 100644 index 7d8d2d8..0000000 --- a/17520.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 1cba8a3c9241aa83beec3419c959f2c3013379e5 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Fri, 16 Jan 2026 14:14:57 +0000 -Subject: [PATCH] Gate build_backend::build_with_all_metadata on pypi feature - -This test, added in 0.9.26, tries to download anyio from PyPI. ---- - crates/uv/tests/it/build_backend.rs | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/crates/uv/tests/it/build_backend.rs b/crates/uv/tests/it/build_backend.rs -index c0befe56d9b60..6f3965d2ca8fd 100644 ---- a/crates/uv/tests/it/build_backend.rs -+++ b/crates/uv/tests/it/build_backend.rs -@@ -1224,6 +1224,7 @@ fn invalid_pyproject_toml() -> Result<()> { - Ok(()) - } - -+#[cfg(feature = "pypi")] - #[test] - fn build_with_all_metadata() -> Result<()> { - let context = TestContext::new("3.12"); diff --git a/sources b/sources index 77eb26b..18660c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.26.tar.gz) = b05776f9600ab117bcc4549bf618229c4d5f458bdef095e3174254184ea5ce5495e7f6a8d0266238bf434c27bb7eb6f54d2e755a7463434ce594637239459945 +SHA512 (uv-0.9.27.tar.gz) = 3c71f9e7d64a32466697124b9b6e96ee3f260deb3abe016cf765e325976d5f1cafb2bc5a1e1aaf876efe5f2b5bc2d347560c2dc6c917f749da63d936621e96fd diff --git a/uv.spec b/uv.spec index 00582d9..1107f3e 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.26 +Version: 0.9.27 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust @@ -147,14 +147,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# Add linux distro env vars to passthrough -# https://github.com/astral-sh/uv/pull/17515 -Patch: %{url}/pull/17515.patch - -# Gate build_backend::build_with_all_metadata on pypi feature -# https://github.com/astral-sh/uv/pull/17520 -Patch: %{url}/pull/17520.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From 42c5ebd2ccc458f42f7855261ed6965ef5b10b5e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 29 Jan 2026 22:31:51 +0000 Subject: [PATCH 034/106] Update to 0.9.28 (close RHBZ#2433149) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dd99ec2..bfad341 100644 --- a/.gitignore +++ b/.gitignore @@ -184,3 +184,4 @@ /uv-0.9.22.tar.gz /uv-0.9.26.tar.gz /uv-0.9.27.tar.gz +/uv-0.9.28.tar.gz diff --git a/sources b/sources index 18660c8..9ebe815 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.27.tar.gz) = 3c71f9e7d64a32466697124b9b6e96ee3f260deb3abe016cf765e325976d5f1cafb2bc5a1e1aaf876efe5f2b5bc2d347560c2dc6c917f749da63d936621e96fd +SHA512 (uv-0.9.28.tar.gz) = 5ecd47127f630596d81db5c33e5f279fba5b1249ef3dd92269cbdf4f7ade4fe750c0fa1093b557d456504abdb832b7682c81a2945efcd6f1b9d10d933a21bb61 diff --git a/uv.spec b/uv.spec index 1107f3e..35eee8a 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.27 +Version: 0.9.28 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From 8241487e01f3d296a9560b9c4cefbe64af626940 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 4 Feb 2026 06:55:55 +0000 Subject: [PATCH 035/106] Update to 0.9.29 (close RHBZ#2436550) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bfad341..d3fa091 100644 --- a/.gitignore +++ b/.gitignore @@ -185,3 +185,4 @@ /uv-0.9.26.tar.gz /uv-0.9.27.tar.gz /uv-0.9.28.tar.gz +/uv-0.9.29.tar.gz diff --git a/sources b/sources index 9ebe815..a9d3a99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.28.tar.gz) = 5ecd47127f630596d81db5c33e5f279fba5b1249ef3dd92269cbdf4f7ade4fe750c0fa1093b557d456504abdb832b7682c81a2945efcd6f1b9d10d933a21bb61 +SHA512 (uv-0.9.29.tar.gz) = 02db296e156b19bd68663247d0537757550cfd11a8dc1cad650f28436607ee24ae502007c69969d624290d01700998ac4fb0a5935c009a22ef0db40eedf4a502 diff --git a/uv.spec b/uv.spec index 35eee8a..140054e 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.28 +Version: 0.9.29 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From 217a541f186b96915f83a0a075d59564a0e44256 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 5 Feb 2026 06:57:03 +0000 Subject: [PATCH 036/106] Update to 0.9.30 (close RHBZ#2437002) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d3fa091..0ea7320 100644 --- a/.gitignore +++ b/.gitignore @@ -186,3 +186,4 @@ /uv-0.9.27.tar.gz /uv-0.9.28.tar.gz /uv-0.9.29.tar.gz +/uv-0.9.30.tar.gz diff --git a/sources b/sources index a9d3a99..68e4eec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.29.tar.gz) = 02db296e156b19bd68663247d0537757550cfd11a8dc1cad650f28436607ee24ae502007c69969d624290d01700998ac4fb0a5935c009a22ef0db40eedf4a502 +SHA512 (uv-0.9.30.tar.gz) = 15484325d652e07a23b29284f25d496920819609d2375c5e91b8ae9fba7dc084d5ade22fb5610237a2a92b69a088fee6028f8f2dbb2ba113393fca1687b99062 diff --git a/uv.spec b/uv.spec index 140054e..45f264b 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.29 +Version: 0.9.30 Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From ac64e54298af32c26fb968b6f6b198cab169b1cd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 8 Feb 2026 04:33:36 +0000 Subject: [PATCH 037/106] Rebuilt with jsonwebtoken patched for CVE-2026-25537 - Fixes RHBZ#2437472; fixes RHBZ#2437467; fixes RHBZ#2437461 From 1049cd85190a74f5b22fa293b8dbc698556a1890 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Feb 2026 13:44:22 +0000 Subject: [PATCH 038/106] Add a note about Updates Policy exceptions to the spec file [skip changelog] --- uv.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uv.spec b/uv.spec index 45f264b..b0af1ef 100644 --- a/uv.spec +++ b/uv.spec @@ -12,6 +12,13 @@ Name: uv Version: 0.9.30 +# 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 +# https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#_other_packages, +# https://pagure.io/fesco/issue/3262. It also has a corresponding exception in +# EPEL, but only in leading branches and only until version 1.0; see +# https://pagure.io/epel/issue/317. Release: %autorelease Summary: An extremely fast Python package installer and resolver, written in Rust From 9db643ba7613f63e32978ed619dbbfe5deb434d0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Feb 2026 11:27:33 +0000 Subject: [PATCH 039/106] Update to 0.10.0 (close RHBZ#2437188) --- .gitignore | 1 + sources | 2 +- uv.spec | 26 +++++++++++++------------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 0ea7320..9cd42d7 100644 --- a/.gitignore +++ b/.gitignore @@ -187,3 +187,4 @@ /uv-0.9.28.tar.gz /uv-0.9.29.tar.gz /uv-0.9.30.tar.gz +/uv-0.10.0.tar.gz diff --git a/sources b/sources index 68e4eec..87bfdfe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.9.30.tar.gz) = 15484325d652e07a23b29284f25d496920819609d2375c5e91b8ae9fba7dc084d5ade22fb5610237a2a92b69a088fee6028f8f2dbb2ba113393fca1687b99062 +SHA512 (uv-0.10.0.tar.gz) = 84bf1ecfa730cbb4fe4c602dba3ef3d58bf070472cde5f160291fabfdd7630fd8dcbb45b10e7abcb00db6898d5cefa8ac616c68dfa56bb15640ce6211caff51d diff --git a/uv.spec b/uv.spec index b0af1ef..a51be56 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.9.30 +Version: 0.10.0 # 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 @@ -425,28 +425,28 @@ tomcli set crates/uv-extract/Cargo.toml del features.static # Disable several default features that control which tests are compiled and # executed, and which are not usable in offline builds: # -# - crates-io: Introduces a testing dependency on crates.io. -# - git: Introduces a testing dependency on Git. This sounds innocuous – we -# have git! – but in fact, it controls tests of git dependencies, which +# - test-crates-io: Introduces a testing dependency on crates.io. +# - test-git: Introduces a testing dependency on Git. This sounds innocuous – +# we have git! – but in fact, it controls tests of git dependencies, which # implies accessing remote repositories, e.g. on GitHub. -# - git-lfs: as for git, but also require Git Large File Storage; again, this -# implies accessing remote repositories -# - pypi: Introduces a testing dependency on PyPI. -# - python-managed: Introduces a testing dependency on managed Python +# - test-git-lfs: as for git, but also require Git Large File Storage; again, +# this implies accessing remote repositories +# - test-pypi: Introduces a testing dependency on PyPI. +# - test-python-managed: Introduces a testing dependency on managed Python # installations. (These are pre-compiled Pythons downloaded from the # Internet.) -# - r2: Introduces a testing dependency on R2. +# - test-r2: Introduces a testing dependency on R2. # # These are OK: -# - python: Introduces a testing dependency on a local Python installation. -# - slow-tests: Include "slow" test cases. +# - test-python: Introduces a testing dependency on a local Python installation. +# - test-slow: Include "slow" test cases. # - test-ecosystem: Includes test cases that require ecosystem packages # # Note that the python-patch feature, which ”introduces a dependency on a local # Python installation with specific patch versions,” is already not among the # default features. -tomcli set crates/uv/Cargo.toml lists delitem features.default-tests \ - '(crates-io|git(-lfs)?|pypi|python-managed|r2)' +tomcli set crates/uv/Cargo.toml lists delitem features.test-defaults \ + 'test-(crates-io|git(-lfs)?|pypi|python-managed|r2)' %if %{without it} # Integration tests (it crate) nearly all require specific Python interpreter From 81dfdec1ce5ec842f1e2899eff869e18182e25bb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 10 Feb 2026 13:14:24 +0000 Subject: [PATCH 040/106] Update to 0.10.1 (close RHBZ#2437188) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9cd42d7..adff275 100644 --- a/.gitignore +++ b/.gitignore @@ -188,3 +188,4 @@ /uv-0.9.29.tar.gz /uv-0.9.30.tar.gz /uv-0.10.0.tar.gz +/uv-0.10.1.tar.gz diff --git a/sources b/sources index 87bfdfe..92b0378 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.0.tar.gz) = 84bf1ecfa730cbb4fe4c602dba3ef3d58bf070472cde5f160291fabfdd7630fd8dcbb45b10e7abcb00db6898d5cefa8ac616c68dfa56bb15640ce6211caff51d +SHA512 (uv-0.10.1.tar.gz) = 8528cd60cc288b1059b76a323e9ce924c426746a4202623232b8417fe4adda65f209cbaa9a6919e705f1426243071c6d377922abdb72647ea427370a1024a5d4 diff --git a/uv.spec b/uv.spec index a51be56..e9b4d52 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.0 +Version: 0.10.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 From df33469348778e87cb1a4306fc28bf5587edbed3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 10 Feb 2026 19:43:28 +0000 Subject: [PATCH 041/106] Update to 0.10.2 --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index adff275..5b320aa 100644 --- a/.gitignore +++ b/.gitignore @@ -189,3 +189,4 @@ /uv-0.9.30.tar.gz /uv-0.10.0.tar.gz /uv-0.10.1.tar.gz +/uv-0.10.2.tar.gz diff --git a/sources b/sources index 92b0378..ea7d8a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.1.tar.gz) = 8528cd60cc288b1059b76a323e9ce924c426746a4202623232b8417fe4adda65f209cbaa9a6919e705f1426243071c6d377922abdb72647ea427370a1024a5d4 +SHA512 (uv-0.10.2.tar.gz) = 7592217ce76cd0a418a4979df045890e215c5bcff53d18e34924e0d57ec388fc8ce56b3fdc7ee473f131de5d04a4349b1dbb9d5a585493a0cd9a22dfd51e9cfc diff --git a/uv.spec b/uv.spec index e9b4d52..cb3154c 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.1 +Version: 0.10.2 # 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 From 79c3e0b92a5f066ae959e22072f09e0864b15a5d Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 16 Feb 2026 14:44:57 +0000 Subject: [PATCH 042/106] Update to 0.10.3 (close RHBZ#2440201) --- .gitignore | 1 + sources | 2 +- uv.spec | 11 ++++++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5b320aa..774ddda 100644 --- a/.gitignore +++ b/.gitignore @@ -190,3 +190,4 @@ /uv-0.10.0.tar.gz /uv-0.10.1.tar.gz /uv-0.10.2.tar.gz +/uv-0.10.3.tar.gz diff --git a/sources b/sources index ea7d8a1..f82f1fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.2.tar.gz) = 7592217ce76cd0a418a4979df045890e215c5bcff53d18e34924e0d57ec388fc8ce56b3fdc7ee473f131de5d04a4349b1dbb9d5a585493a0cd9a22dfd51e9cfc +SHA512 (uv-0.10.3.tar.gz) = a8f41a5fc74b30f8e0dd7bd24786148a35230f14237872211e56539f3892b02b59a0e06ad6400fa000b13c659b6286065294337c73749f6c51aca17f22ed5d69 diff --git a/uv.spec b/uv.spec index cb3154c..c0eefa0 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.2 +Version: 0.10.3 # 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 @@ -417,6 +417,8 @@ tomcli set Cargo.toml append workspace.exclude crates/uv-bench tomcli set Cargo.toml append workspace.exclude crates/uv-dev # Do not request static linking of anything (particularly, liblzma) +tomcli set Cargo.toml lists delitem \ + workspace.dependencies.xz2.features 'static' tomcli set crates/uv/Cargo.toml lists delitem \ features.default 'uv-distribution/static' tomcli set crates/uv-distribution/Cargo.toml del features.static @@ -485,6 +487,13 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # https://bugzilla.redhat.com/show_bug.cgi?id=1234567 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2 +# zip +# wanted: >=2.2.3, <7.2 +# currently packaged: 7.2 +# pinned upstream due to different output on Windows; OK on Linux +# https://github.com/zip-rs/zip2/issues/656 +tomcli set Cargo.toml str workspace.dependencies.zip.version '>=2.2.3' + %cargo_prep From acb13ef9a9c5dd0763a47f19a946ef1f79354fc6 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 18 Feb 2026 08:21:21 +0000 Subject: [PATCH 043/106] Update to 0.10.4 (close RHBZ#2440513) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 774ddda..1f40e40 100644 --- a/.gitignore +++ b/.gitignore @@ -191,3 +191,4 @@ /uv-0.10.1.tar.gz /uv-0.10.2.tar.gz /uv-0.10.3.tar.gz +/uv-0.10.4.tar.gz diff --git a/sources b/sources index f82f1fc..a59c73c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.3.tar.gz) = a8f41a5fc74b30f8e0dd7bd24786148a35230f14237872211e56539f3892b02b59a0e06ad6400fa000b13c659b6286065294337c73749f6c51aca17f22ed5d69 +SHA512 (uv-0.10.4.tar.gz) = 0ca01e6d42ac1e773b0366b9ffa44806ec4c19a920f9c33c9d6cc12dbc60d7564b8667bce85628db1e571b7c478bec3946c48875a42f45f77da6be78f2de5f37 diff --git a/uv.spec b/uv.spec index c0eefa0..5a16465 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.3 +Version: 0.10.4 # 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 From b28ba9320690196fba9c70008d85d49ff2653dea Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 24 Feb 2026 08:02:27 +0000 Subject: [PATCH 044/106] Update to 0.10.5 --- .gitignore | 1 + sources | 2 +- uv.spec | 9 +-------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 1f40e40..5725fc3 100644 --- a/.gitignore +++ b/.gitignore @@ -192,3 +192,4 @@ /uv-0.10.2.tar.gz /uv-0.10.3.tar.gz /uv-0.10.4.tar.gz +/uv-0.10.5.tar.gz diff --git a/sources b/sources index a59c73c..09c52e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.4.tar.gz) = 0ca01e6d42ac1e773b0366b9ffa44806ec4c19a920f9c33c9d6cc12dbc60d7564b8667bce85628db1e571b7c478bec3946c48875a42f45f77da6be78f2de5f37 +SHA512 (uv-0.10.5.tar.gz) = 7a01860e173f386f7feef10a33f9c49958e872a52df85627aadf7c09a54d4f8b01e429e91a83d96bcf7ac14ff9de01c2406fe7cb45b0128836328cd4a79895f9 diff --git a/uv.spec b/uv.spec index 5a16465..8e6bf69 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.4 +Version: 0.10.5 # 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 @@ -487,13 +487,6 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # https://bugzilla.redhat.com/show_bug.cgi?id=1234567 # tomcli set Cargo.toml str workspace.dependencies.foocrate.version 0.1.2 -# zip -# wanted: >=2.2.3, <7.2 -# currently packaged: 7.2 -# pinned upstream due to different output on Windows; OK on Linux -# https://github.com/zip-rs/zip2/issues/656 -tomcli set Cargo.toml str workspace.dependencies.zip.version '>=2.2.3' - %cargo_prep From 5110a9471ede38af07a3100508852a90a940db75 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 25 Feb 2026 07:19:42 +0000 Subject: [PATCH 045/106] Update to 0.10.6 (close RHBZ#2442225) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5725fc3..3c4c463 100644 --- a/.gitignore +++ b/.gitignore @@ -193,3 +193,4 @@ /uv-0.10.3.tar.gz /uv-0.10.4.tar.gz /uv-0.10.5.tar.gz +/uv-0.10.6.tar.gz diff --git a/sources b/sources index 09c52e8..4852594 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.5.tar.gz) = 7a01860e173f386f7feef10a33f9c49958e872a52df85627aadf7c09a54d4f8b01e429e91a83d96bcf7ac14ff9de01c2406fe7cb45b0128836328cd4a79895f9 +SHA512 (uv-0.10.6.tar.gz) = 5237b6961677d981af3320bb53958712c43f95de17af1d172015ba2ea80e02189b5ff9ea35d594211a4341bcaf8f55858a68ca5625c5d3dc7d17e5acaf39837d diff --git a/uv.spec b/uv.spec index 8e6bf69..6204246 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.5 +Version: 0.10.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 From d318fa11f8d8d97136664877d23514931c9a06b4 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 27 Feb 2026 13:44:05 +0000 Subject: [PATCH 046/106] Update to 0.10.7 (close RHBZ#2443313) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3c4c463..17b8f6c 100644 --- a/.gitignore +++ b/.gitignore @@ -194,3 +194,4 @@ /uv-0.10.4.tar.gz /uv-0.10.5.tar.gz /uv-0.10.6.tar.gz +/uv-0.10.7.tar.gz diff --git a/sources b/sources index 4852594..e095522 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.6.tar.gz) = 5237b6961677d981af3320bb53958712c43f95de17af1d172015ba2ea80e02189b5ff9ea35d594211a4341bcaf8f55858a68ca5625c5d3dc7d17e5acaf39837d +SHA512 (uv-0.10.7.tar.gz) = 9a3c6fa356c655afad15c5b454efac9c7db4a4b4870903232a7a75bfdd778a18b7d5a59aa88a561445e5898d0b2c76e33c87081b113283c8bbd43f15645d404f diff --git a/uv.spec b/uv.spec index 6204246..8436c36 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.6 +Version: 0.10.7 # 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 From 30d15f1c735986be68711f28d5ad829489e45dcf Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 4 Mar 2026 07:02:19 +0000 Subject: [PATCH 047/106] Update to 0.10.8 (close RHBZ#2444235) --- .gitignore | 1 + sources | 2 +- uv.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 17b8f6c..3bdd950 100644 --- a/.gitignore +++ b/.gitignore @@ -195,3 +195,4 @@ /uv-0.10.5.tar.gz /uv-0.10.6.tar.gz /uv-0.10.7.tar.gz +/uv-0.10.8.tar.gz diff --git a/sources b/sources index e095522..804321a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.7.tar.gz) = 9a3c6fa356c655afad15c5b454efac9c7db4a4b4870903232a7a75bfdd778a18b7d5a59aa88a561445e5898d0b2c76e33c87081b113283c8bbd43f15645d404f +SHA512 (uv-0.10.8.tar.gz) = d5eef1a7a46e25bbe534769c3b2894d573f50221b1dfb4ec78abaa73ec78fbe75f2cb785f2101155c5b7a7984138ff20efc3a51548a0209ffbf7aff8367e4960 diff --git a/uv.spec b/uv.spec index 8436c36..8c267e7 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.7 +Version: 0.10.8 # 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 @@ -449,6 +449,9 @@ tomcli set crates/uv-extract/Cargo.toml del features.static # default features. tomcli set crates/uv/Cargo.toml lists delitem features.test-defaults \ 'test-(crates-io|git(-lfs)?|pypi|python-managed|r2)' +# - -test-osv: Introduces a testing dependency on osv.dev. +tomcli set crates/uv-audit/Cargo.toml lists delitem features.default \ + 'test-(osv)' %if %{without it} # Integration tests (it crate) nearly all require specific Python interpreter From 5b914dbeb0ba0fc170987b2e5aac9bbda76eb84b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 8 Mar 2026 09:09:05 +0000 Subject: [PATCH 048/106] Update to 0.10.9 (close RHBZ#2445402) --- .gitignore | 1 + 18369.patch | 33 +++++++++++++++++++++++++++++++++ sources | 2 +- uv.spec | 6 +++++- 4 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 18369.patch diff --git a/.gitignore b/.gitignore index 3bdd950..8d583dd 100644 --- a/.gitignore +++ b/.gitignore @@ -196,3 +196,4 @@ /uv-0.10.6.tar.gz /uv-0.10.7.tar.gz /uv-0.10.8.tar.gz +/uv-0.10.9.tar.gz diff --git a/18369.patch b/18369.patch new file mode 100644 index 0000000..d4c2e3f --- /dev/null +++ b/18369.patch @@ -0,0 +1,33 @@ +From eb875e65ebeba1236571f92234bcc8508cb2f92f Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Sun, 8 Mar 2026 13:06:37 +0000 +Subject: [PATCH] Conditionalize two new tests on the test-pypi feature + +Both `build_backend::tool_uv_build_backend_without_build_backend` and +`build_backend::tool_uv_build_backend_wrong_build_backend` fail in +offline environments because they try to download a build backend from +PyPI. +--- + crates/uv/tests/it/build_backend.rs | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/crates/uv/tests/it/build_backend.rs b/crates/uv/tests/it/build_backend.rs +index a01705a6765c4..454f2b1ad8594 100644 +--- a/crates/uv/tests/it/build_backend.rs ++++ b/crates/uv/tests/it/build_backend.rs +@@ -1449,6 +1449,7 @@ fn build_with_all_metadata() -> Result<()> { + /// Warn for cases where `tool.uv.build-backend` is used without the corresponding build backend + /// entry. + #[test] ++#[cfg(feature = "test-pypi")] + fn tool_uv_build_backend_without_build_backend() -> Result<()> { + let context = uv_test::test_context!("3.12"); + +@@ -1512,6 +1513,7 @@ fn tool_uv_build_backend_without_build_backend() -> Result<()> { + /// Warn for cases where `tool.uv.build-backend` is used without the corresponding build backend + /// entry. + #[test] ++#[cfg(feature = "test-pypi")] + fn tool_uv_build_backend_wrong_build_backend() -> Result<()> { + let context = uv_test::test_context!("3.12"); + diff --git a/sources b/sources index 804321a..b0a112d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.8.tar.gz) = d5eef1a7a46e25bbe534769c3b2894d573f50221b1dfb4ec78abaa73ec78fbe75f2cb785f2101155c5b7a7984138ff20efc3a51548a0209ffbf7aff8367e4960 +SHA512 (uv-0.10.9.tar.gz) = 14a6f13aa6706a6888b471ae8ca161f5f413036624b276de10a92d29a07f759d5080ea496e0229b9c89e431c370689a25a107655bc24b65fa7972411036c6dfd diff --git a/uv.spec b/uv.spec index 8c267e7..d833d80 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.8 +Version: 0.10.9 # 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 @@ -154,6 +154,10 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# Conditionalize two new tests on the test-pypi feature +# https://github.com/astral-sh/uv/pull/18369 +Patch: %{url}/pull/18369.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From 24ce0367ede5ce3a86bb8774d45852022e3013ed Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 15 Mar 2026 07:05:04 +0000 Subject: [PATCH 049/106] Update to 0.10.10 (close RHBZ#2447540) --- .gitignore | 1 + ...-always-find-the-system-wide-uv-exec.patch | 6 ++-- 18369.patch | 33 ------------------- sources | 2 +- uv.spec | 6 +--- 5 files changed, 6 insertions(+), 42 deletions(-) delete mode 100644 18369.patch diff --git a/.gitignore b/.gitignore index 8d583dd..31f7a7a 100644 --- a/.gitignore +++ b/.gitignore @@ -197,3 +197,4 @@ /uv-0.10.7.tar.gz /uv-0.10.8.tar.gz /uv-0.10.9.tar.gz +/uv-0.10.10.tar.gz diff --git a/0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch b/0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch index d60ea47..1552d94 100644 --- a/0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +++ b/0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch @@ -1,4 +1,4 @@ -From 2a9baed6b1246c566e1bed531b17363277e99c0f Mon Sep 17 00:00:00 2001 +From 831cf2937a4b8b781d56d5fa18916d2bc42b244d Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 23 Jun 2024 16:29:05 -0400 Subject: [PATCH] Downstream patch: always find the system-wide uv executable @@ -13,7 +13,7 @@ https://github.com/astral-sh/uv/issues/4451 1 file changed, 8 insertions(+) diff --git a/python/uv/_find_uv.py b/python/uv/_find_uv.py -index 736288a4c..306451db2 100644 +index ebe6b8d5a..e25a2e28c 100644 --- a/python/uv/_find_uv.py +++ b/python/uv/_find_uv.py @@ -35,6 +35,14 @@ def find_uv_bin() -> str: @@ -32,5 +32,5 @@ index 736288a4c..306451db2 100644 for target in targets: if not target: -- -2.50.1 +2.53.0 diff --git a/18369.patch b/18369.patch deleted file mode 100644 index d4c2e3f..0000000 --- a/18369.patch +++ /dev/null @@ -1,33 +0,0 @@ -From eb875e65ebeba1236571f92234bcc8508cb2f92f Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Sun, 8 Mar 2026 13:06:37 +0000 -Subject: [PATCH] Conditionalize two new tests on the test-pypi feature - -Both `build_backend::tool_uv_build_backend_without_build_backend` and -`build_backend::tool_uv_build_backend_wrong_build_backend` fail in -offline environments because they try to download a build backend from -PyPI. ---- - crates/uv/tests/it/build_backend.rs | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/crates/uv/tests/it/build_backend.rs b/crates/uv/tests/it/build_backend.rs -index a01705a6765c4..454f2b1ad8594 100644 ---- a/crates/uv/tests/it/build_backend.rs -+++ b/crates/uv/tests/it/build_backend.rs -@@ -1449,6 +1449,7 @@ fn build_with_all_metadata() -> Result<()> { - /// Warn for cases where `tool.uv.build-backend` is used without the corresponding build backend - /// entry. - #[test] -+#[cfg(feature = "test-pypi")] - fn tool_uv_build_backend_without_build_backend() -> Result<()> { - let context = uv_test::test_context!("3.12"); - -@@ -1512,6 +1513,7 @@ fn tool_uv_build_backend_without_build_backend() -> Result<()> { - /// Warn for cases where `tool.uv.build-backend` is used without the corresponding build backend - /// entry. - #[test] -+#[cfg(feature = "test-pypi")] - fn tool_uv_build_backend_wrong_build_backend() -> Result<()> { - let context = uv_test::test_context!("3.12"); - diff --git a/sources b/sources index b0a112d..b4f9775 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.9.tar.gz) = 14a6f13aa6706a6888b471ae8ca161f5f413036624b276de10a92d29a07f759d5080ea496e0229b9c89e431c370689a25a107655bc24b65fa7972411036c6dfd +SHA512 (uv-0.10.10.tar.gz) = b95ad2534ecc57f2a4e4235d632c006283cdf0ccb8c629be880f45137cbc17ed2ee3b0a6459bbedc0603ee9b044044495a67752c549daabd9e49484afc343635 diff --git a/uv.spec b/uv.spec index d833d80..5419059 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.9 +Version: 0.10.10 # 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 @@ -154,10 +154,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# Conditionalize two new tests on the test-pypi feature -# https://github.com/astral-sh/uv/pull/18369 -Patch: %{url}/pull/18369.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From a1f57b123ba1cc5fd985ad329906fde78002a225 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 17 Mar 2026 12:04:07 +0000 Subject: [PATCH 050/106] Update to 0.10.11 (close RHBZ#2448300) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 31f7a7a..9ca428a 100644 --- a/.gitignore +++ b/.gitignore @@ -198,3 +198,4 @@ /uv-0.10.8.tar.gz /uv-0.10.9.tar.gz /uv-0.10.10.tar.gz +/uv-0.10.11.tar.gz diff --git a/sources b/sources index b4f9775..d3b9e37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.10.tar.gz) = b95ad2534ecc57f2a4e4235d632c006283cdf0ccb8c629be880f45137cbc17ed2ee3b0a6459bbedc0603ee9b044044495a67752c549daabd9e49484afc343635 +SHA512 (uv-0.10.11.tar.gz) = d6ae4c6b0be58505322ed6815f47b43b68e6e671a1a5c29e40e200bf2c5582f28e7714c3aed52e5314566f2ceab8fde9f316f592e43d9903b001bf048ccf9340 diff --git a/uv.spec b/uv.spec index 5419059..b229856 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.10 +Version: 0.10.11 # 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 From 07f74430e59fb84e925e6d7b238f0b334a42c97c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 20 Mar 2026 15:55:59 +0000 Subject: [PATCH 051/106] Update to 0.10.12 (close RHBZ#2449243) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9ca428a..ed8feb5 100644 --- a/.gitignore +++ b/.gitignore @@ -199,3 +199,4 @@ /uv-0.10.9.tar.gz /uv-0.10.10.tar.gz /uv-0.10.11.tar.gz +/uv-0.10.12.tar.gz diff --git a/sources b/sources index d3b9e37..cf02155 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.11.tar.gz) = d6ae4c6b0be58505322ed6815f47b43b68e6e671a1a5c29e40e200bf2c5582f28e7714c3aed52e5314566f2ceab8fde9f316f592e43d9903b001bf048ccf9340 +SHA512 (uv-0.10.12.tar.gz) = e8274cd353e9964981a1befcd8c3f9533e37831f0c3288d6c7ec2232b0c1017a4a9d5fb7960e93edfabb8c7add1d1c500b0309d2e6be59164b61a4baee1ad7b8 diff --git a/uv.spec b/uv.spec index b229856..657c92e 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.11 +Version: 0.10.12 # 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 From 52bbc80e5c42287e4bf48ca21b7b02e6897aba3b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 21 Mar 2026 20:53:40 +0000 Subject: [PATCH 052/106] =?UTF-8?q?Further=20decrease=20max.=20parallelism?= =?UTF-8?q?=20to=20avoid=20=E2=80=9Ctoo=20many=20open=20files=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip changelog] --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 657c92e..49f602d 100644 --- a/uv.spec +++ b/uv.spec @@ -178,7 +178,7 @@ ExcludeArch: %{ix86} # Compilation may fail on builders with very many cores (e.g. 192 cores) due to # “too many open files.” Try to keep the files/core ratio from getting too low. -%global _smp_ncpus_max 96 +%global _smp_ncpus_max 72 BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust2rpm-helper From fb79c2912de6a25bdc853cded9fc170a1b2cd517 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 25 Mar 2026 15:23:45 +0000 Subject: [PATCH 053/106] Update to 0.11.2 (close RHBZ#2450582) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ed8feb5..396e334 100644 --- a/.gitignore +++ b/.gitignore @@ -200,3 +200,4 @@ /uv-0.10.10.tar.gz /uv-0.10.11.tar.gz /uv-0.10.12.tar.gz +/uv-0.11.2.tar.gz diff --git a/sources b/sources index cf02155..1706f76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.10.12.tar.gz) = e8274cd353e9964981a1befcd8c3f9533e37831f0c3288d6c7ec2232b0c1017a4a9d5fb7960e93edfabb8c7add1d1c500b0309d2e6be59164b61a4baee1ad7b8 +SHA512 (uv-0.11.2.tar.gz) = 5db8253e1403a21a82c172429f8a2ee336d19a7b1e640942bd8b6a523defa8308f60b035c8ffae40d1de9292a598a5619f36debf5bf7bb3663b1f630e311cfd4 diff --git a/uv.spec b/uv.spec index 49f602d..c8d3a61 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.10.12 +Version: 0.11.2 # 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 From e113162019e49345594892519dddf121ac07f73e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 6 Apr 2026 13:26:50 +0100 Subject: [PATCH 054/106] Update to 0.11.4 (close RHBZ#2454177) --- .gitignore | 1 + 18919.patch | 263 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- uv.spec | 9 +- 4 files changed, 273 insertions(+), 2 deletions(-) create mode 100644 18919.patch diff --git a/.gitignore b/.gitignore index 396e334..2852e00 100644 --- a/.gitignore +++ b/.gitignore @@ -201,3 +201,4 @@ /uv-0.10.11.tar.gz /uv-0.10.12.tar.gz /uv-0.11.2.tar.gz +/uv-0.11.4.tar.gz diff --git a/18919.patch b/18919.patch new file mode 100644 index 0000000..54026d3 --- /dev/null +++ b/18919.patch @@ -0,0 +1,263 @@ +From ac63848583324e54fcd4cce078d7f93531d9aade Mon Sep 17 00:00:00 2001 +From: Claude +Date: Wed, 8 Apr 2026 12:40:04 +0000 +Subject: [PATCH 1/4] Fix doctest failures in uv-keyring crate + +- Replace `keyring::` with `uv_keyring::` in doctests (the crate was + vendored/renamed but doc examples still referenced the old name) +- Add `#[tokio::main]` and `async fn main` to README example since + Entry methods are async, and mark it `no_run` since it needs a real + keyring backend +- Add `.await` to `set_password()` calls in mock.rs doctest and wrap + in a tokio runtime block + +Fixes astral-sh/uv#18916 + +https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu +--- + crates/uv-keyring/README.md | 7 ++++--- + crates/uv-keyring/src/mock.rs | 12 +++++++----- + 2 files changed, 11 insertions(+), 8 deletions(-) + +diff --git a/crates/uv-keyring/README.md b/crates/uv-keyring/README.md +index 613bff88af70f..d8fa6d41563d0 100644 +--- a/crates/uv-keyring/README.md ++++ b/crates/uv-keyring/README.md +@@ -18,10 +18,11 @@ platform's persistent credential store.) The password or secret can then be read + `get_password` or `get_secret` methods. The underlying credential (with its password/secret data) + can then be removed using the `delete_credential` method. + +-```rust +-use keyring::{Entry, Result}; ++```rust,no_run ++use uv_keyring::{Entry, Result}; + +-fn main() -> Result<()> { ++#[tokio::main] ++async fn main() -> Result<()> { + let entry = Entry::new("my-service", "my-name")?; + entry.set_password("topS3cr3tP4$$w0rd").await?; + let password = entry.get_password().await?; +diff --git a/crates/uv-keyring/src/mock.rs b/crates/uv-keyring/src/mock.rs +index 891cb029186ad..f181e34d9c498 100644 +--- a/crates/uv-keyring/src/mock.rs ++++ b/crates/uv-keyring/src/mock.rs +@@ -10,7 +10,7 @@ in this store have no attributes at all. + To use this credential store instead of the default, make this call during + application startup _before_ creating any entries: + ```rust +-keyring::set_default_credential_builder(keyring::mock::default_credential_builder()); ++uv_keyring::set_default_credential_builder(uv_keyring::mock::default_credential_builder()); + ``` + + You can then create entries as you usually do, and call their usual methods +@@ -24,13 +24,15 @@ with the appropriate error. The next entry method called on the credential + will fail with the error you set. The error will then be cleared, so the next + call on the mock will operate as usual. Here's a complete example: + ```rust +-# use keyring::{Entry, Error, mock, mock::MockCredential}; +-# keyring::set_default_credential_builder(mock::default_credential_builder()); ++# use uv_keyring::{Entry, Error, mock, mock::MockCredential}; ++# uv_keyring::set_default_credential_builder(mock::default_credential_builder()); ++# tokio::runtime::Runtime::new().unwrap().block_on(async { + let entry = Entry::new("service", "user").unwrap(); + let mock: &MockCredential = entry.get_credential().downcast_ref().unwrap(); + mock.set_error(Error::Invalid("mock error".to_string(), "takes precedence".to_string())); +-entry.set_password("test").expect_err("error will override"); +-entry.set_password("test").expect("error has been cleared"); ++entry.set_password("test").await.expect_err("error will override"); ++entry.set_password("test").await.expect("error has been cleared"); ++# }); + ``` + */ + use std::cell::RefCell; + +From 750a4b1de0f69737abfa600d04bd72c21aeed6bc Mon Sep 17 00:00:00 2001 +From: Claude +Date: Wed, 8 Apr 2026 13:06:07 +0000 +Subject: [PATCH 2/4] Mark vendored uv-keyring doctests as ignored +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This is an internal vendored crate — the doctests duplicate coverage +already provided by unit tests and would break again on any upstream +sync. Mark the code blocks as `ignore` so they remain as documentation +but don't run. Also remove the `doc-comment` dev-dependency and +README doctest inclusion since the README example is now ignored too. + +https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu +--- + crates/uv-keyring/Cargo.toml | 1 - + crates/uv-keyring/README.md | 2 +- + crates/uv-keyring/src/lib.rs | 3 --- + crates/uv-keyring/src/mock.rs | 10 ++++------ + 4 files changed, 5 insertions(+), 11 deletions(-) + +diff --git a/crates/uv-keyring/Cargo.toml b/crates/uv-keyring/Cargo.toml +index a1339c5c1b5d0..052a7058a4be2 100644 +--- a/crates/uv-keyring/Cargo.toml ++++ b/crates/uv-keyring/Cargo.toml +@@ -40,7 +40,6 @@ windows = { workspace = true, features = ["Win32_Foundation", "Win32_Security_Cr + zeroize = { workspace = true } + + [dev-dependencies] +-doc-comment = "0.3" + env_logger = "0.11.5" + fastrand = { workspace = true } + +diff --git a/crates/uv-keyring/README.md b/crates/uv-keyring/README.md +index d8fa6d41563d0..05758a9263e39 100644 +--- a/crates/uv-keyring/README.md ++++ b/crates/uv-keyring/README.md +@@ -18,7 +18,7 @@ platform's persistent credential store.) The password or secret can then be read + `get_password` or `get_secret` methods. The underlying credential (with its password/secret data) + can then be removed using the `delete_credential` method. + +-```rust,no_run ++```rust,ignore + use uv_keyring::{Entry, Result}; + + #[tokio::main] +diff --git a/crates/uv-keyring/src/lib.rs b/crates/uv-keyring/src/lib.rs +index 07f6a92fccc10..d95867a2d24ac 100644 +--- a/crates/uv-keyring/src/lib.rs ++++ b/crates/uv-keyring/src/lib.rs +@@ -398,9 +398,6 @@ impl Entry { + } + } + +-#[cfg(doctest)] +-doc_comment::doctest!("../README.md", readme); +- + #[cfg(test)] + /// There are no actual tests in this module. + /// Instead, it contains generics that each keystore invokes in their tests, +diff --git a/crates/uv-keyring/src/mock.rs b/crates/uv-keyring/src/mock.rs +index f181e34d9c498..8aed3b839fe95 100644 +--- a/crates/uv-keyring/src/mock.rs ++++ b/crates/uv-keyring/src/mock.rs +@@ -9,7 +9,7 @@ in this store have no attributes at all. + + To use this credential store instead of the default, make this call during + application startup _before_ creating any entries: +-```rust ++```rust,ignore + uv_keyring::set_default_credential_builder(uv_keyring::mock::default_credential_builder()); + ``` + +@@ -23,16 +23,14 @@ downcast the entry to a [`MockCredential`] and then call [`set_error`](MockCrede + with the appropriate error. The next entry method called on the credential + will fail with the error you set. The error will then be cleared, so the next + call on the mock will operate as usual. Here's a complete example: +-```rust +-# use uv_keyring::{Entry, Error, mock, mock::MockCredential}; +-# uv_keyring::set_default_credential_builder(mock::default_credential_builder()); +-# tokio::runtime::Runtime::new().unwrap().block_on(async { ++```rust,ignore ++use uv_keyring::{Entry, Error, mock, mock::MockCredential}; ++uv_keyring::set_default_credential_builder(mock::default_credential_builder()); + let entry = Entry::new("service", "user").unwrap(); + let mock: &MockCredential = entry.get_credential().downcast_ref().unwrap(); + mock.set_error(Error::Invalid("mock error".to_string(), "takes precedence".to_string())); + entry.set_password("test").await.expect_err("error will override"); + entry.set_password("test").await.expect("error has been cleared"); +-# }); + ``` + */ + use std::cell::RefCell; + +From 6541710154d5a7f285ed3c1ce549d78e6a55424b Mon Sep 17 00:00:00 2001 +From: Claude +Date: Wed, 8 Apr 2026 13:06:32 +0000 +Subject: [PATCH 3/4] Update Cargo.lock after removing doc-comment dependency + +https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu +--- + Cargo.lock | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Cargo.lock b/Cargo.lock +index 578d40498116c..27ee24a1c022e 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -6735,7 +6735,6 @@ version = "0.0.36" + dependencies = [ + "async-trait", + "byteorder", +- "doc-comment", + "env_logger", + "fastrand", + "secret-service", + +From 0e3e9c556b216a05dcc578e3441a53607ace8c93 Mon Sep 17 00:00:00 2001 +From: Claude +Date: Wed, 8 Apr 2026 13:20:41 +0000 +Subject: [PATCH 4/4] Remove mock.rs doctest code blocks and README ignore + annotation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The mock.rs code blocks duplicated unit test coverage and were prone +to drifting from reality on upstream syncs — remove them entirely, +keeping the prose. The README code block doesn't need `ignore` since +the `doc_comment::doctest!` inclusion was already removed. + +https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu +--- + crates/uv-keyring/README.md | 2 +- + crates/uv-keyring/src/mock.rs | 20 +++++--------------- + 2 files changed, 6 insertions(+), 16 deletions(-) + +diff --git a/crates/uv-keyring/README.md b/crates/uv-keyring/README.md +index 05758a9263e39..5b598f2f09559 100644 +--- a/crates/uv-keyring/README.md ++++ b/crates/uv-keyring/README.md +@@ -18,7 +18,7 @@ platform's persistent credential store.) The password or secret can then be read + `get_password` or `get_secret` methods. The underlying credential (with its password/secret data) + can then be removed using the `delete_credential` method. + +-```rust,ignore ++```rust + use uv_keyring::{Entry, Result}; + + #[tokio::main] +diff --git a/crates/uv-keyring/src/mock.rs b/crates/uv-keyring/src/mock.rs +index 8aed3b839fe95..ab41542d50717 100644 +--- a/crates/uv-keyring/src/mock.rs ++++ b/crates/uv-keyring/src/mock.rs +@@ -7,11 +7,10 @@ that is platform-independent, provides no persistence, and allows the client + to specify the return values (including errors) for each call. The credentials + in this store have no attributes at all. + +-To use this credential store instead of the default, make this call during +-application startup _before_ creating any entries: +-```rust,ignore +-uv_keyring::set_default_credential_builder(uv_keyring::mock::default_credential_builder()); +-``` ++To use this credential store instead of the default, call ++[`set_default_credential_builder`](crate::set_default_credential_builder) ++with [`default_credential_builder`] during application startup ++_before_ creating any entries. + + You can then create entries as you usually do, and call their usual methods + to set, get, and delete passwords. There is no persistence other than +@@ -22,16 +21,7 @@ If you want a method call on an entry to fail in a specific way, you can + downcast the entry to a [`MockCredential`] and then call [`set_error`](MockCredential::set_error) + with the appropriate error. The next entry method called on the credential + will fail with the error you set. The error will then be cleared, so the next +-call on the mock will operate as usual. Here's a complete example: +-```rust,ignore +-use uv_keyring::{Entry, Error, mock, mock::MockCredential}; +-uv_keyring::set_default_credential_builder(mock::default_credential_builder()); +-let entry = Entry::new("service", "user").unwrap(); +-let mock: &MockCredential = entry.get_credential().downcast_ref().unwrap(); +-mock.set_error(Error::Invalid("mock error".to_string(), "takes precedence".to_string())); +-entry.set_password("test").await.expect_err("error will override"); +-entry.set_password("test").await.expect("error has been cleared"); +-``` ++call on the mock will operate as usual. + */ + use std::cell::RefCell; + use std::sync::Mutex; diff --git a/sources b/sources index 1706f76..179ed45 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.2.tar.gz) = 5db8253e1403a21a82c172429f8a2ee336d19a7b1e640942bd8b6a523defa8308f60b035c8ffae40d1de9292a598a5619f36debf5bf7bb3663b1f630e311cfd4 +SHA512 (uv-0.11.4.tar.gz) = 84fb4d49147bf23bbe338571883c31370841a011f9ad6a15219e8699169fce5e82c2740159ef3c998ad2d4ef463dc6a398df93e82788a0bdccc68a15e36b3e65 diff --git a/uv.spec b/uv.spec index c8d3a61..addcd6b 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.2 +Version: 0.11.4 # 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 @@ -154,6 +154,13 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# Remove doctests from uv-keyring +# https://github.com/astral-sh/uv/pull/18919 +# Fixes: +# Some issues with doctests in the uv_keyring crate +# https://github.com/astral-sh/uv/issues/18916 +Patch: %{url}/pull/18919.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From ff58ad585abf58c5c519c16432dc153de67b9b06 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 9 Apr 2026 11:48:33 +0100 Subject: [PATCH 055/106] Update to 0.11.5 (close RHBZ#2454177) --- .gitignore | 1 + 18919.patch | 263 ---------------------------------------------------- sources | 2 +- uv.spec | 10 +- 4 files changed, 3 insertions(+), 273 deletions(-) delete mode 100644 18919.patch diff --git a/.gitignore b/.gitignore index 2852e00..2e6a668 100644 --- a/.gitignore +++ b/.gitignore @@ -202,3 +202,4 @@ /uv-0.10.12.tar.gz /uv-0.11.2.tar.gz /uv-0.11.4.tar.gz +/uv-0.11.5.tar.gz diff --git a/18919.patch b/18919.patch deleted file mode 100644 index 54026d3..0000000 --- a/18919.patch +++ /dev/null @@ -1,263 +0,0 @@ -From ac63848583324e54fcd4cce078d7f93531d9aade Mon Sep 17 00:00:00 2001 -From: Claude -Date: Wed, 8 Apr 2026 12:40:04 +0000 -Subject: [PATCH 1/4] Fix doctest failures in uv-keyring crate - -- Replace `keyring::` with `uv_keyring::` in doctests (the crate was - vendored/renamed but doc examples still referenced the old name) -- Add `#[tokio::main]` and `async fn main` to README example since - Entry methods are async, and mark it `no_run` since it needs a real - keyring backend -- Add `.await` to `set_password()` calls in mock.rs doctest and wrap - in a tokio runtime block - -Fixes astral-sh/uv#18916 - -https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu ---- - crates/uv-keyring/README.md | 7 ++++--- - crates/uv-keyring/src/mock.rs | 12 +++++++----- - 2 files changed, 11 insertions(+), 8 deletions(-) - -diff --git a/crates/uv-keyring/README.md b/crates/uv-keyring/README.md -index 613bff88af70f..d8fa6d41563d0 100644 ---- a/crates/uv-keyring/README.md -+++ b/crates/uv-keyring/README.md -@@ -18,10 +18,11 @@ platform's persistent credential store.) The password or secret can then be read - `get_password` or `get_secret` methods. The underlying credential (with its password/secret data) - can then be removed using the `delete_credential` method. - --```rust --use keyring::{Entry, Result}; -+```rust,no_run -+use uv_keyring::{Entry, Result}; - --fn main() -> Result<()> { -+#[tokio::main] -+async fn main() -> Result<()> { - let entry = Entry::new("my-service", "my-name")?; - entry.set_password("topS3cr3tP4$$w0rd").await?; - let password = entry.get_password().await?; -diff --git a/crates/uv-keyring/src/mock.rs b/crates/uv-keyring/src/mock.rs -index 891cb029186ad..f181e34d9c498 100644 ---- a/crates/uv-keyring/src/mock.rs -+++ b/crates/uv-keyring/src/mock.rs -@@ -10,7 +10,7 @@ in this store have no attributes at all. - To use this credential store instead of the default, make this call during - application startup _before_ creating any entries: - ```rust --keyring::set_default_credential_builder(keyring::mock::default_credential_builder()); -+uv_keyring::set_default_credential_builder(uv_keyring::mock::default_credential_builder()); - ``` - - You can then create entries as you usually do, and call their usual methods -@@ -24,13 +24,15 @@ with the appropriate error. The next entry method called on the credential - will fail with the error you set. The error will then be cleared, so the next - call on the mock will operate as usual. Here's a complete example: - ```rust --# use keyring::{Entry, Error, mock, mock::MockCredential}; --# keyring::set_default_credential_builder(mock::default_credential_builder()); -+# use uv_keyring::{Entry, Error, mock, mock::MockCredential}; -+# uv_keyring::set_default_credential_builder(mock::default_credential_builder()); -+# tokio::runtime::Runtime::new().unwrap().block_on(async { - let entry = Entry::new("service", "user").unwrap(); - let mock: &MockCredential = entry.get_credential().downcast_ref().unwrap(); - mock.set_error(Error::Invalid("mock error".to_string(), "takes precedence".to_string())); --entry.set_password("test").expect_err("error will override"); --entry.set_password("test").expect("error has been cleared"); -+entry.set_password("test").await.expect_err("error will override"); -+entry.set_password("test").await.expect("error has been cleared"); -+# }); - ``` - */ - use std::cell::RefCell; - -From 750a4b1de0f69737abfa600d04bd72c21aeed6bc Mon Sep 17 00:00:00 2001 -From: Claude -Date: Wed, 8 Apr 2026 13:06:07 +0000 -Subject: [PATCH 2/4] Mark vendored uv-keyring doctests as ignored -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This is an internal vendored crate — the doctests duplicate coverage -already provided by unit tests and would break again on any upstream -sync. Mark the code blocks as `ignore` so they remain as documentation -but don't run. Also remove the `doc-comment` dev-dependency and -README doctest inclusion since the README example is now ignored too. - -https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu ---- - crates/uv-keyring/Cargo.toml | 1 - - crates/uv-keyring/README.md | 2 +- - crates/uv-keyring/src/lib.rs | 3 --- - crates/uv-keyring/src/mock.rs | 10 ++++------ - 4 files changed, 5 insertions(+), 11 deletions(-) - -diff --git a/crates/uv-keyring/Cargo.toml b/crates/uv-keyring/Cargo.toml -index a1339c5c1b5d0..052a7058a4be2 100644 ---- a/crates/uv-keyring/Cargo.toml -+++ b/crates/uv-keyring/Cargo.toml -@@ -40,7 +40,6 @@ windows = { workspace = true, features = ["Win32_Foundation", "Win32_Security_Cr - zeroize = { workspace = true } - - [dev-dependencies] --doc-comment = "0.3" - env_logger = "0.11.5" - fastrand = { workspace = true } - -diff --git a/crates/uv-keyring/README.md b/crates/uv-keyring/README.md -index d8fa6d41563d0..05758a9263e39 100644 ---- a/crates/uv-keyring/README.md -+++ b/crates/uv-keyring/README.md -@@ -18,7 +18,7 @@ platform's persistent credential store.) The password or secret can then be read - `get_password` or `get_secret` methods. The underlying credential (with its password/secret data) - can then be removed using the `delete_credential` method. - --```rust,no_run -+```rust,ignore - use uv_keyring::{Entry, Result}; - - #[tokio::main] -diff --git a/crates/uv-keyring/src/lib.rs b/crates/uv-keyring/src/lib.rs -index 07f6a92fccc10..d95867a2d24ac 100644 ---- a/crates/uv-keyring/src/lib.rs -+++ b/crates/uv-keyring/src/lib.rs -@@ -398,9 +398,6 @@ impl Entry { - } - } - --#[cfg(doctest)] --doc_comment::doctest!("../README.md", readme); -- - #[cfg(test)] - /// There are no actual tests in this module. - /// Instead, it contains generics that each keystore invokes in their tests, -diff --git a/crates/uv-keyring/src/mock.rs b/crates/uv-keyring/src/mock.rs -index f181e34d9c498..8aed3b839fe95 100644 ---- a/crates/uv-keyring/src/mock.rs -+++ b/crates/uv-keyring/src/mock.rs -@@ -9,7 +9,7 @@ in this store have no attributes at all. - - To use this credential store instead of the default, make this call during - application startup _before_ creating any entries: --```rust -+```rust,ignore - uv_keyring::set_default_credential_builder(uv_keyring::mock::default_credential_builder()); - ``` - -@@ -23,16 +23,14 @@ downcast the entry to a [`MockCredential`] and then call [`set_error`](MockCrede - with the appropriate error. The next entry method called on the credential - will fail with the error you set. The error will then be cleared, so the next - call on the mock will operate as usual. Here's a complete example: --```rust --# use uv_keyring::{Entry, Error, mock, mock::MockCredential}; --# uv_keyring::set_default_credential_builder(mock::default_credential_builder()); --# tokio::runtime::Runtime::new().unwrap().block_on(async { -+```rust,ignore -+use uv_keyring::{Entry, Error, mock, mock::MockCredential}; -+uv_keyring::set_default_credential_builder(mock::default_credential_builder()); - let entry = Entry::new("service", "user").unwrap(); - let mock: &MockCredential = entry.get_credential().downcast_ref().unwrap(); - mock.set_error(Error::Invalid("mock error".to_string(), "takes precedence".to_string())); - entry.set_password("test").await.expect_err("error will override"); - entry.set_password("test").await.expect("error has been cleared"); --# }); - ``` - */ - use std::cell::RefCell; - -From 6541710154d5a7f285ed3c1ce549d78e6a55424b Mon Sep 17 00:00:00 2001 -From: Claude -Date: Wed, 8 Apr 2026 13:06:32 +0000 -Subject: [PATCH 3/4] Update Cargo.lock after removing doc-comment dependency - -https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu ---- - Cargo.lock | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/Cargo.lock b/Cargo.lock -index 578d40498116c..27ee24a1c022e 100644 ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -6735,7 +6735,6 @@ version = "0.0.36" - dependencies = [ - "async-trait", - "byteorder", -- "doc-comment", - "env_logger", - "fastrand", - "secret-service", - -From 0e3e9c556b216a05dcc578e3441a53607ace8c93 Mon Sep 17 00:00:00 2001 -From: Claude -Date: Wed, 8 Apr 2026 13:20:41 +0000 -Subject: [PATCH 4/4] Remove mock.rs doctest code blocks and README ignore - annotation -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The mock.rs code blocks duplicated unit test coverage and were prone -to drifting from reality on upstream syncs — remove them entirely, -keeping the prose. The README code block doesn't need `ignore` since -the `doc_comment::doctest!` inclusion was already removed. - -https://claude.ai/code/session_01UJXU3iFvu9dLce56ZvNNDu ---- - crates/uv-keyring/README.md | 2 +- - crates/uv-keyring/src/mock.rs | 20 +++++--------------- - 2 files changed, 6 insertions(+), 16 deletions(-) - -diff --git a/crates/uv-keyring/README.md b/crates/uv-keyring/README.md -index 05758a9263e39..5b598f2f09559 100644 ---- a/crates/uv-keyring/README.md -+++ b/crates/uv-keyring/README.md -@@ -18,7 +18,7 @@ platform's persistent credential store.) The password or secret can then be read - `get_password` or `get_secret` methods. The underlying credential (with its password/secret data) - can then be removed using the `delete_credential` method. - --```rust,ignore -+```rust - use uv_keyring::{Entry, Result}; - - #[tokio::main] -diff --git a/crates/uv-keyring/src/mock.rs b/crates/uv-keyring/src/mock.rs -index 8aed3b839fe95..ab41542d50717 100644 ---- a/crates/uv-keyring/src/mock.rs -+++ b/crates/uv-keyring/src/mock.rs -@@ -7,11 +7,10 @@ that is platform-independent, provides no persistence, and allows the client - to specify the return values (including errors) for each call. The credentials - in this store have no attributes at all. - --To use this credential store instead of the default, make this call during --application startup _before_ creating any entries: --```rust,ignore --uv_keyring::set_default_credential_builder(uv_keyring::mock::default_credential_builder()); --``` -+To use this credential store instead of the default, call -+[`set_default_credential_builder`](crate::set_default_credential_builder) -+with [`default_credential_builder`] during application startup -+_before_ creating any entries. - - You can then create entries as you usually do, and call their usual methods - to set, get, and delete passwords. There is no persistence other than -@@ -22,16 +21,7 @@ If you want a method call on an entry to fail in a specific way, you can - downcast the entry to a [`MockCredential`] and then call [`set_error`](MockCredential::set_error) - with the appropriate error. The next entry method called on the credential - will fail with the error you set. The error will then be cleared, so the next --call on the mock will operate as usual. Here's a complete example: --```rust,ignore --use uv_keyring::{Entry, Error, mock, mock::MockCredential}; --uv_keyring::set_default_credential_builder(mock::default_credential_builder()); --let entry = Entry::new("service", "user").unwrap(); --let mock: &MockCredential = entry.get_credential().downcast_ref().unwrap(); --mock.set_error(Error::Invalid("mock error".to_string(), "takes precedence".to_string())); --entry.set_password("test").await.expect_err("error will override"); --entry.set_password("test").await.expect("error has been cleared"); --``` -+call on the mock will operate as usual. - */ - use std::cell::RefCell; - use std::sync::Mutex; diff --git a/sources b/sources index 179ed45..729cb04 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.4.tar.gz) = 84fb4d49147bf23bbe338571883c31370841a011f9ad6a15219e8699169fce5e82c2740159ef3c998ad2d4ef463dc6a398df93e82788a0bdccc68a15e36b3e65 +SHA512 (uv-0.11.5.tar.gz) = ade88d151b3da1a73dbd43b6b9c27722822f61e7088a53dfc1a073436350705468b37ebd301eaa5ddb2fdcd39978096b2c95180c735bc49c4a07391ca3bd4c09 diff --git a/uv.spec b/uv.spec index addcd6b..2afe1df 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.4 +Version: 0.11.5 # 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 @@ -154,13 +154,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# Remove doctests from uv-keyring -# https://github.com/astral-sh/uv/pull/18919 -# Fixes: -# Some issues with doctests in the uv_keyring crate -# https://github.com/astral-sh/uv/issues/18916 -Patch: %{url}/pull/18919.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -633,7 +626,6 @@ skip="${skip-} --skip base_client::tests::retried_status_codes" %license LICENSE-APACHE LICENSE-MIT LICENSE.dependencies LICENSE.bundled/ %doc CHANGELOG.md %doc README.md -%doc PIP_COMPATIBILITY.md %{_bindir}/uv # Equivalent to “uv tool run”: From 5c347689ee65f5daeaca0371d83a5bb995a0ed8c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 9 Apr 2026 14:14:24 +0100 Subject: [PATCH 056/106] Skip three tests that fail only on ppc64le --- uv.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/uv.spec b/uv.spec index 2afe1df..69e1424 100644 --- a/uv.spec +++ b/uv.spec @@ -616,6 +616,23 @@ skip="${skip-} --skip tests::built_by_uv_building" # dependency version differing from Cargo.lock. skip="${skip-} --skip base_client::tests::retried_status_codes" +%ifarch %{power64} +# TODO: Why do these seem to fail only on ppc64le? Are the failures 100% +# reproducible, or are they flaky? Can we reproduce in a git checkout and +# report upstream? Is this a race condition that disappears on cargo nextest, +# with its process isolation? +# +# Error: failed to build HTTP client +# Caused by: +# 0: certificate in `/tmp/uv/tests/certs/.tmpFF0lkk/ca.pem` (from +# `SSL_CERT_FILE`) could not be used as a trust anchor on certificate +# `CN=uv-test-ca, O=Astral Software Inc.` +# 1: ExtensionValueInvalid +skip="${skip-} --skip user_agent_version::test_user_agent_has_linehaul" +skip="${skip-} --skip user_agent_version::test_user_agent_has_subcommand" +skip="${skip-} --skip user_agent_version::test_user_agent_has_version" +%endif + %cargo_test -- -- --exact ${skip-} %endif From 07238fb8d4f9380439c1b3a9b7ac84638b2d7639 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 9 Apr 2026 15:23:42 +0100 Subject: [PATCH 057/106] Update to 0.11.6 (close RHBZ#2454177) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2e6a668..4d93cbb 100644 --- a/.gitignore +++ b/.gitignore @@ -203,3 +203,4 @@ /uv-0.11.2.tar.gz /uv-0.11.4.tar.gz /uv-0.11.5.tar.gz +/uv-0.11.6.tar.gz diff --git a/sources b/sources index 729cb04..2a97a14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.5.tar.gz) = ade88d151b3da1a73dbd43b6b9c27722822f61e7088a53dfc1a073436350705468b37ebd301eaa5ddb2fdcd39978096b2c95180c735bc49c4a07391ca3bd4c09 +SHA512 (uv-0.11.6.tar.gz) = 3f370f98b253dd84706f1724155ba4ed5cafb41b612fa75151aef26dd4f18c85f59d93c5bbddae1c59ea594fdc88857d005b6e8728cdd24f5b37b99ba4ef32cd diff --git a/uv.spec b/uv.spec index 69e1424..6c60285 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.5 +Version: 0.11.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 From 8aee0b86aee3ae2dc8431bf5a56a3e486930e02a Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 9 Apr 2026 18:51:01 +0100 Subject: [PATCH 058/106] Skip user_agent_version:: tests on all architectures --- uv.spec | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/uv.spec b/uv.spec index 6c60285..189466a 100644 --- a/uv.spec +++ b/uv.spec @@ -616,22 +616,21 @@ skip="${skip-} --skip tests::built_by_uv_building" # dependency version differing from Cargo.lock. skip="${skip-} --skip base_client::tests::retried_status_codes" -%ifarch %{power64} -# TODO: Why do these seem to fail only on ppc64le? Are the failures 100% -# reproducible, or are they flaky? Can we reproduce in a git checkout and -# report upstream? Is this a race condition that disappears on cargo nextest, -# with its process isolation? -# -# Error: failed to build HTTP client -# Caused by: -# 0: certificate in `/tmp/uv/tests/certs/.tmpFF0lkk/ca.pem` (from -# `SSL_CERT_FILE`) could not be used as a trust anchor on certificate -# `CN=uv-test-ca, O=Astral Software Inc.` -# 1: ExtensionValueInvalid +# 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 +# on aarch64. This is probably a race involving the SSL_CERT_FILE environment +# variable, which process-isolated testing in “cargo nextest” (used by +# upstream) should avoid. That suggests there is nothing to report upstream. +# When this fails, the error looks something like: +# Error: failed to build HTTP client +# Caused by: +# 0: certificate in `/tmp/uv/tests/certs/.tmpFF0lkk/ca.pem` (from +# `SSL_CERT_FILE`) could not be used as a trust anchor on certificate +# `CN=uv-test-ca, O=Astral Software Inc.` +# 1: ExtensionValueInvalid skip="${skip-} --skip user_agent_version::test_user_agent_has_linehaul" skip="${skip-} --skip user_agent_version::test_user_agent_has_subcommand" skip="${skip-} --skip user_agent_version::test_user_agent_has_version" -%endif %cargo_test -- -- --exact ${skip-} %endif From 49ae3ae921b77f3410cea12d127085e60b4c7a71 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 16 Apr 2026 11:36:35 +0100 Subject: [PATCH 059/106] Update to 0.11.7 (close RHBZ#2458860) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4d93cbb..589f69c 100644 --- a/.gitignore +++ b/.gitignore @@ -204,3 +204,4 @@ /uv-0.11.4.tar.gz /uv-0.11.5.tar.gz /uv-0.11.6.tar.gz +/uv-0.11.7.tar.gz diff --git a/sources b/sources index 2a97a14..d0b4cc9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.6.tar.gz) = 3f370f98b253dd84706f1724155ba4ed5cafb41b612fa75151aef26dd4f18c85f59d93c5bbddae1c59ea594fdc88857d005b6e8728cdd24f5b37b99ba4ef32cd +SHA512 (uv-0.11.7.tar.gz) = f9b34b628ac035cacb36bd9cd7276d28c59f768360a197f4c1c036a81651aa6c40b17656c4b5230cc19b496c415687fc99f05bf4c66459e5457f5cef105b8d7e diff --git a/uv.spec b/uv.spec index 189466a..30408cd 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.6 +Version: 0.11.7 # 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 From b70f3fd0f1ee28e43973b2255ddff3ed695e5343 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 5 May 2026 09:41:14 +0100 Subject: [PATCH 060/106] Update to 0.11.9 (close RHBZ#2466654) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 589f69c..14d9d18 100644 --- a/.gitignore +++ b/.gitignore @@ -205,3 +205,4 @@ /uv-0.11.5.tar.gz /uv-0.11.6.tar.gz /uv-0.11.7.tar.gz +/uv-0.11.9.tar.gz diff --git a/sources b/sources index d0b4cc9..534b594 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.7.tar.gz) = f9b34b628ac035cacb36bd9cd7276d28c59f768360a197f4c1c036a81651aa6c40b17656c4b5230cc19b496c415687fc99f05bf4c66459e5457f5cef105b8d7e +SHA512 (uv-0.11.9.tar.gz) = 821ef460b68fa9d3d7040633903f57b6108ff766ec2ac55369e19762cb3a8903ab8d1611cf2866dc072741d363a75e1a9867dbbd3be2fe0ee967088309de42d2 diff --git a/uv.spec b/uv.spec index 30408cd..d8a191f 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.7 +Version: 0.11.9 # 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 From d6defe2f8145ca3fde1bcae4015224ff04e9acdd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 6 May 2026 10:32:02 +0100 Subject: [PATCH 061/106] Update to 0.11.10 (close RHBZ#2466908) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 14d9d18..35a6b63 100644 --- a/.gitignore +++ b/.gitignore @@ -206,3 +206,4 @@ /uv-0.11.6.tar.gz /uv-0.11.7.tar.gz /uv-0.11.9.tar.gz +/uv-0.11.10.tar.gz diff --git a/sources b/sources index 534b594..8c98de0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.9.tar.gz) = 821ef460b68fa9d3d7040633903f57b6108ff766ec2ac55369e19762cb3a8903ab8d1611cf2866dc072741d363a75e1a9867dbbd3be2fe0ee967088309de42d2 +SHA512 (uv-0.11.10.tar.gz) = d969396c1cf0793a4589aa8c9c47b100d3e1ca8bdd55bd95f3bdbd1164c67f58678c06190f35e22248d173f6ddc2b24cbae8c5888f44dd2cc6a1a7e1f0eeea16 diff --git a/uv.spec b/uv.spec index d8a191f..ba3e5a8 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.9 +Version: 0.11.10 # 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 From 8f3f2413f81b831e82da99e91526f53545e06d65 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 8 May 2026 20:31:01 +0100 Subject: [PATCH 062/106] Update to 0.11.11 (close RHBZ#2466908) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 35a6b63..5b782d0 100644 --- a/.gitignore +++ b/.gitignore @@ -207,3 +207,4 @@ /uv-0.11.7.tar.gz /uv-0.11.9.tar.gz /uv-0.11.10.tar.gz +/uv-0.11.11.tar.gz diff --git a/sources b/sources index 8c98de0..3baf061 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.10.tar.gz) = d969396c1cf0793a4589aa8c9c47b100d3e1ca8bdd55bd95f3bdbd1164c67f58678c06190f35e22248d173f6ddc2b24cbae8c5888f44dd2cc6a1a7e1f0eeea16 +SHA512 (uv-0.11.11.tar.gz) = f9129868fb8d343d63e4080deb0e71e71fdb5c71e2ea4f17d05d0f0c20338daf86f521895e8bd69795ffad36ddc94e8cf5ee8fbbb4eb5fdc0692524b21eef9c6 diff --git a/uv.spec b/uv.spec index ba3e5a8..cd80104 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.10 +Version: 0.11.11 # 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 From e062fedb2557ee2701757ca20934a0b63513c30b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 9 May 2026 07:57:53 +0100 Subject: [PATCH 063/106] Update to 0.11.12 (close RHBZ#2466908) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5b782d0..6ed9e79 100644 --- a/.gitignore +++ b/.gitignore @@ -208,3 +208,4 @@ /uv-0.11.9.tar.gz /uv-0.11.10.tar.gz /uv-0.11.11.tar.gz +/uv-0.11.12.tar.gz diff --git a/sources b/sources index 3baf061..4efc084 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.11.tar.gz) = f9129868fb8d343d63e4080deb0e71e71fdb5c71e2ea4f17d05d0f0c20338daf86f521895e8bd69795ffad36ddc94e8cf5ee8fbbb4eb5fdc0692524b21eef9c6 +SHA512 (uv-0.11.12.tar.gz) = a23c95152f0515645174b85ed8887fe29e3e56d457aaad7992cfe5a59b95e527348ebd7e0ce9d23cf589f20849326a876ae61ed9b10324a48b8021077cd264fe diff --git a/uv.spec b/uv.spec index cd80104..8d877cd 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.11 +Version: 0.11.12 # 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 From abe2796638e25b58a1557dcf3724126c36c34bd7 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 13 May 2026 06:59:34 +0100 Subject: [PATCH 064/106] Update to 0.11.14 (close RHBZ#2468985) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6ed9e79..8384ce4 100644 --- a/.gitignore +++ b/.gitignore @@ -209,3 +209,4 @@ /uv-0.11.10.tar.gz /uv-0.11.11.tar.gz /uv-0.11.12.tar.gz +/uv-0.11.14.tar.gz diff --git a/sources b/sources index 4efc084..a87e948 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.12.tar.gz) = a23c95152f0515645174b85ed8887fe29e3e56d457aaad7992cfe5a59b95e527348ebd7e0ce9d23cf589f20849326a876ae61ed9b10324a48b8021077cd264fe +SHA512 (uv-0.11.14.tar.gz) = 375efa7d4afb3128e5d833f91d9fe91439d0c45c607996dae0cf25bf9b8d1a164858dccd00875020b88377fffecabb6afab8353ef0b7e393c83d64ed2320d3c2 diff --git a/uv.spec b/uv.spec index 8d877cd..d17ee23 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.12 +Version: 0.11.14 # 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 From 9fc89f6aed9b7e990866a349c202bee2fbf3d6f2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 18 May 2026 22:57:01 +0100 Subject: [PATCH 065/106] Update to 0.11.15 (close RHBZ#2479704) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8384ce4..31acb14 100644 --- a/.gitignore +++ b/.gitignore @@ -210,3 +210,4 @@ /uv-0.11.11.tar.gz /uv-0.11.12.tar.gz /uv-0.11.14.tar.gz +/uv-0.11.15.tar.gz diff --git a/sources b/sources index a87e948..80756c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.14.tar.gz) = 375efa7d4afb3128e5d833f91d9fe91439d0c45c607996dae0cf25bf9b8d1a164858dccd00875020b88377fffecabb6afab8353ef0b7e393c83d64ed2320d3c2 +SHA512 (uv-0.11.15.tar.gz) = af427dfeaa1112642c46812f8b5a3b0b56e00fe5d308f3c5d59aa18a6e14f24254ea3041b6605967f742dd11ac85833c08d7552fb8de4bc4e8f8832e39236d7c diff --git a/uv.spec b/uv.spec index d17ee23..b7f2339 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.14 +Version: 0.11.15 # 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 From ebdfcdd7a3d10bc222e62266576a3abf2f9ef70a Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 22 May 2026 07:09:52 +0100 Subject: [PATCH 066/106] Update to 0.11.16 (close RHBZ#2480652) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 31acb14..f77cfbc 100644 --- a/.gitignore +++ b/.gitignore @@ -211,3 +211,4 @@ /uv-0.11.12.tar.gz /uv-0.11.14.tar.gz /uv-0.11.15.tar.gz +/uv-0.11.16.tar.gz diff --git a/sources b/sources index 80756c5..b60061c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.15.tar.gz) = af427dfeaa1112642c46812f8b5a3b0b56e00fe5d308f3c5d59aa18a6e14f24254ea3041b6605967f742dd11ac85833c08d7552fb8de4bc4e8f8832e39236d7c +SHA512 (uv-0.11.16.tar.gz) = c830b9808eeedbfdcbc8ee75ba978f9309b89f1740aa3d363cc661c42ea066b87d3d21c8cc4ccf215e8233ea3b4c2669537ffe5955cf68adf7367755428618bc diff --git a/uv.spec b/uv.spec index b7f2339..5651589 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.15 +Version: 0.11.16 # 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 From ca4d748c96c171a54118c25ffc3b0d37a2185137 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 24 May 2026 09:49:22 +0100 Subject: [PATCH 067/106] Use various long options --- uv.spec | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/uv.spec b/uv.spec index 5651589..22a774a 100644 --- a/uv.spec +++ b/uv.spec @@ -352,28 +352,32 @@ This package provides an importable Python module for uv. %autosetup -p1 # Collect license files of vendored dependencies in the main source archive -install -t LICENSE.bundled/packaging -D -p -m 0644 \ +install -D --preserve-timestamps --mode=0644 \ + --target=LICENSE.bundled/packaging \ crates/uv-python/python/packaging/LICENSE.* -install -t LICENSE.bundled/pep440_rs -D -p -m 0644 crates/uv-pep440/License-* -install -t LICENSE.bundled/pep508_rs -D -p -m 0644 crates/uv-pep508/License-* -install -t LICENSE.bundled/pipreqs -D -p -m 0644 \ +install -D --preserve-timestamps --mode=0644 \ + --target=LICENSE.bundled/pep440_rs crates/uv-pep440/License-* +install -D --preserve-timestamps --mode=0644 \ + --target=LICENSE.bundled/pep508_rs crates/uv-pep508/License-* +install -D --preserve-timestamps --mode=0644 \ + --target=LICENSE.bundled/pipreqs \ crates/uv-build-frontend/src/pipreqs/LICENSE -install -t LICENSE.bundled/ripunzip -D -p -m 0644 \ - crates/uv-extract/src/vendor/LICENSE +install -D --preserve-timestamps --mode=0644 \ + --target=LICENSE.bundled/ripunzip crates/uv-extract/src/vendor/LICENSE # The original license text from rattler_installs_packages is present in a # comment, but we want it in a separate file so we can ensure it is present in # the binary RPM. -install -d LICENSE.bundled/rattler_installs_packages +install --directory LICENSE.bundled/rattler_installs_packages awk '$2 == "BSD" { out=1 }; $2 == "```" { out=0 }; out' \ crates/uv-client/src/remote_metadata.rs | - sed -r 's@^///( |$)@@' | + sed --regexp-extended 's@^///( |$)@@' | tee LICENSE.bundled/rattler_installs_packages/LICENSE # Similarly for virtualenv. All files in # crates/uv-virtualenv/src/activator/activate/ have the same license text. -install -d LICENSE.bundled/virtualenv +install --directory LICENSE.bundled/virtualenv awk '$1 == "#" { out=1 }; $1 != "#" { out=0; exit }; out' \ crates/uv-virtualenv/src/activator/activate | - sed -r 's@^#( |$)@@' | + sed --regexp-extended 's@^#( |$)@@' | tee LICENSE.bundled/virtualenv/LICENSE # Patch out foreign (e.g. Windows-only) dependencies. Follow symbolic links so @@ -387,20 +391,20 @@ find -L . -type f -name Cargo.toml -print \ # the uv-trampoline-builder crate. We must remove them to prove they are not # used in the build. Since they are used only on Windows, nothing is lost by # doing so. -rm -v crates/uv-trampoline-builder/trampolines/*.exe +rm --verbose crates/uv-trampoline-builder/trampolines/*.exe # Per Cargo.toml, uv-trampoline is excluded from the workspace and not compiled # because it still requires a nightly compiler. For now, we remove it entirely # to show that we do not need to document bundling from posy. Note that we # *cannot* cleanly remove uv-trampoline-builder, only the precompiled # trampolines themselves. -rm -rv crates/uv-trampoline +rm --recursive --verbose crates/uv-trampoline # Remove the dependency on embed-manifest, which applies only when (cross-?) # compiling for Windows. tomcli set Cargo.toml del workspace.dependencies.embed-manifest # We may have to do something more sophisticated if this build script ever # starts to do anything other than just embedding a manifest on Windows. -rm -v crates/uv/build.rs +rm --verbose crates/uv/build.rs tomcli set crates/uv/Cargo.toml del build-dependencies.embed-manifest # The embed-manifest depenency is also used in uv-trampoline, which we removed. @@ -468,7 +472,8 @@ mods="${mods-}${mods+|}venv" mods="${mods-}${mods+|}version" mods="${mods-}${mods+|}workspace" comment='Downstream-only: skip, needs specific Python interpreter versions' -sed -r -i "s@mod (${mods});@// ${comment}\n#[cfg(any())]\n&@" \ +sed --regexp-extended --in-place \ + "s@mod (${mods});@// ${comment}\n#[cfg(any())]\n&@" \ crates/uv/tests/it/main.rs %endif @@ -526,9 +531,10 @@ then # library is actually pure-Python, and the python3-uv subpackage can be # noarch. We can’t tell maturin to install to the appropriate site-packages # directory, but we can fix the installation path manually. - install -d %{buildroot}%{python3_sitelib} + install --directory %{buildroot}%{python3_sitelib} mv %{buildroot}%{python3_sitearch}/uv* %{buildroot}%{python3_sitelib} - sed -r -i 's@%{python3_sitearch}@%{python3_sitelib}@' %{pyproject_files} + sed --regexp-extended --in-place \ + 's@%{python3_sitearch}@%{python3_sitelib}@' %{pyproject_files} fi # generate and install shell completions @@ -544,7 +550,8 @@ do done # Install a default system-wide configuration file -install -t '%{buildroot}%{_sysconfdir}/uv' -p -m 0644 -D '%{SOURCE1}' +install -D --preserve-timestamps --mode=0644 \ + --target='%{buildroot}%{_sysconfdir}/uv' '%{SOURCE1}' %check From 42a538d8918b0e0763a5900cd0713f1941af0e13 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 3 Jun 2026 14:08:54 +0100 Subject: [PATCH 068/106] Update to 0.11.18 (close RHBZ#2483122) --- .gitignore | 1 + sources | 2 +- uv.spec | 12 +++++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f77cfbc..2bba8e8 100644 --- a/.gitignore +++ b/.gitignore @@ -212,3 +212,4 @@ /uv-0.11.14.tar.gz /uv-0.11.15.tar.gz /uv-0.11.16.tar.gz +/uv-0.11.18.tar.gz diff --git a/sources b/sources index b60061c..4415a51 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.16.tar.gz) = c830b9808eeedbfdcbc8ee75ba978f9309b89f1740aa3d363cc661c42ea066b87d3d21c8cc4ccf215e8233ea3b4c2669537ffe5955cf68adf7367755428618bc +SHA512 (uv-0.11.18.tar.gz) = 59ef43479bee5cc36dc5966ef5ec7bacb22e17d831ee2a0f8246d73c432cd0da76d230882afc08b31b610f92c333547285af420597f3f696a8acc30107cb2141 diff --git a/uv.spec b/uv.spec index 22a774a..30e9bb9 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.16 +Version: 0.11.18 # 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 @@ -639,6 +639,16 @@ skip="${skip-} --skip user_agent_version::test_user_agent_has_linehaul" skip="${skip-} --skip user_agent_version::test_user_agent_has_subcommand" skip="${skip-} --skip user_agent_version::test_user_agent_has_version" +# Some tests for “uv check” introduced in 0.11.18 require network access +# https://github.com/astral-sh/uv/issues/19658 +skip="${skip-} --skip check::check_missing_pyproject_toml" +skip="${skip-} --skip check::check_no_project" +skip="${skip-} --skip check::check_project" +skip="${skip-} --skip check::check_ty_version_no_match" +skip="${skip-} --skip check::check_ty_version_pinned_verbose" +skip="${skip-} --skip check::check_type_error" +skip="${skip-} --skip check::check_with_undeclared_dependency" + %cargo_test -- -- --exact ${skip-} %endif From a3a0dee7aa1a400294ee61679166a19c6017bebb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 3 Jun 2026 19:11:51 +0100 Subject: [PATCH 069/106] Backport upstream fix for skipping uv check tests when offline --- 19661.patch | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ uv.spec | 14 ++++---------- 2 files changed, 56 insertions(+), 10 deletions(-) create mode 100644 19661.patch diff --git a/19661.patch b/19661.patch new file mode 100644 index 0000000..72c1f1e --- /dev/null +++ b/19661.patch @@ -0,0 +1,52 @@ +From e1abeab3147489e3d1d7385d6973cabd33d81ff6 Mon Sep 17 00:00:00 2001 +From: Aria Desires +Date: Wed, 3 Jun 2026 12:07:17 -0400 +Subject: [PATCH 1/2] Use the same feature gates on `check` tests as `format` + +The test-pypi feature is used as a proxy for "this test does networking" so people running in offline scenarios don't run them. + +Fixes #19658 +--- + crates/uv/tests/it/main.rs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/crates/uv/tests/it/main.rs b/crates/uv/tests/it/main.rs +index 30c27554ae985..cb1a3b6d660a7 100644 +--- a/crates/uv/tests/it/main.rs ++++ b/crates/uv/tests/it/main.rs +@@ -39,7 +39,7 @@ mod edit; + #[cfg(all(feature = "test-python", feature = "test-pypi"))] + mod export; + +-#[cfg(feature = "test-python")] ++#[cfg(all(feature = "test-python", feature = "test-pypi"))] + mod check; + + #[cfg(all(feature = "test-python", feature = "test-pypi"))] + +From b52907462863ccdafdde4a55fd8b050d87da32ad Mon Sep 17 00:00:00 2001 +From: Aria Desires +Date: Wed, 3 Jun 2026 13:10:53 -0400 +Subject: [PATCH 2/2] move both to r2 + +--- + crates/uv/tests/it/main.rs | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/crates/uv/tests/it/main.rs b/crates/uv/tests/it/main.rs +index cb1a3b6d660a7..27bf679237cac 100644 +--- a/crates/uv/tests/it/main.rs ++++ b/crates/uv/tests/it/main.rs +@@ -39,10 +39,10 @@ mod edit; + #[cfg(all(feature = "test-python", feature = "test-pypi"))] + mod export; + +-#[cfg(all(feature = "test-python", feature = "test-pypi"))] ++#[cfg(all(feature = "test-python", feature = "test-r2"))] + mod check; + +-#[cfg(all(feature = "test-python", feature = "test-pypi"))] ++#[cfg(all(feature = "test-python", feature = "test-r2"))] + mod format; + + mod help; diff --git a/uv.spec b/uv.spec index 30e9bb9..72dc7a6 100644 --- a/uv.spec +++ b/uv.spec @@ -154,6 +154,10 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# fix feature-gates on format and check tests to specify they access r2 +# https://github.com/astral-sh/uv/pull/19661 +Patch: %{url}/pull/19661.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -639,16 +643,6 @@ skip="${skip-} --skip user_agent_version::test_user_agent_has_linehaul" skip="${skip-} --skip user_agent_version::test_user_agent_has_subcommand" skip="${skip-} --skip user_agent_version::test_user_agent_has_version" -# Some tests for “uv check” introduced in 0.11.18 require network access -# https://github.com/astral-sh/uv/issues/19658 -skip="${skip-} --skip check::check_missing_pyproject_toml" -skip="${skip-} --skip check::check_no_project" -skip="${skip-} --skip check::check_project" -skip="${skip-} --skip check::check_ty_version_no_match" -skip="${skip-} --skip check::check_ty_version_pinned_verbose" -skip="${skip-} --skip check::check_type_error" -skip="${skip-} --skip check::check_with_undeclared_dependency" - %cargo_test -- -- --exact ${skip-} %endif From 5e8acb4addf34c36fa65a4531a950e56a444cafa Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 4 Jun 2026 01:36:21 +0200 Subject: [PATCH 070/106] Rebuilt for Python 3.15 From 4b753d0addf145f5698f4269976798b6ebd9c9eb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 4 Jun 2026 07:07:47 +0100 Subject: [PATCH 071/106] Update to 0.11.19 (close RHBZ#2484591) --- .gitignore | 1 + 19661.patch | 52 ---------------------------------------------------- sources | 2 +- uv.spec | 6 +----- 4 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 19661.patch diff --git a/.gitignore b/.gitignore index 2bba8e8..bb6bca6 100644 --- a/.gitignore +++ b/.gitignore @@ -213,3 +213,4 @@ /uv-0.11.15.tar.gz /uv-0.11.16.tar.gz /uv-0.11.18.tar.gz +/uv-0.11.19.tar.gz diff --git a/19661.patch b/19661.patch deleted file mode 100644 index 72c1f1e..0000000 --- a/19661.patch +++ /dev/null @@ -1,52 +0,0 @@ -From e1abeab3147489e3d1d7385d6973cabd33d81ff6 Mon Sep 17 00:00:00 2001 -From: Aria Desires -Date: Wed, 3 Jun 2026 12:07:17 -0400 -Subject: [PATCH 1/2] Use the same feature gates on `check` tests as `format` - -The test-pypi feature is used as a proxy for "this test does networking" so people running in offline scenarios don't run them. - -Fixes #19658 ---- - crates/uv/tests/it/main.rs | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/crates/uv/tests/it/main.rs b/crates/uv/tests/it/main.rs -index 30c27554ae985..cb1a3b6d660a7 100644 ---- a/crates/uv/tests/it/main.rs -+++ b/crates/uv/tests/it/main.rs -@@ -39,7 +39,7 @@ mod edit; - #[cfg(all(feature = "test-python", feature = "test-pypi"))] - mod export; - --#[cfg(feature = "test-python")] -+#[cfg(all(feature = "test-python", feature = "test-pypi"))] - mod check; - - #[cfg(all(feature = "test-python", feature = "test-pypi"))] - -From b52907462863ccdafdde4a55fd8b050d87da32ad Mon Sep 17 00:00:00 2001 -From: Aria Desires -Date: Wed, 3 Jun 2026 13:10:53 -0400 -Subject: [PATCH 2/2] move both to r2 - ---- - crates/uv/tests/it/main.rs | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/crates/uv/tests/it/main.rs b/crates/uv/tests/it/main.rs -index cb1a3b6d660a7..27bf679237cac 100644 ---- a/crates/uv/tests/it/main.rs -+++ b/crates/uv/tests/it/main.rs -@@ -39,10 +39,10 @@ mod edit; - #[cfg(all(feature = "test-python", feature = "test-pypi"))] - mod export; - --#[cfg(all(feature = "test-python", feature = "test-pypi"))] -+#[cfg(all(feature = "test-python", feature = "test-r2"))] - mod check; - --#[cfg(all(feature = "test-python", feature = "test-pypi"))] -+#[cfg(all(feature = "test-python", feature = "test-r2"))] - mod format; - - mod help; diff --git a/sources b/sources index 4415a51..66e8032 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.18.tar.gz) = 59ef43479bee5cc36dc5966ef5ec7bacb22e17d831ee2a0f8246d73c432cd0da76d230882afc08b31b610f92c333547285af420597f3f696a8acc30107cb2141 +SHA512 (uv-0.11.19.tar.gz) = 053c0372ded66ec8bcb109524ac67cc035722573ab4ac1a05ffcde6a126f4b67515901e45978b535e3051976effbdf89b99ebb59b62174389e3097ad058eda04 diff --git a/uv.spec b/uv.spec index 72dc7a6..3ab4d69 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.18 +Version: 0.11.19 # 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 @@ -154,10 +154,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# fix feature-gates on format and check tests to specify they access r2 -# https://github.com/astral-sh/uv/pull/19661 -Patch: %{url}/pull/19661.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From b0def776a46e712cd47ad1101e4cf8e23dd3f937 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 4 Jun 2026 11:55:05 +0100 Subject: [PATCH 072/106] Allow tikv-jemallocator 0.7 --- uv.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/uv.spec b/uv.spec index 3ab4d69..2113050 100644 --- a/uv.spec +++ b/uv.spec @@ -495,6 +495,17 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # # 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 +# We haven’t suggested this upstream because we know they use renovate with +# dependency cooldowns, and we expect they will soon update without prompting. +# 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 + %cargo_prep From 2a55ef3b100a5d41171816678d512cfdbc78343b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 7 Jun 2026 08:40:16 +0100 Subject: [PATCH 073/106] =?UTF-8?q?Further=20decrease=20max.=20parallelism?= =?UTF-8?q?=20to=20avoid=20=E2=80=9Ctoo=20many=20open=20files=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip changelog] --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 2113050..58e5715 100644 --- a/uv.spec +++ b/uv.spec @@ -178,7 +178,7 @@ ExcludeArch: %{ix86} # Compilation may fail on builders with very many cores (e.g. 192 cores) due to # “too many open files.” Try to keep the files/core ratio from getting too low. -%global _smp_ncpus_max 72 +%global _smp_ncpus_max 48 BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust2rpm-helper From dee525ae66fc16108fc3e787fa7a2cb204bb9642 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 12 Jun 2026 13:02:29 +0100 Subject: [PATCH 074/106] Update to 0.11.21 (close RHBZ#2487856) --- .gitignore | 1 + 19819.patch | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- uv.spec | 11 ++++++++- 4 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 19819.patch diff --git a/.gitignore b/.gitignore index bb6bca6..98c0bbb 100644 --- a/.gitignore +++ b/.gitignore @@ -214,3 +214,4 @@ /uv-0.11.16.tar.gz /uv-0.11.18.tar.gz /uv-0.11.19.tar.gz +/uv-0.11.21.tar.gz diff --git a/19819.patch b/19819.patch new file mode 100644 index 0000000..50b33ea --- /dev/null +++ b/19819.patch @@ -0,0 +1,69 @@ +From d89c45d63819dc2df03956ba9291a1dcb7ee574f Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Fri, 12 Jun 2026 14:50:33 +0100 +Subject: [PATCH] Conditionalize a few new tests on the test-pypi feature + +--- + crates/uv/tests/it/upgrade.rs | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/crates/uv/tests/it/upgrade.rs b/crates/uv/tests/it/upgrade.rs +index e92ef2fcbecee..2cb3e74c560cb 100644 +--- a/crates/uv/tests/it/upgrade.rs ++++ b/crates/uv/tests/it/upgrade.rs +@@ -114,6 +114,7 @@ fn upgrade_help() { + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_selects_normalized_production_dependency() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let pyproject_toml = r#" +@@ -344,6 +345,7 @@ fn upgrade_expands_compatible_constraint_for_multiple_fork_versions() -> Result< + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_updates_requirement_without_updating_lockfile_or_environment() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let initial_pyproject_toml = r#" +@@ -417,6 +419,7 @@ fn upgrade_updates_requirement_without_updating_lockfile_or_environment() -> Res + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_reports_no_solution_without_mutation() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let pyproject_toml = r#" +@@ -450,6 +453,7 @@ fn upgrade_reports_no_solution_without_mutation() -> Result<()> { + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_reports_no_version_change_without_mutation() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let pyproject_toml = r#" +@@ -784,6 +788,7 @@ fn upgrade_rejects_non_registry_source_for_top_level_extra() -> Result<()> { + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_allows_registry_source() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let empty_index = context.temp_dir.child("empty-index"); +@@ -847,6 +852,7 @@ fn upgrade_allows_registry_source() -> Result<()> { + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_ignores_inapplicable_non_registry_source() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let pyproject_toml = r#" +@@ -953,6 +959,7 @@ fn upgrade_rejects_workspace_root_non_registry_source() -> Result<()> { + } + + #[test] ++#[cfg(feature = "test-pypi")] + fn upgrade_updates_nested_workspace_member_only() -> Result<()> { + let context = uv_test::test_context!("3.12"); + let workspace_pyproject_toml = r#" diff --git a/sources b/sources index 66e8032..9491c91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.19.tar.gz) = 053c0372ded66ec8bcb109524ac67cc035722573ab4ac1a05ffcde6a126f4b67515901e45978b535e3051976effbdf89b99ebb59b62174389e3097ad058eda04 +SHA512 (uv-0.11.21.tar.gz) = c1057ff5e2387dc190d12c71fbdfddca3d99e03d2b00065f0077f9c912dbcb19ba8b81cbcd874c31f613a5ab2fafef77f6034589ccab5ee33940a6eb72714598 diff --git a/uv.spec b/uv.spec index 58e5715..6718763 100644 --- a/uv.spec +++ b/uv.spec @@ -11,7 +11,7 @@ %bcond it %{undefined el10} Name: uv -Version: 0.11.19 +Version: 0.11.21 # 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 @@ -154,6 +154,10 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch +# Conditionalize a few new tests on the test-pypi feature +# https://github.com/astral-sh/uv/pull/19819 +Patch: %{url}/pull/19819.patch + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -634,6 +638,11 @@ skip="${skip-} --skip tests::built_by_uv_building" # dependency version differing from Cargo.lock. skip="${skip-} --skip base_client::tests::retried_status_codes" +# Harmless and trivial discrepancy in an error message: +# 8 │- Caused by: error decoding response body for url (http://[LOCALHOST]/tqdm/) +# 8 │+ Caused by: error decoding response body +skip="${skip-} --skip network::retry_read_timeout_index" + # 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 # on aarch64. This is probably a race involving the SSL_CERT_FILE environment From cf8329a48c21ac349dd6a53514642a229c998f9f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 17 Jun 2026 12:15:57 +0100 Subject: [PATCH 075/106] Rebuilt with webpki-root-certs 1.0.8 From 44ed0d1deffebc21d202f6727535408ec245b476 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 17 Jun 2026 20:30:42 +0100 Subject: [PATCH 076/106] Fix skipping tests that require alternative versions of Python Some of these were moved around upstream. --- uv.spec | 69 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 29 deletions(-) diff --git a/uv.spec b/uv.spec index 6718763..a2f122e 100644 --- a/uv.spec +++ b/uv.spec @@ -1,14 +1,8 @@ %bcond check 1 -# Should we run integration tests, many of which require specific Python -# interpreter versions (major.minor, not major.minor.patch)? This adds a few -# dozen tests, but adds BuildRequires on more Pythons, and could reduce our -# confidence that everything works correctly in an environment that only has -# the main system Python. -# -# EPEL10 does not have alternative versions of Python, so we cannot run most of -# the integration tests there, and manually selecting those we can run would be -# far too tedious. -%bcond it %{undefined el10} +# Should we run tests that require specific Python interpreter versions +# (major.minor, not major.minor.patch)? This adds a few dozen tests, but adds +# BuildRequires on more Python interpreters (which aren’t available in EPEL). +%bcond other_python_versions %{undefined el10} Name: uv Version: 0.11.21 @@ -187,7 +181,7 @@ ExcludeArch: %{ix86} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust2rpm-helper BuildRequires: tomcli -%if %{with check} && %{with it} +%if %{with check} && %{with other_python_versions} # See trove classifiers in pyproject.toml for supported Pythons. BuildRequires: /usr/bin/python3.9 BuildRequires: /usr/bin/python3.10 @@ -461,24 +455,41 @@ tomcli set crates/uv/Cargo.toml lists delitem features.test-defaults \ tomcli set crates/uv-audit/Cargo.toml lists delitem features.default \ 'test-(osv)' -%if %{without it} -# Integration tests (it crate) nearly all require specific Python interpreter -# versions (major.minor, not major.minor.patch, unless the python-patch feature -# is enabled). We might choose to disable this in order to double-check that -# everything else works well with only the primary system Python in the -# environment. +%if %{without other_python_versions} +# Many of these tests require specific Python versions (major.minor, not +# major.minor.patch, unless the python-patch feature is enabled). Manually +# selecting the tests in these modules that would succeed with just the system +# Python would be far too tedious. +omit_modules() { + set -o nounset + set -o errexit + main_module="${1}" + commented_modules='' + comment='Downstream-only: skip, needs specific Python interpreter versions' + shift + while [ "${#}" != 0 ] + do + commented_modules="${commented_modules-}${commented_modules+|}${1}" + shift + done + sed --regexp-extended --in-place \ + "s@mod (${commented_modules});@// ${comment}\n#[cfg(any())]\n&@" \ + "${main_module}" +} +# -p uv --test build +omit_modules crates/uv/tests/build/main.rs build_backend # -p uv --test it: -mods="${mods-}${mods+|}branching_urls" -mods="${mods-}${mods+|}build_backend" -mods="${mods-}${mods+|}pip_(check|list|show|tree|uninstall)" -mods="${mods-}${mods+|}python_(dir|find|install|list|pin)" -mods="${mods-}${mods+|}venv" -mods="${mods-}${mods+|}version" -mods="${mods-}${mods+|}workspace" -comment='Downstream-only: skip, needs specific Python interpreter versions' -sed --regexp-extended --in-place \ - "s@mod (${mods});@// ${comment}\n#[cfg(any())]\n&@" \ - crates/uv/tests/it/main.rs +omit_modules crates/uv/tests/it/main.rs \ + auth branching_urls network upgrade version +# -p uv --test python: +omit_modules crates/uv/tests/python/main.rs \ + 'python_(dir|find|install|list|pin)' venv +# -p uv --test workspace: +omit_modules crates/uv/tests/workspace/main.rs \ + workspace 'workspace_(dir|list|metadata)' +# -p uv --test pip: +omit_modules crates/uv/tests/pip/main.rs \ + 'pip_(debug|list|show|tree|uninstall)' %endif # For unclear reasons, maturin checks for the presence of optional crate @@ -580,7 +591,7 @@ skip="${skip-} --skip keyring::tests::fetch_url_with_empty_username" skip="${skip-} --skip keyring::tests::fetch_url_with_no_username" skip="${skip-} --skip keyring::tests::fetch_url_with_password" -%if %{without it} +%if %{without other_python_versions} # These tests require specific Python interpreter versions, which upstream # normally downloads, precompiled, into the build area. skip="${skip-} --skip version::self_version" From d405e63ad8c19f6223193d32303de9b4beef92c1 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 18 Jun 2026 20:28:48 +0100 Subject: [PATCH 077/106] Rebuilt with `reflink-copy` 0.1.30 From 4b679487806d5c5433d92fd72651e7be07f2dc89 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 19 Jun 2026 06:22:44 +0100 Subject: [PATCH 078/106] Update to 0.11.22 --- .gitignore | 1 + 19819.patch | 69 ----------------------------------------------------- sources | 2 +- uv.spec | 6 +---- 4 files changed, 3 insertions(+), 75 deletions(-) delete mode 100644 19819.patch diff --git a/.gitignore b/.gitignore index 98c0bbb..a7e932f 100644 --- a/.gitignore +++ b/.gitignore @@ -215,3 +215,4 @@ /uv-0.11.18.tar.gz /uv-0.11.19.tar.gz /uv-0.11.21.tar.gz +/uv-0.11.22.tar.gz diff --git a/19819.patch b/19819.patch deleted file mode 100644 index 50b33ea..0000000 --- a/19819.patch +++ /dev/null @@ -1,69 +0,0 @@ -From d89c45d63819dc2df03956ba9291a1dcb7ee574f Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Fri, 12 Jun 2026 14:50:33 +0100 -Subject: [PATCH] Conditionalize a few new tests on the test-pypi feature - ---- - crates/uv/tests/it/upgrade.rs | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/crates/uv/tests/it/upgrade.rs b/crates/uv/tests/it/upgrade.rs -index e92ef2fcbecee..2cb3e74c560cb 100644 ---- a/crates/uv/tests/it/upgrade.rs -+++ b/crates/uv/tests/it/upgrade.rs -@@ -114,6 +114,7 @@ fn upgrade_help() { - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_selects_normalized_production_dependency() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let pyproject_toml = r#" -@@ -344,6 +345,7 @@ fn upgrade_expands_compatible_constraint_for_multiple_fork_versions() -> Result< - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_updates_requirement_without_updating_lockfile_or_environment() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let initial_pyproject_toml = r#" -@@ -417,6 +419,7 @@ fn upgrade_updates_requirement_without_updating_lockfile_or_environment() -> Res - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_reports_no_solution_without_mutation() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let pyproject_toml = r#" -@@ -450,6 +453,7 @@ fn upgrade_reports_no_solution_without_mutation() -> Result<()> { - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_reports_no_version_change_without_mutation() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let pyproject_toml = r#" -@@ -784,6 +788,7 @@ fn upgrade_rejects_non_registry_source_for_top_level_extra() -> Result<()> { - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_allows_registry_source() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let empty_index = context.temp_dir.child("empty-index"); -@@ -847,6 +852,7 @@ fn upgrade_allows_registry_source() -> Result<()> { - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_ignores_inapplicable_non_registry_source() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let pyproject_toml = r#" -@@ -953,6 +959,7 @@ fn upgrade_rejects_workspace_root_non_registry_source() -> Result<()> { - } - - #[test] -+#[cfg(feature = "test-pypi")] - fn upgrade_updates_nested_workspace_member_only() -> Result<()> { - let context = uv_test::test_context!("3.12"); - let workspace_pyproject_toml = r#" diff --git a/sources b/sources index 9491c91..5776fd1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.21.tar.gz) = c1057ff5e2387dc190d12c71fbdfddca3d99e03d2b00065f0077f9c912dbcb19ba8b81cbcd874c31f613a5ab2fafef77f6034589ccab5ee33940a6eb72714598 +SHA512 (uv-0.11.22.tar.gz) = 5c2ea2478721af3b34152809eff7a37ea19eb8ea88c912a0a75b4a112c3c56b16e798226a5c84d906633d71ee4a38d9f8fa187adc17a09c6430edcae0272c0df diff --git a/uv.spec b/uv.spec index a2f122e..06e3253 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.21 +Version: 0.11.22 # 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 @@ -148,10 +148,6 @@ Source1: uv.toml # https://github.com/astral-sh/uv/issues/4451 Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch -# Conditionalize a few new tests on the test-pypi feature -# https://github.com/astral-sh/uv/pull/19819 -Patch: %{url}/pull/19819.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} From 24393cd6e2d63bc7c0319a4f5a7b47e9fbf7bcc2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 21 Jun 2026 11:49:49 +0100 Subject: [PATCH 079/106] Update to 0.11.23 (close RHBZ#2490666) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a7e932f..15b0e92 100644 --- a/.gitignore +++ b/.gitignore @@ -216,3 +216,4 @@ /uv-0.11.19.tar.gz /uv-0.11.21.tar.gz /uv-0.11.22.tar.gz +/uv-0.11.23.tar.gz diff --git a/sources b/sources index 5776fd1..f6bf735 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.22.tar.gz) = 5c2ea2478721af3b34152809eff7a37ea19eb8ea88c912a0a75b4a112c3c56b16e798226a5c84d906633d71ee4a38d9f8fa187adc17a09c6430edcae0272c0df +SHA512 (uv-0.11.23.tar.gz) = 4d40479ca540294fbdb346ca8c2dcb91fef572d1e663951ffea2370f9d09f12140aed2029be1178332874ac80150155b88774798c6424686badf7eeef646ce3f diff --git a/uv.spec b/uv.spec index 06e3253..bee49aa 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.22 +Version: 0.11.23 # 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 From 58eb0c31633d9c506d66589d4c9047ad0f090c4b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 24 Jun 2026 11:15:22 +0100 Subject: [PATCH 080/106] Update to 0.11.24 (close RHBZ#2492025) --- .gitignore | 1 + sources | 2 +- uv.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 15b0e92..cbdf68f 100644 --- a/.gitignore +++ b/.gitignore @@ -217,3 +217,4 @@ /uv-0.11.21.tar.gz /uv-0.11.22.tar.gz /uv-0.11.23.tar.gz +/uv-0.11.24.tar.gz diff --git a/sources b/sources index f6bf735..4018252 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.23.tar.gz) = 4d40479ca540294fbdb346ca8c2dcb91fef572d1e663951ffea2370f9d09f12140aed2029be1178332874ac80150155b88774798c6424686badf7eeef646ce3f +SHA512 (uv-0.11.24.tar.gz) = 4927f0280b4041293180db6efed8c31facbb23cb4349a2383ef0488c26b21a3fc6ab98f94e7ff41bf4411f65d158208345632e130a6fae9f2bc85d40deddefec diff --git a/uv.spec b/uv.spec index bee49aa..4924912 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.23 +Version: 0.11.24 # 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 From a0ce58a6c99b418049b021db2c9e0eab1110802f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 27 Jun 2026 06:26:41 +0100 Subject: [PATCH 081/106] Update to 0.11.25 --- .gitignore | 1 + sources | 2 +- uv.spec | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cbdf68f..235ed96 100644 --- a/.gitignore +++ b/.gitignore @@ -218,3 +218,4 @@ /uv-0.11.22.tar.gz /uv-0.11.23.tar.gz /uv-0.11.24.tar.gz +/uv-0.11.25.tar.gz diff --git a/sources b/sources index 4018252..82e9d50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.24.tar.gz) = 4927f0280b4041293180db6efed8c31facbb23cb4349a2383ef0488c26b21a3fc6ab98f94e7ff41bf4411f65d158208345632e130a6fae9f2bc85d40deddefec +SHA512 (uv-0.11.25.tar.gz) = 9b993ae026d55ee8dfe13101e0fdbe026d81b77ff42b20ad42ff72c9708f2d767cde94010e69cd4f65fa8821c43958bc665893761119770deba70823d895298c diff --git a/uv.spec b/uv.spec index 4924912..bceac92 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.24 +Version: 0.11.25 # 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 @@ -97,6 +97,7 @@ Summary: An extremely fast Python package installer and resolver, written # ISC # LGPL-3.0-or-later OR MPL-2.0 # MIT +# MIT AND (MIT OR Apache-2.0) # MIT OR Apache-2.0 # MIT OR LGPL-3.0-or-later # MIT OR Zlib OR Apache-2.0 From 7e46b8e3f9bc1214461041ccbbd23f06b0afebb1 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 2 Jul 2026 06:04:00 +0100 Subject: [PATCH 082/106] Update to 0.11.26 (close RHBZ#2495097) --- .gitignore | 1 + sources | 2 +- uv.spec | 5 ++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 235ed96..2c78ba6 100644 --- a/.gitignore +++ b/.gitignore @@ -219,3 +219,4 @@ /uv-0.11.23.tar.gz /uv-0.11.24.tar.gz /uv-0.11.25.tar.gz +/uv-0.11.26.tar.gz diff --git a/sources b/sources index 82e9d50..f0835cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.25.tar.gz) = 9b993ae026d55ee8dfe13101e0fdbe026d81b77ff42b20ad42ff72c9708f2d767cde94010e69cd4f65fa8821c43958bc665893761119770deba70823d895298c +SHA512 (uv-0.11.26.tar.gz) = 8be3842d1a534765a99a130a857c860a2b6ec2dd517cbdff7f697db55500d1092b4f323459625d433635f3559a058eef98140eb65b1082394994d72c5d329ee1 diff --git a/uv.spec b/uv.spec index bceac92..6fd3ea5 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.25 +Version: 0.11.26 # 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 @@ -510,8 +510,7 @@ tomcli set crates/uv/Cargo.toml del dependencies.tracing-durations-export # tikv-jemallocator # wanted: 0.6.0 # currently packaged: 0.7.0 -# We haven’t suggested this upstream because we know they use renovate with -# dependency cooldowns, and we expect they will soon update without prompting. +# 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 \ From c05ebc571f5b8b4fa413fb78e864e6018401b5b9 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 2 Jul 2026 14:38:42 +0100 Subject: [PATCH 083/106] Simplify .gitignore [skip changelog] --- .gitignore | 223 +---------------------------------------------------- 1 file changed, 1 insertion(+), 222 deletions(-) diff --git a/.gitignore b/.gitignore index 2c78ba6..36e4cb1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,222 +1 @@ -/pubgrub-3f0ba760951ab0deeac874b98bb18fc90103fcf7.tar.gz -/reqwest-middleware-21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe.tar.gz -/rs-async-zip-011b24604fa7bc223daaad7712c0694bac8f0a87.tar.gz -/uv-0.2.32.tar.gz -/uv-0.2.33.tar.gz -/pubgrub-2fac39371a47e7cb821e510aaa4de25405413d29.tar.gz -/uv-0.2.34.tar.gz -/uv-0.2.35.tar.gz -/uv-0.2.37-filtered.tar.zst -/uv-0.3.0-filtered.tar.zst -/pubgrub-aaef464c1b0d8eea4ff9ffaee4f3458c236d10da.tar.gz -/reqwest-middleware-5e3eaf254b5bd481c75d2710eed055f95b756913.tar.gz -/uv-0.3.2-filtered.tar.zst -/uv-0.3.3-filtered.tar.zst -/pubgrub-388685a8711092971930986644cfed152d1a1f6c.tar.gz -/uv-0.3.4-filtered.tar.zst -/tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.tar.gz -/uv-0.3.5-filtered.tar.zst -/uv-0.4.0-filtered.tar.zst -/uv-0.4.1-filtered.tar.zst -/uv-0.4.2-filtered.tar.zst -/uv-0.4.4-filtered.tar.zst -/uv-0.4.5-filtered.tar.zst -/uv-0.4.6-filtered.tar.zst -/uv-0.4.7-filtered.tar.zst -/uv-0.4.8-filtered.tar.zst -/uv-0.4.9-filtered.tar.zst -/uv-0.4.10-filtered.tar.zst -/uv-0.4.15.tar.gz -/uv-0.4.16.tar.gz -/uv-0.4.17.tar.gz -/uv-0.4.18.tar.gz -/uv-0.4.19.tar.gz -/uv-0.4.20.tar.gz -/uv-0.4.21.tar.gz -/uv-0.4.22.tar.gz -/uv-0.4.23.tar.gz -/pubgrub-19c77268c0ad5f69d7e12126e0cfacfbba466481.tar.gz -/uv-0.4.24.tar.gz -/uv-0.4.25.tar.gz -/pubgrub-7243f4faf8e54837aa8a401a18406e7173de4ad5.tar.gz -/reqwest-middleware-d95ec5a99fcc9a4339e1850d40378bbfe55ab121.tar.gz -/uv-0.4.26.tar.gz -/uv-0.4.27.tar.gz -/uv-0.4.28.tar.gz -/uv-0.4.29.tar.gz -/pubgrub-95e1390399cdddee986b658be19587eb1fdb2d79.tar.gz -/uv-0.4.30.tar.gz -/uv-0.5.0.tar.gz -/uv-0.5.1.tar.gz -/uv-0.5.2.tar.gz -/rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.tar.gz -/uv-0.5.3.tar.gz -/pubgrub-57afc831bf2551f164617a10383cf288bf5d190d.tar.gz -/uv-0.5.4.tar.gz -/uv-0.5.5.tar.gz -/pubgrub-9cd9049a64c7352de2ff3b525b9ae36421b0cc18.tar.gz -/uv-0.5.6.tar.gz -/pubgrub-57832d0588fbb7aab824813481104761dc1c7740.tar.gz -/uv-0.5.7.tar.gz -/uv-0.5.8.tar.gz -/uv-0.5.9.tar.gz -/uv-0.5.10.tar.gz -/pubgrub-05e8d12cea8d72c6d2d017900e478d0abd28fef4.tar.gz -/uv-0.5.11.tar.gz -/uv-0.5.12.tar.gz -/pubgrub-648aa343486e5529953153781fc86025c73c4a61.tar.gz -/uv-0.5.13.tar.gz -/uv-0.5.14.tar.gz -/uv-0.5.15.tar.gz -/uv-0.5.16.tar.gz -/uv-0.5.17.tar.gz -/uv-0.5.18.tar.gz -/uv-0.5.19.tar.gz -/uv-0.5.20.tar.gz -/uv-0.5.21.tar.gz -/uv-0.5.22.tar.gz -/uv-0.5.23.tar.gz -/uv-0.5.24.tar.gz -/uv-0.5.25.tar.gz -/uv-0.5.26.tar.gz -/uv-0.5.27.tar.gz -/pubgrub-b70cf707aa43f21b32f3a61b8a0889b15032d5c4.tar.gz -/tokio-tar-ba2b140f27d081c463335f0d68b5f8df8e6c845e.tar.gz -/uv-0.5.28.tar.gz -/tokio-tar-efeaea927c7a40ee66121de2e1bebfd5d7a4a602.tar.gz -/uv-0.5.29.tar.gz -/uv-0.5.30.tar.gz -/uv-0.5.31.tar.gz -/uv-0.6.0.tar.gz -/uv-0.6.1.tar.gz -/uv-0.6.2.tar.gz -/uv-0.6.3.tar.gz -/uv-0.6.4.tar.gz -/uv-0.6.5.tar.gz -/uv-0.6.6.tar.gz -/uv-0.6.7.tar.gz -/uv-0.6.8.tar.gz -/uv-0.6.9.tar.gz -/uv-0.6.10.tar.gz -/uv-0.6.11.tar.gz -/uv-0.6.12.tar.gz -/uv-0.6.13.tar.gz -/uv-0.6.14.tar.gz -/uv-0.6.16.tar.gz -/uv-0.6.17.tar.gz -/pubgrub-a3b4db3abb1829ce889fb89fa6d157fef529ef7e.tar.gz -/uv-0.7.0.tar.gz -/uv-0.7.1.tar.gz -/uv-0.7.2.tar.gz -/uv-0.7.3.tar.gz -/uv-0.7.4.tar.gz -/pubgrub-73d6ecf5a4e4eb1c754b8c3255c4d31bdc266fdb.tar.gz -/uv-0.7.5.tar.gz -/uv-0.7.6.tar.gz -/uv-0.7.8.tar.gz -/pubgrub-06ec5a5f59ffaeb6cf5079c6cb184467da06c9db.tar.gz -/uv-0.7.9.tar.gz -/uv-0.7.10.tar.gz -/uv-0.7.11.tar.gz -/uv-0.7.12.tar.gz -/uv-0.7.13.tar.gz -/uv-0.7.14.tar.gz -/reqwest-middleware-ad8b9d332d1773fde8b4cd008486de5973e0a3f8.tar.gz -/uv-0.7.15.tar.gz -/uv-0.7.16.tar.gz -/uv-0.7.17.tar.gz -/uv-0.7.18.tar.gz -/uv-0.7.19.tar.gz -/uv-0.7.20.tar.gz -/uv-0.7.21.tar.gz -/uv-0.7.22.tar.gz -/uv-0.8.0.tar.gz -/uv-0.8.1.tar.gz -/uv-0.8.2.tar.gz -/uv-0.8.3.tar.gz -/uv-0.8.4.tar.gz -/uv-0.8.5.tar.gz -/uv-0.8.6.tar.gz -/rs-async-zip-285e48742b74ab109887d62e1ae79e7c15fd4878.tar.gz -/uv-0.8.7.tar.gz -/uv-0.8.8.tar.gz -/uv-0.8.9.tar.gz -/uv-0.8.10.tar.gz -/uv-0.8.11.tar.gz -/uv-0.8.12.tar.gz -/tokio-tar-f1488188f1d1b54a73eb0c42a8b8f4b9ee87d688.tar.gz -/uv-0.8.13.tar.gz -/uv-0.8.14.tar.gz -/uv-0.8.15.tar.gz -/reqwest-middleware-7650ed76215a962a96d94a79be71c27bffde7ab2.tar.gz -/uv-0.8.16.tar.gz -/uv-0.8.17.tar.gz -/uv-0.8.18.tar.gz -/uv-0.8.19.tar.gz -/uv-0.8.20.tar.gz -/pubgrub-d8efd77673c9a90792da9da31b6c0da7ea8a324b.tar.gz -/uv-0.8.21.tar.gz -/uv-0.8.22.tar.gz -/uv-0.8.23.tar.gz -/uv-0.8.24.tar.gz -/uv-0.9.0.tar.gz -/uv-0.9.1.tar.gz -/uv-0.9.2.tar.gz -/uv-0.9.3.tar.gz -/uv-0.9.4.tar.gz -/uv-0.9.5.tar.gz -/uv-0.9.6.tar.gz -/rs-async-zip-f6a41d32866003c868d03ed791a89c794f61b703.tar.gz -/uv-0.9.7.tar.gz -/uv-0.9.8.tar.gz -/uv-0.9.9.tar.gz -/uv-0.9.10.tar.gz -/uv-0.9.11.tar.gz -/uv-0.9.12.tar.gz -/uv-0.9.13.tar.gz -/uv-0.9.14.tar.gz -/uv-0.9.15.tar.gz -/uv-0.9.16.tar.gz -/uv-0.9.17.tar.gz -/uv-0.9.18.tar.gz -/uv-0.9.20.tar.gz -/uv-0.9.21.tar.gz -/uv-0.9.22.tar.gz -/uv-0.9.26.tar.gz -/uv-0.9.27.tar.gz -/uv-0.9.28.tar.gz -/uv-0.9.29.tar.gz -/uv-0.9.30.tar.gz -/uv-0.10.0.tar.gz -/uv-0.10.1.tar.gz -/uv-0.10.2.tar.gz -/uv-0.10.3.tar.gz -/uv-0.10.4.tar.gz -/uv-0.10.5.tar.gz -/uv-0.10.6.tar.gz -/uv-0.10.7.tar.gz -/uv-0.10.8.tar.gz -/uv-0.10.9.tar.gz -/uv-0.10.10.tar.gz -/uv-0.10.11.tar.gz -/uv-0.10.12.tar.gz -/uv-0.11.2.tar.gz -/uv-0.11.4.tar.gz -/uv-0.11.5.tar.gz -/uv-0.11.6.tar.gz -/uv-0.11.7.tar.gz -/uv-0.11.9.tar.gz -/uv-0.11.10.tar.gz -/uv-0.11.11.tar.gz -/uv-0.11.12.tar.gz -/uv-0.11.14.tar.gz -/uv-0.11.15.tar.gz -/uv-0.11.16.tar.gz -/uv-0.11.18.tar.gz -/uv-0.11.19.tar.gz -/uv-0.11.21.tar.gz -/uv-0.11.22.tar.gz -/uv-0.11.23.tar.gz -/uv-0.11.24.tar.gz -/uv-0.11.25.tar.gz -/uv-0.11.26.tar.gz +/uv-*.tar.gz From e0cb68f3e2b690019a3478ff8fb893fe8a7d184c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 7 Jul 2026 06:50:03 +0100 Subject: [PATCH 084/106] Update to 0.11.27 (close RHBZ#2497560) --- 20174.patch | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- uv.spec | 14 ++++- 3 files changed, 183 insertions(+), 3 deletions(-) create mode 100644 20174.patch diff --git a/20174.patch b/20174.patch new file mode 100644 index 0000000..2ae827b --- /dev/null +++ b/20174.patch @@ -0,0 +1,170 @@ +From c77c2abf16c13b3ef26fae52b6bec97a7abad65b Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Tue, 7 Jul 2026 06:57:19 +0100 +Subject: [PATCH 1/4] Add BSD-3-Clause LICENSE file to ecosystem/jupyterlab + +https://github.com/jupyterlab/jupyterlab/raw/refs/tags/v4.6.1/LICENSE +--- + test/ecosystem/jupyterlab/LICENSE | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + create mode 100644 test/ecosystem/jupyterlab/LICENSE + +diff --git a/test/ecosystem/jupyterlab/LICENSE b/test/ecosystem/jupyterlab/LICENSE +new file mode 100644 +index 0000000000000..c73604f78a1f6 +--- /dev/null ++++ b/test/ecosystem/jupyterlab/LICENSE +@@ -0,0 +1,27 @@ ++Copyright (c) 2015-2025 Project Jupyter Contributors ++All rights reserved. ++ ++Redistribution and use in source and binary forms, with or without ++modification, are permitted provided that the following conditions are met: ++ ++1. Redistributions of source code must retain the above copyright notice, this ++ list of conditions and the following disclaimer. ++ ++2. Redistributions in binary form must reproduce the above copyright notice, ++ this list of conditions and the following disclaimer in the documentation ++ and/or other materials provided with the distribution. ++ ++3. Neither the name of the copyright holder nor the names of its ++ contributors may be used to endorse or promote products derived from ++ this software without specific prior written permission. ++ ++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ++AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE ++FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ++SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER ++CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ++OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ++OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +From 0561c227905e972b0d415b0170053ce6ec278184 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Tue, 7 Jul 2026 06:58:21 +0100 +Subject: [PATCH 2/4] Add BSD-3-Clause LICENSE file to ecosystem/pandas + +https://github.com/pandas-dev/pandas/raw/refs/tags/v3.0.4/LICENSE +--- + test/ecosystem/pandas/LICENSE | 31 +++++++++++++++++++++++++++++++ + 1 file changed, 31 insertions(+) + create mode 100644 test/ecosystem/pandas/LICENSE + +diff --git a/test/ecosystem/pandas/LICENSE b/test/ecosystem/pandas/LICENSE +new file mode 100644 +index 0000000000000..bd1cc2a30c626 +--- /dev/null ++++ b/test/ecosystem/pandas/LICENSE +@@ -0,0 +1,31 @@ ++BSD 3-Clause License ++ ++Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team ++All rights reserved. ++ ++Copyright (c) 2011-2026, Open source contributors. ++ ++Redistribution and use in source and binary forms, with or without ++modification, are permitted provided that the following conditions are met: ++ ++* Redistributions of source code must retain the above copyright notice, this ++ list of conditions and the following disclaimer. ++ ++* Redistributions in binary form must reproduce the above copyright notice, ++ this list of conditions and the following disclaimer in the documentation ++ and/or other materials provided with the distribution. ++ ++* Neither the name of the copyright holder nor the names of its ++ contributors may be used to endorse or promote products derived from ++ this software without specific prior written permission. ++ ++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ++AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE ++FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ++SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER ++CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ++OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ++OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +From d21662e1800682b4058dac8bb39079620eb21400 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Tue, 7 Jul 2026 06:59:25 +0100 +Subject: [PATCH 3/4] Add MIT LICENSE file to ecosystem/poetry + +https://github.com/python-poetry/poetry/raw/refs/tags/2.4.1/LICENSE +--- + test/ecosystem/poetry/LICENSE | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + create mode 100644 test/ecosystem/poetry/LICENSE + +diff --git a/test/ecosystem/poetry/LICENSE b/test/ecosystem/poetry/LICENSE +new file mode 100644 +index 0000000000000..81a8e1e473986 +--- /dev/null ++++ b/test/ecosystem/poetry/LICENSE +@@ -0,0 +1,20 @@ ++Copyright (c) 2018-present Sébastien Eustace ++ ++Permission is hereby granted, free of charge, to any person obtaining ++a copy of this software and associated documentation files (the ++"Software"), to deal in the Software without restriction, including ++without limitation the rights to use, copy, modify, merge, publish, ++distribute, sublicense, and/or sell copies of the Software, and to ++permit persons to whom the Software is furnished to do so, subject to ++the following conditions: ++ ++The above copyright notice and this permission notice shall be ++included in all copies or substantial portions of the Software. ++ ++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ++LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ++OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +From 708d1e5dfaaaee539308d60dbbfc0faa186885fd Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Tue, 7 Jul 2026 07:06:54 +0100 +Subject: [PATCH 4/4] Add MIT LICENSE file to ecosystem/semantic-kernel + +https://github.com/microsoft/semantic-kernel/raw/refs/tags/python-1.43.1/python/LICENSE +--- + test/ecosystem/semantic-kernel/LICENSE | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + create mode 100644 test/ecosystem/semantic-kernel/LICENSE + +diff --git a/test/ecosystem/semantic-kernel/LICENSE b/test/ecosystem/semantic-kernel/LICENSE +new file mode 100644 +index 0000000000000..9e841e7a26e4e +--- /dev/null ++++ b/test/ecosystem/semantic-kernel/LICENSE +@@ -0,0 +1,21 @@ ++ MIT License ++ ++ Copyright (c) Microsoft Corporation. ++ ++ Permission is hereby granted, free of charge, to any person obtaining a copy ++ of this software and associated documentation files (the "Software"), to deal ++ in the Software without restriction, including without limitation the rights ++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ++ copies of the Software, and to permit persons to whom the Software is ++ furnished to do so, subject to the following conditions: ++ ++ The above copyright notice and this permission notice shall be included in all ++ copies or substantial portions of the Software. ++ ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++ SOFTWARE diff --git a/sources b/sources index f0835cd..19d1ff0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.26.tar.gz) = 8be3842d1a534765a99a130a857c860a2b6ec2dd517cbdff7f697db55500d1092b4f323459625d433635f3559a058eef98140eb65b1082394994d72c5d329ee1 +SHA512 (uv-0.11.27.tar.gz) = a3a019d752d359487b330d05ab2a1dd8520f5b1e8f773c0dc5935693a9572d8b8f7b21e49e5fc76f9e2436aee3ced090e80dd0f3e1274caeb6558a67119b0a88 diff --git a/uv.spec b/uv.spec index 6fd3ea5..cb64787 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.26 +Version: 0.11.27 # 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 @@ -65,12 +65,16 @@ Summary: An extremely fast Python package installer and resolver, written # BSD-2-Clause-Patent: # - test/ecosystem/github-wikidata-bot/ # BSD-3-Clause: +# - test/ecosystem/jupyterlab/ +# - test/ecosystem/pandas/ # - test/ecosystem/saleor/ # MIT: # - crates/uv-python/fetch-download-metadata.py is derived from # https://github.com/mitsuhiko/rye/tree/f9822267a7f00332d15be8551f89a212e7bc9017 # which was MIT. # - test/ecosystem/black/ +# - test/ecosystem/poetry/ +# - test/ecosystem/semantic-kernel/ # # Rust crates compiled into the executable contribute additional license terms. # To obtain the following list of licenses, build the package and note the @@ -148,6 +152,9 @@ 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 +# 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 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -645,10 +652,13 @@ skip="${skip-} --skip tests::built_by_uv_building" # dependency version differing from Cargo.lock. skip="${skip-} --skip base_client::tests::retried_status_codes" -# Harmless and trivial discrepancy in an error message: +# Harmless and trivial discrepancies in error messages: # 8 │- Caused by: error decoding response body for url (http://[LOCALHOST]/tqdm/) # 8 │+ Caused by: error decoding response body 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" # 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 From fca0e798ad68c63afbb16cc46affb4de08cfec97 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 8 Jul 2026 09:54:45 +0100 Subject: [PATCH 085/106] Update to 0.11.28 (close RHBZ#2497922) --- sources | 2 +- uv.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 19d1ff0..d3b4af9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.27.tar.gz) = a3a019d752d359487b330d05ab2a1dd8520f5b1e8f773c0dc5935693a9572d8b8f7b21e49e5fc76f9e2436aee3ced090e80dd0f3e1274caeb6558a67119b0a88 +SHA512 (uv-0.11.28.tar.gz) = b1e0468d714e70e7f4b1c9a3348ff8d7499cf463d9b59272347bfa38cc5d4d96c3913bf6c05222b26f098331cd84a3f495c4d5a4d872b45d5e735393cc3415ad diff --git a/uv.spec b/uv.spec index cb64787..070fad3 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.27 +Version: 0.11.28 # 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 From d0b910216ecd1b608cecff2ed50874ec976e6a1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:19:10 +0000 Subject: [PATCH 086/106] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From f3fac865ad5f22d0c2cc4d028789cd789305d7c2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 18 Jul 2026 08:07:42 +0100 Subject: [PATCH 087/106] Trivial whitespace reformatting [skip changelog] --- uv.spec | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/uv.spec b/uv.spec index 070fad3..b5de105 100644 --- a/uv.spec +++ b/uv.spec @@ -113,33 +113,33 @@ Summary: An extremely fast Python package installer and resolver, written # Zlib # bzip2-1.0.6 License: %{shrink: - 0BSD AND - (0BSD OR Apache-2.0 OR MIT) AND - Apache-2.0 AND - (Apache-2.0 OR BSD-2-Clause) AND - (Apache-2.0 OR BSD-2-Clause OR MIT) AND - (Apache-2.0 OR BSL-1.0) AND - (Apache-2.0 OR ISC OR MIT) AND - (Apache-2.0 OR MIT) AND - (Apache-2.0 OR MIT OR Zlib) AND - (Apache-2.0 OR MIT-0) AND - (Apache-2.0 WITH LLVM-exception) AND - (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND - BSD-3-Clause AND - CC0-1.0 AND - CDLA-Permissive-2.0 AND - ISC AND - (LGPL-3.0-or-later OR MIT) AND - (LGPL-3.0-or-later OR MPL-2.0) AND - MIT AND - MIT-0 AND - (MIT OR Unlicense) AND - MPL-2.0 AND - Unicode-3.0 AND - Unicode-DFS-2016 AND - Zlib AND - bzip2-1.0.6 - } + 0BSD AND + (0BSD OR Apache-2.0 OR MIT) AND + Apache-2.0 AND + (Apache-2.0 OR BSD-2-Clause) AND + (Apache-2.0 OR BSD-2-Clause OR MIT) AND + (Apache-2.0 OR BSL-1.0) AND + (Apache-2.0 OR ISC OR MIT) AND + (Apache-2.0 OR MIT) AND + (Apache-2.0 OR MIT OR Zlib) AND + (Apache-2.0 OR MIT-0) AND + (Apache-2.0 WITH LLVM-exception) AND + (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND + BSD-3-Clause AND + CC0-1.0 AND + CDLA-Permissive-2.0 AND + ISC AND + (LGPL-3.0-or-later OR MIT) AND + (LGPL-3.0-or-later OR MPL-2.0) AND + MIT AND + MIT-0 AND + (MIT OR Unlicense) AND + MPL-2.0 AND + Unicode-3.0 AND + Unicode-DFS-2016 AND + Zlib AND + bzip2-1.0.6 + } # LICENSE.dependencies contains a full license breakdown URL: https://github.com/astral-sh/uv Source0: %{url}/archive/%{version}/uv-%{version}.tar.gz From 9df354a5935d9f5979e6a7f9f1f98b33500861a6 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 18 Jul 2026 08:16:51 +0100 Subject: [PATCH 088/106] Avoid OOM on builders with relatively little total memory --- uv.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/uv.spec b/uv.spec index b5de105..6ba0a89 100644 --- a/uv.spec +++ b/uv.spec @@ -168,15 +168,19 @@ ExcludeArch: %{ix86} # https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo %global rustflags_debuginfo 1 -# As a separate limitation, memory exhaustion can occur on builders with very -# many CPUs. Typical workspace crates peak out at 2-4 GB per rustc invocation. -# The uv crate needs much more memory to compile and link, but in practice it -# is also compiled alone after all the other crates have finished, so it does -# not need to influence (and does not benefit from) this setting. This setting -# does not necessarily have to reflect the maximum memory required to compile a -# workspace crate; keeping it well above the average suffices in practice on -# many-core systems. Increase as needed. -%global _smp_tasksize_proc 4096 +# As a separate limitation, memory exhaustion (OOM) can occur during parallel +# portions of the build. +# - Because very many workspace crates can be built in parallel, builders with +# a very large number of CPUs may OOM. Typical workspace crates peak out at +# roughly 2–4 GB per rustc process. +# - The uv crate needs much more memory to compile and link, at least 8 GB, and +# when building the tests we may be building bin and lib versions at the same +# time, along with the it (integration test) crate, which is also rather +# large. This is a problem for “low memory” builders (<20 GB or so). +# Unfortunately, this means that we need to scale the memory per task based on +# the memory requirements of the top-level uv crate in order to avoid OOM on +# all kinds of builders. +%global _smp_tasksize_proc 10240 # Compilation may fail on builders with very many cores (e.g. 192 cores) due to # “too many open files.” Try to keep the files/core ratio from getting too low. From b1708e040e988ea5807df537ffeee35f72362391 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 22 Jul 2026 06:32:17 +0100 Subject: [PATCH 089/106] Update to 0.11.31 (close RHBZ#2501168) --- sources | 2 +- uv.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index d3b4af9..7ad4c3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.28.tar.gz) = b1e0468d714e70e7f4b1c9a3348ff8d7499cf463d9b59272347bfa38cc5d4d96c3913bf6c05222b26f098331cd84a3f495c4d5a4d872b45d5e735393cc3415ad +SHA512 (uv-0.11.31.tar.gz) = 7ae3789adccaf9fafcbb55843c719ff7167d33905587a34b2b423d04203204dcbfa9fcb8c6584ff10400d26ea71e8f44999c420511bd992ea7dfb25504b68d09 diff --git a/uv.spec b/uv.spec index 6ba0a89..6e0af43 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined el10} Name: uv -Version: 0.11.28 +Version: 0.11.31 # 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 From 6110b4aebe95585bf6857eb4c6adc334546440cb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 22 Jul 2026 07:17:53 +0100 Subject: [PATCH 090/106] Adjust the other_python_versions bcond to default off on all EPELs [skip changelog] --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 6e0af43..90199a3 100644 --- a/uv.spec +++ b/uv.spec @@ -2,7 +2,7 @@ # Should we run tests that require specific Python interpreter versions # (major.minor, not major.minor.patch)? This adds a few dozen tests, but adds # BuildRequires on more Python interpreters (which aren’t available in EPEL). -%bcond other_python_versions %{undefined el10} +%bcond other_python_versions %{undefined epel} Name: uv Version: 0.11.31 From 6e7b6c01ad0794e214459770352a154e00e32185 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 22 Jul 2026 07:19:47 +0100 Subject: [PATCH 091/106] Use pyproject long options --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 90199a3..15c8874 100644 --- a/uv.spec +++ b/uv.spec @@ -555,7 +555,7 @@ sed --regexp-extended --in-place \ %install %pyproject_install -%pyproject_save_files -L uv +%pyproject_save_files --no-assert-license uv if [ '%{python3_sitearch}' != '%{python3_sitelib}' ] then From 1e53b4b6484ade65dcf6103f7afd362b2a612aed Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 22 Jul 2026 07:22:14 +0100 Subject: [PATCH 092/106] Assert that the .dist-info directory contains license files --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 15c8874..39ea520 100644 --- a/uv.spec +++ b/uv.spec @@ -555,7 +555,7 @@ sed --regexp-extended --in-place \ %install %pyproject_install -%pyproject_save_files --no-assert-license uv +%pyproject_save_files --assert-license uv if [ '%{python3_sitearch}' != '%{python3_sitelib}' ] then From 958b78c7977e19902abda38e660fc073d74a5655 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 22 Jul 2026 07:24:40 +0100 Subject: [PATCH 093/106] Use the provisional pyproject declarative buildsystem --- uv.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/uv.spec b/uv.spec index 39ea520..331ca44 100644 --- a/uv.spec +++ b/uv.spec @@ -156,6 +156,9 @@ Patch: 0001-Downstream-patch-always-find-the-system-wide-uv-exec.patch # https://github.com/astral-sh/uv/pull/20174 Patch: %{url}/pull/20174.patch +BuildSystem: pyproject +BuildOption(install): --assert-license uv + # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} @@ -354,9 +357,7 @@ Requires: uv = %{version}-%{release} This package provides an importable Python module for uv. -%prep -%autosetup -p1 - +%prep -a # Collect license files of vendored dependencies in the main source archive install -D --preserve-timestamps --mode=0644 \ --target=LICENSE.bundled/packaging \ @@ -531,7 +532,7 @@ sed --regexp-extended --in-place \ %cargo_prep -%generate_buildrequires +%generate_buildrequires -p # For unclear reasons, maturin checks for all crate dependencies when it is # invoked as part of %%pyproject_buildrequires – including those corresponding # to optional features. @@ -543,20 +544,14 @@ sed --regexp-extended --in-place \ # Since maturin always checks for dev-dependencies, we need -t so that they are # generated even when the “check” bcond is disabled. %cargo_generate_buildrequires -a -t -%pyproject_buildrequires -%build -%pyproject_wheel - +%build -a %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies -%install -%pyproject_install -%pyproject_save_files --assert-license uv - +%install -a if [ '%{python3_sitearch}' != '%{python3_sitelib}' ] then # Maturin is really designed to build compiled Python extensions, but (when @@ -587,7 +582,7 @@ install -D --preserve-timestamps --mode=0644 \ --target='%{buildroot}%{_sysconfdir}/uv' '%{SOURCE1}' -%check +%check -a %if %{with check} # These tests rely on debug assertions, and fail when tests are compiled in # release mode: @@ -683,8 +678,6 @@ skip="${skip-} --skip user_agent_version::test_user_agent_has_version" %cargo_test -- -- --exact ${skip-} %endif -%pyproject_check_import - %files %license LICENSE-APACHE LICENSE-MIT LICENSE.dependencies LICENSE.bundled/ From 97c5cc15eec2ba5cde5fbebeb4bfceb3b1440ce1 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 24 Jul 2026 08:14:45 +0100 Subject: [PATCH 094/106] Skip some tests related to managed interpreters on riscv64 --- uv.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/uv.spec b/uv.spec index 331ca44..19e1c77 100644 --- a/uv.spec +++ b/uv.spec @@ -615,6 +615,16 @@ skip="${skip-} --skip python_list::python_list_with_mirrors" # This might be worth reporting upstream, but is not a serious issue. skip="${skip-} --skip python_pin::python_pin_resolve" %endif +%ifarch riscv64 +# These expect managed interpreters of the form +# cpython-3.##-linux-riscv64gc-any, but crates/uv-python/download-metadata.json +# only has them for cpython-3.##-linux-riscv64-gnu. It’s not weird to find +# holes in the managed interpreter support matrix for less common +# architectures. +skip="${skip-} --skip python_find::python_find" +skip="${skip-} --skip python_list::python_list" +skip="${skip-} --skip python_pin::python_pin_resolve" +%endif # Test registry_client::tests::test_redirect_to_server_with_credentials is # flaky # https://github.com/astral-sh/uv/issues/16447 From 4bd686691f8a8062d302248d884ff601aa1a1417 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 24 Jul 2026 06:48:49 +0100 Subject: [PATCH 095/106] Update to 0.11.32 (close RHBZ#2506667) --- sources | 2 +- uv.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 7ad4c3c..ea9a774 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.31.tar.gz) = 7ae3789adccaf9fafcbb55843c719ff7167d33905587a34b2b423d04203204dcbfa9fcb8c6584ff10400d26ea71e8f44999c420511bd992ea7dfb25504b68d09 +SHA512 (uv-0.11.32.tar.gz) = cd1c810400b0712f93fa8dd56ca55b726c22e33f8655ab48011f34f8c2a69d8f517ccd758f0cc0a3a293ee1eae2bac994577073d3e2cd7449ff7a43ba2f88194 diff --git a/uv.spec b/uv.spec index 19e1c77..ad26642 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined epel} Name: uv -Version: 0.11.31 +Version: 0.11.32 # 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 From e0e68f579822eba4c8763485dd3a8e598e77a037 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 27 Jul 2026 06:57:16 +0100 Subject: [PATCH 096/106] Skip a test that fails in emulated chroots --- uv.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/uv.spec b/uv.spec index ad26642..0a147d9 100644 --- a/uv.spec +++ b/uv.spec @@ -625,6 +625,15 @@ skip="${skip-} --skip python_find::python_find" skip="${skip-} --skip python_list::python_list" skip="${skip-} --skip python_pin::python_pin_resolve" %endif + +# It’s not clear what causes the trivial discrepancy, but we find that this +# fails when building in qemu-user-static emulated chroots. +# 4 │- Caused by: Failed to query Python interpreter at `[TEMP_DIR]/bar` +# 5 │- Caused by: [PERMISSION DENIED] +# 4 │+ Caused by: Querying Python at `[TEMP_DIR]/bar` failed with +# exit status exit status: 127 +skip="${skip-} --skip python_find::python_find_path" + # Test registry_client::tests::test_redirect_to_server_with_credentials is # flaky # https://github.com/astral-sh/uv/issues/16447 From 3683e38d1d9e4d46f9cc2b56a2491fcb7e49f8b7 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 31 Jul 2026 07:27:17 +0100 Subject: [PATCH 097/106] Update to 0.11.33 --- sources | 2 +- uv.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index ea9a774..7f2a53e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.32.tar.gz) = cd1c810400b0712f93fa8dd56ca55b726c22e33f8655ab48011f34f8c2a69d8f517ccd758f0cc0a3a293ee1eae2bac994577073d3e2cd7449ff7a43ba2f88194 +SHA512 (uv-0.11.33.tar.gz) = eebc671598b627b9c152da0bad7b3a723788d517b919b0be6db7bea15f89188df613ec04e0b5f1ce189d333faaabbda6649c0ef2f031bd6159cb36aac1c409b6 diff --git a/uv.spec b/uv.spec index 0a147d9..f47bc93 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined epel} Name: uv -Version: 0.11.32 +Version: 0.11.33 # 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 From 3cbb6c04d81ed6ba25abacde4b594954181607b6 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 31 Jul 2026 16:29:06 +0100 Subject: [PATCH 098/106] Update to 0.12.0 --- sources | 2 +- uv.spec | 14 ++------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/sources b/sources index 7f2a53e..ee4c492 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.11.33.tar.gz) = eebc671598b627b9c152da0bad7b3a723788d517b919b0be6db7bea15f89188df613ec04e0b5f1ce189d333faaabbda6649c0ef2f031bd6159cb36aac1c409b6 +SHA512 (uv-0.12.0.tar.gz) = 9dfcb42b4d74c9f26dbb4e6b5ed1a424aafd3c4c2920766682f9d0fa5e54f52a6e9c76fd8d78bc10f6bc0054daed7e339bb01cc79d5114fd51cfc67a27186558 diff --git a/uv.spec b/uv.spec index f47bc93..7d06664 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined epel} Name: uv -Version: 0.11.33 +Version: 0.12.0 # 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 @@ -111,7 +111,6 @@ Summary: An extremely fast Python package installer and resolver, written # Unicode-3.0 # Unlicense OR MIT # Zlib -# bzip2-1.0.6 License: %{shrink: 0BSD AND (0BSD OR Apache-2.0 OR MIT) AND @@ -137,8 +136,7 @@ License: %{shrink: MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND - Zlib AND - bzip2-1.0.6 + Zlib } # LICENSE.dependencies contains a full license breakdown URL: https://github.com/astral-sh/uv @@ -427,14 +425,6 @@ tomcli set Cargo.toml append workspace.exclude crates/uv-bench # needed here. It also brings extra dependencies that we would prefer to avoid. tomcli set Cargo.toml append workspace.exclude crates/uv-dev -# Do not request static linking of anything (particularly, liblzma) -tomcli set Cargo.toml lists delitem \ - workspace.dependencies.xz2.features 'static' -tomcli set crates/uv/Cargo.toml lists delitem \ - features.default 'uv-distribution/static' -tomcli set crates/uv-distribution/Cargo.toml del features.static -tomcli set crates/uv-extract/Cargo.toml del features.static - # Disable several default features that control which tests are compiled and # executed, and which are not usable in offline builds: # From 7f903f9dcee7f7a5ae7d45c5e906da9eba520288 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 2 Aug 2026 11:58:22 +0100 Subject: [PATCH 099/106] Update to 0.12.1 (close RHBZ#2509887) --- sources | 2 +- uv-0.12.1-revert-blake2-beta.patch | 11 +++++++++++ uv.spec | 15 ++++++++++++++- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 uv-0.12.1-revert-blake2-beta.patch 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 From 62bd08e26e6780b14f11aefff1138cfbf8d63b23 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 4 Aug 2026 23:28:34 +0100 Subject: [PATCH 100/106] Document bundling of rust-netrc crate --- uv.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/uv.spec b/uv.spec index ccb997f..c883739 100644 --- a/uv.spec +++ b/uv.spec @@ -45,6 +45,7 @@ Summary: An extremely fast Python package installer and resolver, written # MIT # - crates/uv-virtualenv/src/activator/ is vendored and forked from # python3dist(virtualenv) +# - crates/uv-netrc/ is vencored from crate(rust-netrc) # # Additionally, the following are bundled/forked but happen to be under the # same (Apache-2.0 OR MIT) terms as uv itself: @@ -274,6 +275,16 @@ Provides: bundled(crate(r-shquote)) = 0.1.1 # appear to be any prospect of unbundling. Provides: bundled(crate(keyring)) = 4.0.0~rc2 +# crates/uv-netrc +# From crates/uv-netrc/README.md, “This crate vendors the rust-netrc parser for +# use by uv. The source was vendored from gribouille/netrc, as published in +# rust-netrc 0.1.2[…]” +# +# Upstream justifies the bundling in +# https://github.com/astral-sh/uv/pull/19409, and the mandatory +# path-to-unbundling query appears in a comment on that PR. +Provides: bundled(crate(rust-netrc)) = 0.1.2 + # The contents of crates/uv-virtualenv/src/activator/ are a bundled and # slightly forked copy of a subset of https://pypi.org/project/virtualenv; see # https://github.com/pypa/virtualenv/tree/main/src/virtualenv/activation. From 049d34581dd3218022c789ccb156813d4d9cd5bb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 5 Aug 2026 06:57:56 +0100 Subject: [PATCH 101/106] More spec-file comment improvements --- uv.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/uv.spec b/uv.spec index c883739..faf62c8 100644 --- a/uv.spec +++ b/uv.spec @@ -45,7 +45,7 @@ Summary: An extremely fast Python package installer and resolver, written # MIT # - crates/uv-virtualenv/src/activator/ is vendored and forked from # python3dist(virtualenv) -# - crates/uv-netrc/ is vencored from crate(rust-netrc) +# - crates/uv-netrc/ is vendored from crate(rust-netrc) # # Additionally, the following are bundled/forked but happen to be under the # same (Apache-2.0 OR MIT) terms as uv itself: @@ -281,8 +281,11 @@ Provides: bundled(crate(keyring)) = 4.0.0~rc2 # rust-netrc 0.1.2[…]” # # Upstream justifies the bundling in -# https://github.com/astral-sh/uv/pull/19409, and the mandatory -# path-to-unbundling query appears in a comment on that PR. +# https://github.com/astral-sh/uv/pull/19409: they want unreleased bug fixes, +# including those pertaining to https://github.com/astral-sh/uv/issues/16083, +# and to avoid a dependency on thiserror v1. In response to the mandatory +# query, they report they are open to de-vendoring if a new rust-netrc release +# with the desired changes appears. Provides: bundled(crate(rust-netrc)) = 0.1.2 # The contents of crates/uv-virtualenv/src/activator/ are a bundled and From cb8c37590766e95fd2e179086e17359eb6fe7cb0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 5 Aug 2026 07:00:49 +0100 Subject: [PATCH 102/106] Ship the license file for the vendored rust-netrc --- uv.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index faf62c8..aed7ceb 100644 --- a/uv.spec +++ b/uv.spec @@ -374,7 +374,7 @@ This package provides an importable Python module for uv. %prep -a -# Collect license files of vendored dependencies in the main source archive +# Collect license files of vendored dependencies install -D --preserve-timestamps --mode=0644 \ --target=LICENSE.bundled/packaging \ crates/uv-python/python/packaging/LICENSE.* @@ -387,6 +387,8 @@ install -D --preserve-timestamps --mode=0644 \ crates/uv-build-frontend/src/pipreqs/LICENSE install -D --preserve-timestamps --mode=0644 \ --target=LICENSE.bundled/ripunzip crates/uv-extract/src/vendor/LICENSE +install -D --preserve-timestamps --mode=0644 \ + --target=LICENSE.bundled/rust-netrc crates/uv-netrc/LICENSE # The original license text from rattler_installs_packages is present in a # comment, but we want it in a separate file so we can ensure it is present in # the binary RPM. From 3e1297d8471684a3bde5b8fefdb537a598e460e9 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 5 Aug 2026 08:40:26 +0100 Subject: [PATCH 103/106] Skip another test that flakes due to racy env-vars --- uv.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uv.spec b/uv.spec index aed7ceb..26fd457 100644 --- a/uv.spec +++ b/uv.spec @@ -712,6 +712,13 @@ skip="${skip-} --skip network::retry_read_timeout_python_downloads_json" skip="${skip-} --skip user_agent_version::test_user_agent_has_linehaul" skip="${skip-} --skip user_agent_version::test_user_agent_has_subcommand" skip="${skip-} --skip user_agent_version::test_user_agent_has_version" +# Similarly, with an error like: +# Client::new(): reqwest::Error { +# kind: Builder, +# source: General("No CA certificates were loaded from the system") +# } +# There are probably more of these. +skip="${skip-} --skip retry::tests::retried_status_codes" %cargo_test -- -- --exact ${skip-} %endif From cb3df8bce7ac4d252b9a75005d9f854124a73d1b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 6 Aug 2026 07:22:38 +0100 Subject: [PATCH 104/106] Update to 0.12.2 (close RHBZ#2511719) --- sources | 2 +- uv.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 8c0e819..a72ff96 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.12.1.tar.gz) = 15c84d4b719295c1d9fca178025317d1b808f4c34a572609b78e35382bb12abdc4ba7a3b2bd1bc5576763b655b34b222be15f99c3481419f92a5f74e460ef96f +SHA512 (uv-0.12.2.tar.gz) = 4058b81df286d5702278c7a3315dc3df96aae15ae255c4cb71fa293aa9d8519842d58c8d1a00b3c2a6c33443449b0d975bc0122e972a05c9ce023e00ee260575 diff --git a/uv.spec b/uv.spec index 26fd457..8b31116 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined epel} Name: uv -Version: 0.12.1 +Version: 0.12.2 # 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 From ca46850e729f91fdd06684e01451d82807928c7a Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 8 Aug 2026 05:55:28 +0100 Subject: [PATCH 105/106] Update to 0.12.3 (close RHBZ#2512634) --- sources | 2 +- uv.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index a72ff96..ce4d7d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uv-0.12.2.tar.gz) = 4058b81df286d5702278c7a3315dc3df96aae15ae255c4cb71fa293aa9d8519842d58c8d1a00b3c2a6c33443449b0d975bc0122e972a05c9ce023e00ee260575 +SHA512 (uv-0.12.3.tar.gz) = a4933b9b9b852dee2485800ad82ee3be111a4a5a437ab32d5064cfd4004e124ba733294a546a097379c74cf1fc234d1da0488aec7725037c7b967ec1aa862a71 diff --git a/uv.spec b/uv.spec index 8b31116..49a17fc 100644 --- a/uv.spec +++ b/uv.spec @@ -5,7 +5,7 @@ %bcond other_python_versions %{undefined epel} Name: uv -Version: 0.12.2 +Version: 0.12.3 # 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 From 247904f9a8ae91df0730d2e1b950d15f3848d6f4 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 24 Aug 2026 07:33:31 +0100 Subject: [PATCH 106/106] =?UTF-8?q?Don=E2=80=99t=20explicitly=20lower-boun?= =?UTF-8?q?d=20cargo-rpm-macros=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip changelog] --- uv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.spec b/uv.spec index 49a17fc..3583aa3 100644 --- a/uv.spec +++ b/uv.spec @@ -192,7 +192,7 @@ ExcludeArch: %{ix86} # “too many open files.” Try to keep the files/core ratio from getting too low. %global _smp_ncpus_max 48 -BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: cargo-rpm-macros BuildRequires: rust2rpm-helper BuildRequires: tomcli %if %{with check} && %{with other_python_versions}