The python-pip rpms
- 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).
|
||
|---|---|---|
| tests | ||
| .gitignore | ||
| changelog | ||
| dummy-certifi.patch | ||
| nowarn-pip._internal.main.patch | ||
| python-pip.rpmlintrc | ||
| python-pip.spec | ||
| remove-existing-dist-only-if-path-conflicts.patch | ||
| sources | ||