Pytest 5.1 removed support for passing string to `pytest.raises`, and mdp uses this all over the testing suite.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fedpkg clone python-mdp
2. fedpkg mockbuild
TypeError: '...' object (type: <class 'str'>) must be callable
for various strings
You can grab a fix from upstream here:
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.
your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.
If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate . If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.
Following the policy for such packages , your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2020-08-27).
A week before the mass branching of Fedora 35 according to the schedule ,
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.
*** Bug 1865302 has been marked as a duplicate of this bug. ***