Bugzilla – Bug 1222362
python3-relatorio binary missing, though python311-relatorio is present
Last modified: 2024-04-18 08:45:22 UTC
Due to the way python-relatorio is packaged in Factory, it only builds for the latest greatest Python: %{?sle15_python_module_pythons} In Factory, this is fine, but in Leap 15.6 we have two Pythons - 3.6 and 3.11 - and 3.6 is the default one. Therefore, it's unexpected to have only python311-relatorio and not python36-relatorio.
> Therefore, it's unexpected to have only python311-relatorio and not python36-relatorio. Oops, I meant: "... and not python3-relatorio" built against the default Python.
I assume the rationale for %{?sle15_python_module_pythons} in this case was that upstream might eventually drop support for Python 3.6. But that hasn't happened yet, so there doesn't seem to be any reason to limit the python-relatorio build to Python 3.11 in SLE15.
https://build.opensuse.org/request/show/1165547
@Axel, does this look reasonable to you?
As long as we have a build for python 3.11 I'm fine having a 3.6 build as well. Although we probably should use 3.11 preferrably. What python package still needs relatorio for 3.6?
> What python package still needs relatorio for 3.6? I could have written the bug description better, sorry. Let me try again: The problem here is not that we are shipping relatorio for 3.11, but rather that we are *not* shipping it for the default Python. python311-relatorio is relatorio built for Python 3.11 python3-relatorio is relatorio built for the default Python, which happens to be 3.6 in this case. In 15.5 there is no non-default Python, so we ship python3-relatorio. Folks who have installed it there will lose it when they migrate to 15.6 if we do not ship an RPM of that name in 15.6. So I argue we should continue to build and ship a python3-relatorio, in addition to python311-relatorio, in 15.6 in accordance with the principle of least astonishment. > Although we probably should use 3.11 preferrably. I don't know how we could "prefer" a non-default Python in 15.6, but I guess that's beyond the scope of this bug? Certainly, Python packages built for 3.11 will bring in python311-relatorio. Python packages built for the default Python (3.6) will bring in python3-relatorio. Assuming they are packaged correctly, of course.
In light of the following bits of information, which I didn't have when I opened this bug: nothing in SLE actually _depends_ on a python3-relatorio one of relatorio's dependencies, pycha, is only built for Python 3.11 I am closing this as WON'T FIX. Thanks, everyone, for your valuable input!