Overview

Request 1128277 accepted

Fix package requires and tests


Johannes Kastl's avatar

Out of interest, why is python3-XXX "wrong" in the Requires?

As python2 is obsolete this is maybe just an academic question, but having python-XXX would result in also having proper Requires when building for python2?


Daniel Garcia's avatar

In packages that uses the python-rpm-macros, %python_subpackages, should define the requires as python-XXX, the macro will take care of that and will modify that require for each subpackage so the python3.11 package will require python311-XXX, the python3.10 package will require python310-XXX and so https://en.opensuse.org/openSUSE:Packaging_Python#Requires,_Provides_and_similar


Johannes Kastl's avatar

Yes, but that seems to also work if this is written as python3-XXX. At least I encountered several packages where that seemed to be the case.

Request History
Daniel Garcia's avatar

dgarcia created request

Fix package requires and tests


Johannes Kastl's avatar

ojkastl_buildservice accepted request

Thanks a lot!

openSUSE Build Service is sponsored by