Hello,
recently we have updated pytest to 5, but version 6 is out and I feel confident that the update is safe, hence I plan to merge and ship pytest 6.0.1 in Fedora 33+ in couple days:
https://src.fedoraproject.org/rpms/pytest/pull-request/17
I've analyzed the build failures with pytest 6.0.0rc1:
https://src.fedoraproject.org/rpms/pytest/pull-request/17#comment-50314
And later with 6.0.1:
https://src.fedoraproject.org/rpms/pytest/pull-request/17#comment-52937
Most of the failures are caused by PytestDeprecationWarning treated as error. If your package FTBFS, you should see the reason in one of the comments there ^
As a short term mitigation, you can disable this treatment, see
https://docs.pytest.org/en/stable/changelog.html#breaking-changes
PytestDeprecationWarning are now errors by default.
Following our plan to remove deprecated features with as little disruption as possible, all warnings of type PytestDeprecationWarning now generate errors instead of warning messages.
The affected features will be effectively removed in pytest 6.1, so please consult the Deprecations and Removals section in the docs for directions on how to update existing code.
https://docs.pytest.org/en/latest/deprecations.html
In the pytest 6.0.X series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your pytest.ini file:
[pytest] filterwarnings = ignore::pytest.PytestDeprecationWarning
But this will stop working when pytest 6.1 is released.
If you have concerns about the removal of a specific feature, please add a comment to https://github.com/pytest-dev/pytest/issues/5584
And if nothing else works, you can still use pytest 4, see:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
python-devel@lists.fedoraproject.org