Bug 1226113 - Leap: Python quite outdated
Summary: Leap: Python quite outdated
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Development (show other bugs)
Version: Leap 15.6
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-08 16:05 UTC by Gunner Gewiß
Modified: 2024-06-08 20:32 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunner Gewiß 2024-06-08 16:05:05 UTC
Dear all,

I know about the Leap compatibility to SLE. But the included Python is really quite outdated. Referring to <https://de.wikipedia.org/wiki/Python_(Programmiersprache)#Versionen>. Included Python is not just old, it's too old, really outdated. Is this really necessary, even due to SLE?
Comment 1 Andreas Stieger 2024-06-08 17:06:58 UTC
Bugzilla is not the best place for this kind of query.

From https://devguide.python.org/versions/

3.12 released 2023-10-02, EOL 2028-10, bug fixes
3.11 released 2022-10-24, EOL 2027-10, security fixes
3.10 released 2021-10-04, EOL 2026-10, security fixes

$ zypper search -t package --match-exact -s python python3 python310 python311 python312
Loading repository data...
Reading installed packages...

S | Name      | Version               
--+-----------+---------+-------------
  | python    | 2.7.18-150000.65.1    
i | python3   | 3.6.15-150300.10.60.1 
  | python310 | 3.10.14-150400.4.48.1 
  | python311 | 3.11.9-150600.1.7     
  | python312 | 3.12.3-150600.1.1     

SUSE:SLE-15-SP4:Update/python310
SUSE:SLE-15-SP4:Update/python311
SUSE:SLE-15-SP6:GA/python311
SUSE:SLE-15-SP6:GA/python312

Also https://news.opensuse.org/2023/06/06/leap-modern-python-stack/
Comment 2 Gunner Gewiß 2024-06-08 20:24:20 UTC
Well, yes… and just: no!

The included Python are "python" which is 2.7, i.e. outdated by very far(!), and "python3" which is 3.6, i.e. outdated by very far(!) — "python310", "python311", "python312" are not really standard, they are not in standard use/access.

I use the Python based program "Gramps" <https://build.opensuse.org/package/show/GNOME%3AApps/gramps>. That fails to build for current release for Leap: "Gramps requires Python 3.8 or later." <https://build.opensuse.org/package/live_build_log/GNOME:Apps/gramps/15.6/x86_64>. Building it successfully is just possible with some tricks (user "ecsos" did it!) or Tumbleweed, indeed. There are other examples (I don't list here), but this one is that what I need most and am disappointed.
Comment 3 Andreas Stieger 2024-06-08 20:32:03 UTC
As indicated in comment #1, multiple python versions are available on openSUSE Leap 15.6, including very current ones. Please refer to the fine documentation about selecting the right python for builds. You may want to reach out to user support outside of bugzilla regarding your building challenges.