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/pipx] epel10.3: Update to 1.18.11 upstream release
Date: Sat, 31 Oct 2026 08:16:36 GMT [thread overview]
Message-ID: <179343459617.1.9330084148531887197.rpms-pipx-b35b46c384aa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pipx
Branch : epel10.3
Commit : b35b46c384aac91f031cfb58ce7ff176c3e221d8
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-31T07:49:42+00:00
Stats : +63/-52 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pipx/c/b35b46c384aac91f031cfb58ce7ff176c3e221d8?branch=epel10.3
Log:
Update to 1.18.11 upstream release
- Resolves: rhbz#2564396
Upstream tag: 1.18.11
Upstream commit: 2ccbdf4c
Commit co-authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index 58609cd..a059672 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,36 +1 @@
-/pipx-0.15.3.1.tar.gz
-/pipx-0.15.5.1.tar.gz
-/0.15.6.0.tar.gz
-/0.16.0.0.tar.gz
-/0.16.1.0.tar.gz
-/pipx-0.16.1.0.tar.gz
-/pipx-0.16.2.0.tar.gz
-/pipx-0.16.2.1.tar.gz
-/pipx-0.16.3.tar.gz
-/pipx-0.16.5.tar.gz
-/pipx-1.0.0.tar.gz
-/pipx-1.1.0.tar.gz
-/pipx-1.2.0.tar.gz
-/pipx-1.2.1.tar.gz
-/pipx-1.3.2.tar.gz
-/pipx-1.3.3.tar.gz
-/pipx-1.4.0.tar.gz
-/pipx-1.4.1.tar.gz
-/pipx-1.4.2.tar.gz
-/pipx-1.4.3.tar.gz
-/pipx-1.5.0.tar.gz
-/pipx-1.6.0.tar.gz
-/pipx-1.7.0.tar.gz
-/pipx-1.7.1.tar.gz
-/pipx-1.8.0.tar.gz
-/pipx-1.9.0.tar.gz
-/pipx-1.10.0.tar.gz
-/pipx-1.10.1.tar.gz
-/pipx-1.11.0.tar.gz
-/pipx-1.11.1.tar.gz
-/pipx-1.11.2.tar.gz
-/pipx-1.12.0.tar.gz
-/pipx-1.13.0.tar.gz
-/pipx-1.14.0.tar.gz
-/pipx-1.14.1.tar.gz
-/pipx-1.15.0.tar.gz
+/pipx-*.tar.gz
diff --git a/pipx.spec b/pipx.spec
index 6f439a9..a48b280 100644
--- a/pipx.spec
+++ b/pipx.spec
@@ -1,5 +1,5 @@
Name: pipx
-Version: 1.15.0
+Version: 1.18.11
Release: %autorelease
Summary: Install and run Python applications in isolated environments
@@ -13,11 +13,7 @@ Source: %{forgeurl}/archive/%{version}/pipx-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python3-devel
-
BuildRequires: /usr/bin/register-python-argcomplete
-# noxfile.py: MAN_DEPENDENCIES
-BuildRequires: python3dist(argparse-manpage[setuptools])
# The Markdown documentation is meant to be build with mkdocs. The HTML result
# is unsuitable for packaging due to various bundled and pre-minified
@@ -45,6 +41,61 @@ applications.
%prep
%autosetup
+# 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. 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.
+
+# Backport to releases with older platformdirs; upstream wants 4.12.2
+%pyproject_patch_dependency platformdirs:set_lower:4.2.2
+
+# Backport to releases with older packaging; upstream wants 26.3
+# 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.
+%pyproject_patch_dependency packaging:set_lower:24.2
+
+# Backport to releases with older hatchling; upstream wants 1.32.4
+%pyproject_patch_dependency hatchling:set_lower:1.27
+
+# Backport to releases with older argcomplete; upstream wants 3.7.2
+%pyproject_patch_dependency argcomplete:set_lower:3.2.2
+
+# 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.
+%pyproject_patch_dependency filelock:set_lower:3.15.4
+
+# Backport to releases with older docutils; upstream wants 0.21.2
+# It’s only used here for checking the generated man page.
+%pyproject_patch_dependency docutils:set_lower:0.20.1
+
+# Backport to releases with older hatch-fancy-pypi-readme; upstream wants 25.1
+%pyproject_patch_dependency hatch-fancy-pypi-readme:set_lower:24.1
+
+# Backport to releases with older hatch-vcs; upstream wants 0.5
+%pyproject_patch_dependency hatch-vcs:set_lower:0.4
+
+# EPEL10.3 has uv 0.12.7, but upstream wants 0.12.22. We can’t ship most uv
+# patch releases in non-leading EPEL branches because we aren’t permitted to
+# update its Rust dependencies.
+%pyproject_patch_dependency uv:set_lower:0.12.7
+
%generate_buildrequires
# We do not run the tests; but we add the runtime requirements as BR’s anyway
@@ -95,7 +146,7 @@ do
register-python-argcomplete --shell "${sh}" pipx > "pipx.${sh}"
done
-# noxfile.py: build_man()
+# See the “man” environment in tox.toml.
PYTHONPATH="${PWD}/src" %{python3} scripts/generate_man.py
@@ -104,7 +155,7 @@ PYTHONPATH="${PWD}/src" %{python3} scripts/generate_man.py
%pyproject_save_files -l pipx
install -D --preserve-timestamps --mode=0644 \
- --target='%{buildroot}%{_mandir}/man1' pipx.1
+ --target='%{buildroot}%{_mandir}/man1' build/man/pipx.1
install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{bash_completions_dir}' pipx.bash
@@ -133,17 +184,12 @@ install -D --preserve-timestamps --mode=0644 pipx.bash \
# Make sure the source copy of the package is not in the Python path.
mkdir --parents empty
cd empty
-
-PYTHONPATH=%{buildroot}%{python3_sitelib} \
- %{buildroot}%{_bindir}/pipx --help >/dev/null
-
-# We separately do an import smoke test, although we must note that the package
-# does not provide an API designed for external use.
-%pyproject_check_import
+%{py3_test_envvars} pipx --help >/dev/null
%files -f %{pyproject_files}
-%doc docs/*.md
+%doc docs/README.md
+%doc docs/changelog.rst
%{_bindir}/pipx
%{_mandir}/man1/pipx.1*
diff --git a/sources b/sources
index 521ff8c..66e7b2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pipx-1.15.0.tar.gz) = dfb7ea4d15e2e3cf466056cfc14436aebb522ba06432aee7a1034158c3c2a03544c45b1152a305c0089bb129def9365fe28f0f4120b9df3993d66763fd9dc2b0
+SHA512 (pipx-1.18.11.tar.gz) = 596a783b68c7687842b7c991540ece6a9761d3252e366235d7e6338cf6dc6f53eb2d8f524a9809ac0bd84aa76169df46e75b3545e7abc6bc8d2e6b10ded4da9d
reply other threads:[~2026-10-31 8:16 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=179343459617.1.9330084148531887197.rpms-pipx-b35b46c384aa@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