From 0a3dbadbde167f8bd6e8e79e553c777627e7749d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 1 Dec 2025 19:29:40 +0100 Subject: [PATCH 1/2] Fix build with pip 25.3+ - Fixes: rhbz#2417959 From https://pip.pypa.io/en/stable/news/#v25-3 > Remove support for the deprecated setup.py bdist_wheel mechanism. > Consequently, --use-pep517 is now always on, and --no-use-pep517 has been removed. And from https://github.com/pypa/pip/issues/6334 > By opting into pip's PEP 517 mode, you are also opting into build isolation. With build isolation enabled, pip creates temporary Python virtual environment and fetches packages from pypi.org to them, when building wheels. This does not work in offline environments. Yes, PIP_NO_BUILD_ISOLATION=0 means *disable* build isolation, despite the double negative. See https://github.com/pypa/pip/issues/5735 --- argparse-manpage.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 60d2f84..c46f882 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -139,6 +139,10 @@ Requires: python3-setuptools %if %{with check} %check +# Disable pip build isolation to make the tests work in offline environment +# Fixes https://bugzilla.redhat.com/2417959 +export PIP_NO_BUILD_ISOLATION=0 + %if %{with python2} PYTHONPATH=%buildroot%python2_sitearch %__python2 -m pytest -vv %endif @@ -187,6 +191,10 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Mon Dec 01 2025 Miro Hrončok - 4.7-4 +- Fix build with pip 25.3+ +- Fixes: rhbz#2417959 + * Fri Sep 19 2025 Python Maint - 4.7-3 - Rebuilt for Python 3.14.0rc3 bytecode From 967cf322170338aa76b353f16196c8a3dbd68e6b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:53:44 +0000 Subject: [PATCH 2/2] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index c46f882..7d88f6f 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -191,6 +191,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 4.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Mon Dec 01 2025 Miro Hrončok - 4.7-4 - Fix build with pip 25.3+ - Fixes: rhbz#2417959