Hallo!
Ich hatte vorher den Thread Diskussion: Python unter Leap - Deutsch (German) / Installation/Administration - openSUSE Forums offen. Da ich offensichtlich den Titel nicht modifizieren kann (sonst hätte ich den Thread ergänzt), mache ich einen neuen Thread auf.
Ich möchte das Programm Gramps (Python) in seiner aktuellen Version (Leap 15.5 und 15.6 bisher jeweils nur 5.1.6, Tumbleweed allerdings tatsächlich 5.2.2) nutzen.
Unter Leap 15.5 und 15.6 liegt es offiziell nur in v5.1.6 vor. Die v5.2.2 benötigt Python >= 3.8, siehe failed und failed. Für Tumbleweed gibt es aber einen Build, siehe succeeded.
Bei Leap (15.5 bzw. 15.6) liegt Python mit “python”=2.7 sowie “python3”=3.6 bei. Sowie “python310”, “python311”, “python312”. Ja, die sind höher und alle mindestens das verlangte 3.8. Aber als Standard gibt es direkt nur 2.7 und 3.6.
Bekomme ich das mit Bordmitteln irgendwie zum Laufen? Ich habe derzeit ein Paket, das zwar gebaut hat, aber nicht ausgeführt wird (es wird nur ein leeres GUI-Fenster mit py311 in der Titelzeile angezeigt und wenn ich gramps über Konsole starte diverse Fehlermeldungen…).
Mein OBS ist Show home:C7NhtpnK / gramps_by_ecsos - openSUSE Build Service (Hinweis: es hat gebaut, aber es läuft nicht…).
User “ecsos” hat es laut eigener Auskunft erfolgreich gebaut (und kann es laufen lassen), siehe Show home:ecsos / gramps - openSUSE Build Service. (Hinweis: laut seiner Auskunft hat er ein eigenes Python Repo, in dem er Python selbst baut. Keine Ahnung, wie sich das auswirkt.)
Der Vollständigkeit halber noch:
gunnersson@tulicube:~> sudo zypper lr -d
[sudo] Passwort für root:
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+--------------------------------------------------------+-------------------------------------------------------------------+---------+-----------+---------+----------+------+-------------------------------------------------------------------------------------------------------+--------
1 | GWDG-PackMan-SuSE | GWDG-PackMan-SuSE | Ja | ( p) Ja | Ja | 95 | N/A | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6/ |
2 | openSUSE-Distribution-OSS | openSUSE-Distribution-OSS | Ja | ( p) Ja | Ja | 99 | N/A | https://mirrorcache-eu.opensuse.org/distribution/leap/15.6/repo/oss/?COUNTRY=de |
3 | openSUSE-Repositories-Devel-Languages-Python | openSUSE-Repositories-Devel:Languages:Python | Nein | ---- | ---- | 105 | N/A | https://mirrorcache-eu.opensuse.org/repositories/devel:/languages:/python/15.6/?COUNTRY=de |
4 | openSUSE-Repositories-Devel-Languages-Python-Backports | openSUSE-Repositories-Devel:Languages:Python:Backports | Nein | ---- | ---- | 105 | N/A | https://mirrorcache-eu.opensuse.org/repositories/devel:/languages:/python:/backports/15.6/?COUNTRY=de |
5 | openSUSE-Repositories-Hardware | openSUSE-Repositories-Hardware | Ja | ( p) Ja | Ja | 95 | N/A | https://mirrorcache-eu.opensuse.org/repositories/hardware/15.6/?COUNTRY=de |
6 | openSUSE-Repositories-Home-Gunner_Gewiß | openSUSE-Repositories-Home:Gunner_Gewiß (7zip, Gramps, XFractint) | Ja | ( p) Ja | Ja | 95 | N/A | https://mirrorcache-eu.opensuse.org/repositories/home:/C7NhtpnK/15.6/?COUNTRY=de |
7 | openSUSE-Repositories-Home-Jan_Sundermeyer | openSUSE-Repositories-Home:Jan_Sundermeyer (TeXstudio) | Ja | ( p) Ja | Ja | 95 | N/A | https://mirrorcache-eu.opensuse.org/repositories/home:/jsundermeyer/15.6/?COUNTRY=de |
8 | openSUSE-Repositories-LibreOffice | openSUSE-Repositories-LibreOffice:7.6 | Ja | ( p) Ja | Ja | 95 | N/A | https://mirrorcache-eu.opensuse.org/repositories/LibreOffice:/7.6/15.6/?COUNTRY=de |
9 | openSUSE-Repositories-Mozilla | openSUSE-Repositories-Mozilla | Ja | ( p) Ja | Ja | 95 | N/A | https://mirrorcache-eu.opensuse.org/repositories/mozilla/openSUSE_Leap_15.6/?COUNTRY=de |
10 | openSUSE-Repositories-Security | openSUSE-Repositories-Security | Ja | ( p) Ja | Ja | 95 | N/A | https://mirrorcache-eu.opensuse.org/repositories/security/15.6/?COUNTRY=de |
11 | openSUSE-Repositories-System-Snappy | openSUSE-Repositories-System:Snappy | Ja | ( p) Ja | Ja | 105 | N/A | https://mirrorcache-eu.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.6/?COUNTRY=de |
12 | openSUSE-Update-Backports | openSUSE-Update-Backports | Ja | ( p) Ja | Ja | 99 | N/A | https://mirrorcache-eu.opensuse.org/update/leap/15.6/backports/?COUNTRY=de |
13 | openSUSE-Update-OSS | openSUSE-Update-OSS | Ja | ( p) Ja | Ja | 99 | N/A | https://mirrorcache-eu.opensuse.org/update/leap/15.6/oss/?COUNTRY=de |
14 | openSUSE-Update-SLE | openSUSE-Update-SLE | Ja | ( p) Ja | Ja | 99 | N/A | https://mirrorcache-eu.opensuse.org/update/leap/15.6/sle/?COUNTRY=de |
Hinweis: die beiden Python Repos waren zwischendurch noch aktiviert und hatten schon mal Prio 95.
Zum Abschluss möchte ich noch auf 1226113 – Leap: Python quite outdated verweisen, deswegen schreibe ich ja explizit hier.