public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pipx] f43: Update to 1.18.10 upstream release
@ 2026-10-31  6:50 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-31  6:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pipx
            Branch : f43
            Commit : 7209b61ae99e52dc3c11ec03bc7f6f2e5c38cbe3
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-31T06:33:33+00:00
            Stats  : +63/-7 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/pipx/c/7209b61ae99e52dc3c11ec03bc7f6f2e5c38cbe3?branch=f43

            Log:
            Update to 1.18.10 upstream release

- Resolves: rhbz#2563768
- Backport to Fedora 45/44/43 and to EPEL10

Upstream tag: 1.18.10
Upstream commit: ee53654f

Commit co-authored by Packit automation (https://packit.dev/)

---
diff --git a/pipx.spec b/pipx.spec
index 2d4847d..4d73652 100644
--- a/pipx.spec
+++ b/pipx.spec
@@ -1,5 +1,5 @@
 Name:           pipx
-Version:        1.18.9
+Version:        1.18.10
 Release:        %autorelease
 Summary:        Install and run Python applications in isolated environments
 
@@ -36,13 +36,69 @@ applications.
 # In 1.17.11, dependencies were bumped to the latest versions in
 # https://github.com/pypa/pipx/pull/2063, but this was not due to any
 # particular requirements, so we should be able to safely loosen these as
-# needed.
-#
-# Allow older platformdirs for now; upstream wants 4.12.2
-# https://bugzilla.redhat.com/show_bug.cgi?id=2440135
+# needed. There is some risk of regressions if too many dependencies are
+# loosened too far, so (since we can’t run the tests here) we’ve attempted to
+# validate each of these by running the tests in a git checkout with
+# dependencies temporarily pinned to the older versions. It’s worth going to
+# some lengths to backport a current pipx to older releases since a huge number
+# of security flaws were patched in version 1.18.10,
+# https://github.com/pypa/pipx/security.
+
+# Very temporary, due to a long Final Freeze
+%if %{defined fc45}
+%pyproject_patch_dependency uv:set_lower:0.12.9
+%endif
+
+# Backport to releases with older platformdirs; upstream wants 4.12.2
+# We can remove F45 from this conditional after Final Freeze, since
+# platformdirs 4.13.5 is in updates-testing.
+%if %{defined fc45} || %{defined fc44}
 %pyproject_patch_dependency platformdirs:set_lower:4.9.1
-# Allow older filelock for now; upstream wants 4.0.9
+%endif
+%if %{defined fc43}
+%pyproject_patch_dependency platformdirs:set_lower:4.4
+%endif
+
+# Backport to releases with older packaging; upstream wants 26.3
+%if %{defined fc45}
+%pyproject_patch_dependency packaging:set_lower:26.2
+%endif
+# Downgrades to version 25 or below *do* lead to a few new failures in e.g.
+# test_parse_specifier_for_upgrade. It is not trivial to establish whether this
+# is a regression, in the sense that something worked with an old version of
+# pipx and an old version of packaging, but not with a new version of pipx and
+# the same version of packaging, or whether instead the new pipx has placed
+# new, additional expectations on packaging, and it’s just these that aren’t
+# satisfied. In the latter case, some things still don’t work that ought to,
+# but they didn’t work before, either – pipx just wasn’t testing for them.  In
+# any case, the failures seem to be in sufficiently specialized situations that
+# we hope any issues will be counterbalanced by the major fixes in current pipx
+# releases.
+%if %{defined fc44} || %{defined fc43}
+%pyproject_patch_dependency packaging:set_lower:25
+%endif
+
+# Backport to releases with older hatchling; upstream wants 1.32.4
+%if %{defined fc43} || %{defined fc44} || %{defined fc45}
+%pyproject_patch_dependency hatchling:set_lower:1.31
+%endif
+
+# Backport to releases with older argcomplete; upstream wants 3.7.2
+%if %{defined fc43} || %{defined fc44} || %{defined fc45}
+%pyproject_patch_dependency argcomplete:set_lower:3.6.3
+%endif
+
+# Backport to releases with older filelock; upstream wants 4.2
+#
+# It looks like the *test* test_run_skips_a_cache_entry_held_by_another_run
+# requires a cancel_check keyword added in 4.x, but the *library* doesn’t.
+%if %{defined fc43} || %{defined fc44}
+%pyproject_patch_dependency filelock:set_lower:3.15.4
+%else
+# In any case, even Rawhide currently has filelock 3.x:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2439356
 %pyproject_patch_dependency filelock:set_lower:3.20.3
+%endif
 
 
 %generate_buildrequires -p

diff --git a/sources b/sources
index 228cfb2..6a61219 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pipx-1.18.9.tar.gz) = 8043ba0083557b0fbfe5f8adb71b3c26789c3615061c5e49bb2d7df34f64d9b73713079c3edab49ccc70050e8bccd3051dc75dc0f848867f51ec9b2426b53354
+SHA512 (pipx-1.18.10.tar.gz) = 436c78fbe6638c8c14350d1debbf08d14a6f9699980489995349b0686b3c67f7fae6a733d772754ea3d5ab3b15437719092d958bcdae4b3bca14c05f4ee0e511

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

only message in thread, other threads:[~2026-10-31  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31  6:50 [rpms/pipx] f43: Update to 1.18.10 upstream release 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