Am 15.08.23 um 01:59 schrieb Andrei Borzenkov:
On Tue, Aug 15, 2023 at 11:50 AM Andreas Schwab <schwab@suse.de> wrote:
On Aug 15 2023, Axel Braun wrote:
Hello Fabian,
Hi,
Am Montag, 14. August 2023, 22:01:16 CEST schrieb Axel Braun:
Hi, current TW snapshot seems to be a large one again. Strange enough, I had python 3.10 removed from my system weeks ago, and now the latest snapshot wants to install this again. Any indication why? Run (before python310-base got installed):
zypper -v dup --debug-solver testsolv -W python310-base /var/log/zypper.solverTestCase/testcase.t *X1E:/home/docb #* testsolv -W python310-base /var/log/zypper.solverTestCase/testcase.t installed python311-ipyparallel-8.6.1-1.4.noarch@repo-oss:
Am Dienstag, 15. August 2023, 08:57:49 BST schrieb Fabian Vogt: python311-ipyparallel-8.6.1-1.3.noarch needs to stay installed or be updated installed jupyter-ipyparallel-8.6.1-1.4.noarch@repo-oss: python311-ipyparallel-8.6.1-1.4.noarch recommends jupyter-ipyparallel = 8.6.1 installed jupyter-jupyterlab-4.0.4-1.1.noarch@repo-oss: jupyter-ipyparallel-8.6.1-1.4.noarch requires jupyter-jupyterlab >= 3.6 installed python310-jupyterlab-4.0.4-1.1.noarch@repo-oss: jupyter-jupyterlab-4.0.4-1.1.noarch requires python3dist(jupyterlab) = 4.0.4 installed python310-base-3.10.12-3.2.x86_64@repo-oss: python310-jupyterlab-4.0.4-1.1.noarch requires python(abi) = 3.10
So this jupyter-stuff seems to be the bad guy: There are three packages providing python3dist(jupyterlab), and for some reason zypper selects python310-jupyterlab instead of python311-jupyterlab.
But how can zypper decide which package is the correct one? Any choice will be random.
The user has to do the selection by installing python3XX-jupyterlab. In 99% of all cases that is the primary python311 version automatically because the python311-jupyterlab package is selected through another dependency or already installed. I am surprised that previously clean installation pulls in python310-jupyterlab through this ambiguity. Suggestions to fix it without forcing python311 are welcome.
Maybe a package requiring it can be changed to versioned requires? python3.11dist(jupyterlab) etc.
The intention of python3dist() provided by all the flavor is, that the jupyter-juypterlab package works with ANY flavor. It keeps the possibility to only install a specific flavor which the user prefers to work in. Ben