In this copr repo, I have updated pytest to 7.0.1: https://copr.fedorainfracloud.org/coprs/churchyard/pytest-7/ Based on this PR: https://src.fedoraproject.org/rpms/pytest/pull-request/25 I'd like to update pytest to 7 in Fedora 37, but python-ratelimiter 1.2.0-6.post0 fails to build. https://copr.fedorainfracloud.org/coprs/churchyard/pytest-7/package/python-ratelimiter/ + pytest-3.10 ImportError while loading conftest '/builddir/build/BUILD/ratelimiter-1.2.0.post0/tests/conftest.py'. tests/conftest.py:9: in <module> class DummyCollector(pytest.collect.File): /usr/lib/python3.10/site-packages/pytest/collect.py:34: in __getattr__ warnings.warn(PYTEST_COLLECT_MODULE.format(name=name), stacklevel=2) E pytest.PytestRemovedIn7Warning: pytest.collect.File was moved to pytest.File E Please update to the new name. There are several packages affected by this update, so I'd very much appreciate it if you could fix this failure. Please, check if your upstream hasn't already fixed it and backport the fix if possible. Report this failure to your upstream otherwise. If you need specific help, let me know. Thanks!
Not that upstream pytest says: probably not worth trying to fix, it's related to code for Python < 3.5 and no upstream commits in over 4 years despite open issues/PRs
As noted, upstream is defunct, but as long as ratelimiter is a snakemake dependency I think we’ll need to keep it around. So far the accumulating issues have been easy enough to fix ---- Fixed by upstream PR: https://github.com/RazerM/ratelimiter/pull/13 …and corresponding downstream PR: https://src.fedoraproject.org/rpms/python-ratelimiter/pull-request/2 It’s a trivial PR, but I’ll let @aniketpradhan1999 take a look at it rather than merging right away.
FEDORA-2022-eb8155d972 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-eb8155d972
FEDORA-2022-eb8155d972 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.