public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uv] epel10: Update to 0.11.21 (close RHBZ#2487856)
@ 2026-06-17 13:13 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-17 13:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/uv
Branch : epel10
Commit : dee525ae66fc16108fc3e787fa7a2cb204bb9642
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-12T14:52:59+01:00
Stats  : +81/-2 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/uv/c/dee525ae66fc16108fc3e787fa7a2cb204bb9642?branch=epel10

Log:
Update to 0.11.21 (close RHBZ#2487856)

---
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" <code@musicinmybrain.net>
+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

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

only message in thread, other threads:[~2026-06-17 13:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17 13:13 [rpms/uv] epel10: Update to 0.11.21 (close RHBZ#2487856) Benjamin A. Beasley

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