Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896482 - app-admin/salt: needs upgrade to Python 3.11 (PythonCompatUpdate)
Summary: app-admin/salt: needs upgrade to Python 3.11 (PythonCompatUpdate)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Patrick McLean
URL: https://github.com/saltstack/salt/pul...
Whiteboard:
Keywords: PullRequest
Depends on: 896842
Blocks: 896398
  Show dependency tree
 
Reported: 2023-02-25 09:27 UTC by Michał Górny
Modified: 2024-01-07 21:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-25 09:27:23 UTC
This package does not support Python 3.11.  Please test it with Python 3.11 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/abb5788ea81c7bbf4d40a2995b682eb9.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Patrick McLean gentoo-dev 2023-04-20 19:20:12 UTC
Upstream hasn't added support for Python 3.11 yet. URL updated with a draft PR for 3.11 support.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-03 05:25:07 UTC
Ping. Python 3.11 is now default.
Comment 3 haarp 2023-08-22 20:07:02 UTC
https://github.com/saltstack/salt/pull/64458 has been merged. Any chances of getting 3.11 into here?
Comment 4 Karl-Johan Karlsson 2023-08-22 20:36:42 UTC
(In reply to haarp from comment #3)
> https://github.com/saltstack/salt/pull/64458 has been merged. Any chances of
> getting 3.11 into here?

(Not a Saltstack or Gentoo dev, just a user interested enough in having this work for me to have read the upstream discussions.)

That PR was merged to master, not the 3006.x branch. There was also some reversion attempts going on (https://github.com/saltstack/salt/pull/64551) which I haven't followed, but implies that the support is not perfect.

Upstream's discussion about Python 3.11 seems to be mostly in the context of Debian 12, which apparently also standardised on that Python version. According to the Saltstack support lifecycle document (https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-version-support-lifecycle.html) they will explicitly not add support for new distro releases in the 3006.x LTS branch.

Reading other upstream discussions about the issue (such as https://github.com/saltstack/salt/issues/64223) it seems that proper Python 3.11 support will come in Saltstack 3007, scheduled for release in October.
Comment 5 Jonas Stein gentoo-dev 2024-01-07 18:00:50 UTC
Upstream wrote 
"Starting with Salt version 3006, the Salt Project aligns with the Python support lifecycle, which means that Salt supports the same versions of Python that are supported by the Python Software Foundation." [1] 

So we should be able to enable Python 3.11 and 3.12 in the 3006.* ebuilds.

[1] https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-python-version-support.html#salt-python-version-support