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.
Upstream hasn't added support for Python 3.11 yet. URL updated with a draft PR for 3.11 support.
Ping. Python 3.11 is now default.
https://github.com/saltstack/salt/pull/64458 has been merged. Any chances of getting 3.11 into here?
(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.
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
There's a py3.11+ version in ::gentoo already.