Note that epel-rpm-macros was added as a requirement to bring
rpmautospec-rpm-macros on EPEL 9.
rpmautospec-rpm-macros no longer exists on EPEL 10,
the macros were added to redhat-rpm-config.
The rpmautospec macros are needed for the mock_bootstrap_build test.
Technically, always pulling epel-rpm-macros is the right thing to do,
as it allows us to build SRPM correctly.
The EPEL macros are installed by default inside the mock chroot,
but not on the CI system.
Alternatively, we could build the SRPM using mock,
but that's an overkill.
[skip changelog]
Use 'discovery --how shell' for bash completion test as well,
even though it contains metadata, to be same as all other migrated
plans.
Resolves: rhbz#2383041
[skip changelog]
The long options were added in Sphinx 7.3.0, which is not available in
RHEL 9 and 10. The short option works for each of the currently supported systems.
Ref: https://www.sphinx-doc.org/en/master/changes/7.3.html
[skip changelog]
We build it in alternative Python stacks and want it to pick up
the redefined %{python3_pkgversion}. For main Python it
evaluates to 3, meaning no change in Fedora proper.
It will result in a smaller diff when creating alternative package definitions.
[skip changelog]
- Drop test requirement of python-wheel-wheel
- Use pytest-xdist to run tests faster
The motivation for this was the need to drop python-wheel-wheel in wheel 0.46+.
Due to newly gained runtime dependencies of wheel,
such wheel cannot be used as is.
I realized that when the explicit BuildRequires is removed,
the package is brought in by python3-virtualenv.
But even when python3-virtualenv drops the dependency,
the tests still passed without python-wheel-wheel.
Because the tests that require packaged wheels were all --ignored
for obsolete reasons. When unignored, they errored due to missing coverage.whl.
While attempting to fix this, I realized we cannot use the RPM packaged wheel anyway.
When the functional tests run, it takes a while, hence pytest-xdist.
---
For the record, the coverage-0-py3-none-any.whl was created as:
[project]
name = "coverage"
version = "0"
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
And coverage.py with:
def process_startup():
pass
Wheel generated by `python3 -m build` (with python3-build-1.2.1-4.fc41.noarch).
- Also build manual pages on RHEL
- The python-pip-doc package is gone but not Obsoleted, it has no dependencies
Also:
Rename the bcond,
update the CI test,
use sphinx-build without the -3 suffix,
always BR python3-sphinx (for RHEL alternate Python versions where we don't package Sphinx).
setuptools now normalizes the dist-info directory names to lowercase
according to PEP 491
Also egg-info directories are not created anymore
[skip changelog]