FS#78409 - [salt] Salt 3005.1 broken with python 3.11
Attached to Project:
Community Packages
Opened by Martin Dratva (raqua) - Friday, 05 May 2023, 08:31 GMT
Last edited by Toolybird (Toolybird) - Monday, 08 May 2023, 20:44 GMT
Opened by Martin Dratva (raqua) - Friday, 05 May 2023, 08:31 GMT
Last edited by Toolybird (Toolybird) - Monday, 08 May 2023, 20:44 GMT
|
Details
Description:
Salt is failing due to some changes in Python 3.11. Salt 3006 should handle this correctly, but I have not tested it. Additional info: * package version(s) Salt: 3005.1 Python: 3.11.3 * link to upstream bug report, if any https://github.com/saltstack/salt/issues/63631 Steps to reproduce: Set up salt master config file: file.prepend: - text: | state_events: True failhard: False pillar_merge_lists: True file_roots: base: - /srv/salt/states/ pillar_roots: base: - /srv/salt/pillars/ - name: /etc/salt/master |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 08 May 2023, 20:44 GMT
Reason for closing: Fixed
Additional comments about closing: salt 3006.1-1
Monday, 08 May 2023, 20:44 GMT
Reason for closing: Fixed
Additional comments about closing: salt 3006.1-1
https://github.com/QubesOS/qubes-salt/blob/5ca1131ab0a478d0a2fc147596afb0dbfefd78f1/pr62677.patch
I've tested it only quite a bit. The compilation works and installing it with pacman does work without a hassle.
But, when running a highstate, a new error appears. (Something mentioning about "No package metadata was found for salt")
https://paste.gg/p/anonymous/a3ec1074cf3c4560ab39aa226e911e99
Maybe this log can help to come up with a suitable solution.
Please check if it works again for you. For me it does.
There may be the possibility, that `python-looseversion` from the AUR is required.
Please test first, if it works without.
Please check if it works again for you. For me it does.
There may be the possibility, that `python-looseversion` from the AUR is required.
Please test first, if it works without.
Fyi: I've opened a Bug-report regarding the python-looseversion package.
https://bugs.archlinux.org/task/78441?project=5&string=salt