This request is superseded by
request 1096243
(Show diff)
Overview
Loading...
author
source maintainer
I'm trying to get this building for 15.5 as my dependency chain for python-mailman requires python-meson-python. However I don't get the tests working. Could someone help?
Login required, please
login
in order to comment
Request History
gladiac created request
- Use sle15_python_module_pythons
- Some spec cleanup
- Added meson-test-remove-python2.patch
gnome-review-bot accepted review
Check script succeeded
gnome-review-bot approved review
Check script succeeded
dimstar declined request
See comments - there should be sufficient to work on
most notably:
* the python-* requires are used literally,referencing python2
* python_moudles translates to all python flavors on TW (workaround, redefine pythons to python3)
no need to guard it for undefined: we want to be all flavors have it defined (empty flavor intentionally defines it to %nil)
this makes no sense: on TW, python_modules expands to all python flavors. meson is part of ring0 (distro bootstrap) and consuming more than the main distro version is not wanted at all
i.e this works as your prjconf contains
%pythons %{?!skip_python2:python2} %{?!skip_python3:python3}
this can't be duplicated into TW
without %python_subpackages in use, these python-* macros won't be translated and will be in the RPM literally as python-*
see https://build.opensuse.org/package/binary/home:gladiac:mailman/meson/15.5/x86_64/meson-1.1.1-lp155.271.1.noarch.rpm
this confirms it in the 15.5 build of meson
that sounds noble, but imho is even more confusing.
better use
%endif %dnl with setuptools
I got everything working on Tumbleweed, Leap 15.5 still fails. Help is much appreciated.
as for the 15.5 test suite:
shebang of /usr/bin/meson on 15.5 is:
as such it tries to load the python modules for meson out of the default python version directories (3.6), not from the 3.11 flavor