Hello Pythonistas.
When dealing with python-nose removals I noticed the python-pytest7 package sues nose in tests. Those tests could be easily skipped, but I wonder if it isn't time to get rid of pytest7 (and pluggy1.3).
The tracking bugzilla https://bugzilla.redhat.com/2256331 now only depends on 3 open bugzillas, all of them now have open PRs that fix them:
git-up https://bugzilla.redhat.com/2272982 https://src.fedoraproject.org/rpms/git-up/pull-request/2
python-django-extensions https://bugzilla.redhat.com/2274104 https://src.fedoraproject.org/rpms/python-django-extensions/pull-request/6
python-remoto https://bugzilla.redhat.com/2275251 https://src.fedoraproject.org/rpms/python-remoto/pull-request/3
Repoqueries:
$ comm -23 <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pytest = 7' | sort) <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pytest = 8' | sort) python-django-extensions-0:3.2.3-8.fc42.src python-pluggy1.3-0:1.3.0-9.fc42.src
$ comm -23 <(repoquery -q --repo=rawhide{,-source} --whatrequires python3-pytest7 | sort) <(repoquery -q --repo=rawhide{,-source} --whatrequires python3-pytest | sort) git-up-0:2.2.0-9.fc42.src python-odata-query-0:0.10.0b1-4.fc42.src python-watchfiles-0:1.0.3-3.fc42.src
That is (apart from already listed packages):
https://src.fedoraproject.org/rpms/python-odata-query/pull-request/7 https://src.fedoraproject.org/rpms/python-watchfiles/pull-request/4
And pluggy 1.3 is only used by pytest 7:
$ comm -23 <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pluggy = 1.3' | sort) <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pluggy = 1.5' | sort) (nothing)
$ comm -23 <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pluggy1.3' | sort) <(repoquery -q --repo=rawhide{,-source} --whatrequires 'python3-pluggy' | sort) python-pytest7-0:7.4.3-4.fc42.src python3-pytest7-0:7.4.3-4.fc42.noarch
On 31-01-2025 18:17, Miro Hrončok via python-devel wrote:
When dealing with python-nose removals I noticed the python-pytest7 package sues nose in tests. Those tests could be easily skipped, but I wonder if it isn't time to get rid of pytest7 (and pluggy1.3).
How about making this part of the python-nose retirement change proposal? At some point, pytest offered some functionality to run nose tests [1]. Obviously, projects still relying on nose should long have migrated to pytest proper and are probably no longer being looked after themselves.
With Fedora having migrated to pytest 8 [2], which no longer supports running nose tests, it kind of makes sense to drop both packages simultaneously.
[1] https://docs.pytest.org/en/7.4.x/how-to/nose.html [2] https://fedoraproject.org/wiki/Changes/Pytest_8
-- Sandro
On 02. 02. 25 12:50, Sandro via python-devel wrote:
On 31-01-2025 18:17, Miro Hrončok via python-devel wrote:
When dealing with python-nose removals I noticed the python-pytest7 package sues nose in tests. Those tests could be easily skipped, but I wonder if it isn't time to get rid of pytest7 (and pluggy1.3).
How about making this part of the python-nose retirement change proposal? At some point, pytest offered some functionality to run nose tests [1]. Obviously, projects still relying on nose should long have migrated to pytest proper and are probably no longer being looked after themselves.
With Fedora having migrated to pytest 8 [2], which no longer supports running nose tests, it kind of makes sense to drop both packages simultaneously.
I don't think we should mix the two things together.
I also want to retire pytest7 from f42, and nose from f43.
python-devel@lists.fedoraproject.org