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-brian2 2.5.0.3-1 fails to build. https://copr.fedorainfracloud.org/coprs/churchyard/pytest-7/package/python-brian2/ error: Installed (but unpackaged) file(s) found: /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/.gitignore /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/CACHEDIR.TAG /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/README.md /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/v/cache/nodeids /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/v/cache/stepwise Installed (but unpackaged) file(s) found: /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/.gitignore /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/CACHEDIR.TAG /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/README.md /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/v/cache/nodeids /usr/lib64/python3.10/site-packages/brian2/tests/.pytest_cache/v/cache/stepwise This is a packaging problem, there is: # remove pytest_cache rm -rf $RPM_BUILD_ROOT/%{python3_sitearch}/brian2/.pytest_cache/ But now the directory is located elsewhere. Could you please update the rm to also remove the new one? Thanks!
Done. Should be fixed in python-brian2-2.5.0.3-2.fc37
Indeed it is fixed, thanks.