Fedora Account System
Red Hat Associate
Red Hat Customer
I'm testing an update of pytest to 7.2.0 and I've discovered that this package fails to build with it. The reason is a change related to `py` package. `py` is an independent package developed by the same team as pytest and it has been bundled in pytest for quite some time. The `py` package itself is now in maintenance mode and pytest developers decided to bundle only a subset of its functionalities in pytest since version 7.2.0. It seems that python-pytest-xprocess needs some parts of `py` that are no longer available in pytest (including deprecated `py.test` itself). There are two possible solutions: 1. Drop dependency on `py`. That requires some coordination with upstream but it's generally a good idea long-term. 2. Add python3-py to build dependencies. `py` package installed from python3-py will have a higher priority than py.py module bundled in pytest. This is a quick workaround but given the status of `py` project, it's only temporary. If you want to, you can find the failed build in https://copr.fedorainfracloud.org/coprs/lbalhar/pytest/
Upstream report exists https://github.com/pytest-dev/pytest-xprocess/issues/110 and workaround as well https://github.com/pytest-dev/pytest-xprocess/pull/112
By the way, adding python3-py and a build dependency is not enough, there are also some PytestDeprecationWarnings.
https://src.fedoraproject.org/rpms/python-pytest-xprocess/pull-request/1
FEDORA-2022-d725ea7aa7 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d725ea7aa7
FEDORA-2022-d725ea7aa7 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.