Hi Axel, Am 16.03.22 um 15:36 schrieb Axel Braun:
unresolvable: nothing provides if, nothing provides %python-base < 3.8, I had seen a similar issue before, and seem to remember that it was related to some basic packages (like python-setuptools, rpm-macros and similar). Can one check the status on the SLE side and push an upgrade?
Leap 15.4 beta: python3-setuptools 44.1 (in TW: 58.3) python-rpm-macros seems to be up-to-date
There is still no prjconf definition for the "if" syntax found in the specfile. I have warned about this in various places. - https://bugzilla.opensuse.org/show_bug.cgi?id=1187473#c15 - https://bugzilla.opensuse.org/show_bug.cgi?id=1194422#c7 - Big fat warning box in https://en.opensuse.org/openSUSE:Packaging_Python#BuildRequires - https://lists.opensuse.org/archives/list/packaging@lists.opensuse.org/messag... So again, one last time: Dear Leap/SLE 15.4 Python maintainers: You need the following section in the appropriate prjconf for the distribution: Macros: ## PYTHON MACROS BEGIN # adapted form of https://github.com/openSUSE/python-rpm-macros/blob/master/default-prjconf for SLE/Leap 15.4 # requires python-rpm-macros >= 20210204 %pythons %{?!skip_python3:python3} %add_python() %{expand:%%define pythons %1 %pythons} # This method for generating python_modules gets too deep to expand for rpm at about 5 python flavors. # Hence, python_module_iter is replaced by python_module_lua in macros.lua. # However, OBS cannot expand lua, but has a much higher expansion depth, so this works fine for the server side resolver. %python_module_iter(a:) %{expand:%%define python %{-a*}} ( %python-%args ) %{expand:%%{?!python_module_iter_%1:%%{python_module_iter -a%*}}%%{?python_module_iter_%1}} # pseudo-undefine for obs: reset for the next expansion within the next call of python_module %python_module_iter_STOP %global python %%%%python %python_module() %{?!python_module_lua:%{expand:%%define args %{**}} %{expand:%%{python_module_iter -a %{pythons} STOP}}}%{?python_module_lua:%python_module_lua %{**}} ## PYTHON MACROS END :Macros - Ben