Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
967cf32217 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:53:44 +00:00
Miro Hrončok
0a3dbadbde 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
2025-12-01 19:29:40 +01:00
Python Maint
b7465240f7 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:07:32 +02:00
Python Maint
0a30dc8704 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:38:35 +02:00

View file

@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too.
Name: argparse-manpage
Version: 4.7
Release: 1%{?dist}
Release: 5%{?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,19 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Mon Dec 01 2025 Miro Hrončok <mhroncok@redhat.com> - 4.7-4
- Fix build with pip 25.3+
- Fixes: rhbz#2417959
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 4.7-3
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 4.7-2
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Aug 15 2025 Pavel Raiskup <praiskup@redhat.com> - 4.7-1
- new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.7