Am 17.08.23 um 12:53 schrieb Andrei Borzenkov:
* python3 == 3.1X would only work for 3.1X.0 versions. python31X-base without any version would be the correct name Well, I am not familiar with the details of python packaging. The idea is to require python3 - any version. I am sure you know much better than me how to do it.
I think you lost the original issue out of sight. The existing `python3dist(jupyterlab)` is exactly for that: any flavor is okay. We were just looking for a way to nudge zypper into the right direction, when it has a choice to fulfill the "any". Seems that a simple `Recommends:`, or even a `Suggests:` as pointed out by Dimstar in https://build.opensuse.org/request/show/1104353, is enough. Much better than adding stuff to the already overcomplex singlespec macros. (Moreover, for a package which is not even considered for the singlespec rewriter)
* This installs jupyterlab and all of its dependencies for all installed python flavors, regardless whether the user wants it really for all flavors or whether the other flavors are installed for different reasons. No, it /should/ install only the flavors for which python is already installed (or is being installed in the same transaction). If python3.9 is not present, python3.9-jupyterlab will not be required.
Yes. If python3.9 is present that does not necessarily mean the full jupyterlab stack is desired on the machine as well. Python 3.9 could be present for another reason. - Ben