public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-uv-build] epel10: Update to 0.7.14
Date: Sun, 16 Aug 2026 07:55:09 GMT [thread overview]
Message-ID: <178686690901.1.9236048652132252658.rpms-python-uv-build-aa10948611ae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-uv-build
Branch : epel10
Commit : aa10948611ae2c7d904a014ebbfb7dd81b871ea3
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2025-06-26T00:46:28-04:00
Stats : +48/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-uv-build/c/aa10948611ae2c7d904a014ebbfb7dd81b871ea3?branch=epel10
Log:
Update to 0.7.14
---
diff --git a/.gitignore b/.gitignore
index b2c36f3..be6e9db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,5 @@
/uv_build-0.7.11.tar.gz
/uv_build-0.7.12.tar.gz
/uv_build-0.7.13.tar.gz
+/uv_build-0.7.14.tar.gz
+/reqwest-middleware-ad8b9d332d1773fde8b4cd008486de5973e0a3f8.tar.gz
diff --git a/python-uv-build.spec b/python-uv-build.spec
index 56a4673..7262e07 100644
--- a/python-uv-build.spec
+++ b/python-uv-build.spec
@@ -1,7 +1,7 @@
%bcond check 1
Name: python-uv-build
-Version: 0.7.13
+Version: 0.7.14
Release: %autorelease
Summary: The uv build backend
@@ -16,6 +16,7 @@ Summary: The uv build backend
# output of %%{cargo_license_summary}. This should automatically include the
# licenses of the following bundled forks:
# - pubgrub/version-ranges, Source200, is MPL-2.0.
+# - reqwest-middleware/reqwest-retry, Source300, is (MIT OR Apache-2.0).
#
# (Apache-2.0 OR MIT) AND BSD-3-Clause
# (MIT OR Apache-2.0) AND Unicode-3.0
@@ -87,6 +88,19 @@ Source: %{pypi_source uv_build}
%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 ad8b9d332d1773fde8b4cd008486de5973e0a3f8
+%global reqwest_middleware_snapdate 20250607
+%global reqwest_retry_baseversion 0.7.0
+Source300: %{reqwest_middleware_git}/archive/%{reqwest_middleware_rev}/reqwest-middleware-%{reqwest_middleware_rev}.tar.gz
+
BuildSystem: pyproject
BuildOption(install): -l uv_build
@@ -115,6 +129,11 @@ License: %{license} AND %{extra_crate_licenses}
%global pubgrub_snapinfo %{pubgrub_snapdate}git%{sub %{pubgrub_rev} 1 7}
%global version_ranges_version %{version_ranges_baseversion}^%{pubgrub_snapinfo}
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_retry_version %{reqwest_retry_baseversion}^%{reqwest_middleware_snapinfo}
+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
@@ -164,6 +183,30 @@ install -t LICENSE.bundled/version-ranges -D -p -m 0644 \
crates/version-ranges/LICENSE
git2path workspace.dependencies.version-ranges crates/version-ranges
+# See comments above Source300:
+%setup -q -T -D -b 300 -n uv_build-%{version}
+pushd '../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-middleware'
+%autopatch -p1 -m300 -M399
+popd
+# Upstream has only modified reqwest-retry, so we may as well use the system
+# copy of reqwest-middleware.
+rm -rv '../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-middleware'
+tomcli set Cargo.toml del 'workspace.dependencies.reqwest-middleware.git'
+tomcli set Cargo.toml del 'workspace.dependencies.reqwest-middleware.rev'
+tomcli set Cargo.toml str 'workspace.dependencies.reqwest-middleware.version' \
+ '0.4.2'
+tomcli set Cargo.toml del patch.crates-io.reqwest-middleware
+ln -s '../../reqwest-middleware-%{reqwest_middleware_rev}/reqwest-retry' \
+ crates/reqwest-retry
+git2path workspace.dependencies.reqwest-retry crates/reqwest-retry
+tomcli set Cargo.toml del patch.crates-io.reqwest-retry
+tomcli set crates/reqwest-retry/Cargo.toml del \
+ 'dependencies.reqwest-middleware.path'
+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'
+
# Collect license files of vendored dependencies in the main source archive
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-*
diff --git a/sources b/sources
index b67c525..ed8448e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
-SHA512 (uv_build-0.7.13.tar.gz) = 44026e1139c95d082871a93d7d456684b07aa0b8f34609aabf1b7a74a81431a6811973e141cdc98c377b65e06b8ed56c6ca2393688132b6813363a00e622a911
+SHA512 (uv_build-0.7.14.tar.gz) = 93cfa587093a8dc285e67c747891cb46b52ee7289d48fa57f3ede697d3c6be023cab4fd1dec32d4dae23030fe63ee9329d5b64f80c553b2fb5e65eac37771024
SHA512 (pubgrub-06ec5a5f59ffaeb6cf5079c6cb184467da06c9db.tar.gz) = 3f0b18aecbc73fee91fc7de9f10d240ddc06c836fa2f116c1f007dd7818d099e6aea1852ca0b8d1a26ac19aac896535dba1a6298851a65515b553810c6245784
+SHA512 (reqwest-middleware-ad8b9d332d1773fde8b4cd008486de5973e0a3f8.tar.gz) = 2dad83835c87cdd79e2a08c19b5024b3fdf30d1d8cd14e480e434612e856ecc20a5404881ff81d5793d3e9d5808ee3d59ce920312a86a100535009da43d7d46b
reply other threads:[~2026-08-16 7:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178686690901.1.9236048652132252658.rpms-python-uv-build-aa10948611ae@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox