Dear all,
pytest-runner has been considered deprecated upstream since 2019: https://github.com/pytest-dev/pytest-runner/commit/78a492cb9f611a4fccaf6556c...
and the repo upstream was archived over a year ago (December 3, 2023).
As such, and given the test suite never worked (it ran 0 tests, see https://kojipkgs.fedoraproject.org//packages/python-pytest-runner/4.0/24.fc4...) prior to `setup.py test` being removed in setuptools 74 (https://bugzilla.redhat.com/show_bug.cgi?id=2319709) and that the only test defined requires Internet access anyway - I've now disabled tests and added import checks instead, and marked the package as `deprecated()` - so this should not be used for new packages.
The upstream deprecation notice provided a guidance for switching away from `pytest-runner` - you should always be able to just invoke `%pytest` directly anyway
Affected packages (maintainers bcc-ed)
bst-external : python3dist(pytest-runner) cozy : python3dist(pytest-runner) pyp2rpm : python3dist(pytest-runner) python-accuweather : python3dist(pytest-runner) python-aioasuswrt : python3dist(pytest-runner) python-aiohttp-sse-client : python3dist(pytest-runner) python-arpeggio : python3dist(pytest-runner) python-astral : python3dist(pytest-runner) python-cid : python3dist(pytest-runner) python-cs : python3dist(pytest-runner) python-datrie : python3dist(pytest-runner) python-decopatch : python3dist(pytest-runner) python-devolo-home-control-api : python3dist(pytest-runner) python-django-prometheus : python3dist(pytest-runner) python-flask-caching : python3dist(pytest-runner) python-flask-gravatar : python3dist(pytest-runner) >= 2.6.2 python-gios : python3dist(pytest-runner) python-healpy : python3dist(pytest-runner) python-inject : python3dist(pytest-runner) python-makefun : python3dist(pytest-runner) python-multiaddr : python3dist(pytest-runner) python-multibase : python3dist(pytest-runner) python-multicodec : python3dist(pytest-runner) python-multihash : python3dist(pytest-runner) python-ncclient : python3dist(pytest-runner) python-nixio : python3dist(pytest-runner) python-pytest-cases : python3dist(pytest-runner) python-pytest-harvest : python3dist(pytest-runner) python-pytest-steps : python3dist(pytest-runner) python-reflink : python3dist(pytest-runner) python-slackclient : python3dist(pytest-runner) python-ssdeep : python3dist(pytest-runner) python-token-bucket : python3dist(pytest-runner) python-waterfurnace : python3dist(pytest-runner) python-xdfile : python3dist(pytest-runner) spec2scl : python3dist(pytest-runner) vyper : python3dist(pytest-runner)
Best regards,
On Mon, Dec 23, 2024 at 05:52:02PM -0600, Michel Lind wrote:
Dear all,
pytest-runner has been considered deprecated upstream since 2019: https://github.com/pytest-dev/pytest-runner/commit/78a492cb9f611a4fccaf6556c...
and the repo upstream was archived over a year ago (December 3, 2023).
As such, and given the test suite never worked (it ran 0 tests, see https://kojipkgs.fedoraproject.org//packages/python-pytest-runner/4.0/24.fc4...) prior to `setup.py test` being removed in setuptools 74 (https://bugzilla.redhat.com/show_bug.cgi?id=2319709) and that the only test defined requires Internet access anyway - I've now disabled tests and added import checks instead, and marked the package as `deprecated()` - so this should not be used for new packages.
Thanks to Ben Beasley for reminding me this requires a Change Proposal - I've now filed
https://fedoraproject.org/wiki/Changes/DeprecatePythonPytestRunner
Happy holidays,
python-devel@lists.fedoraproject.org