Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by Pascal Bryner (Veldora) - Friday, 05 May 2023, 10:01 GMT
There seems to be a patch that tries to backport the python 3.11 support to salt 3005:
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.
Comment by Pascal Bryner (Veldora) - Monday, 08 May 2023, 06:42 GMT
Salt 3006.1 has been released to the repos.
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.
Comment by Pascal Bryner (Veldora) - Monday, 08 May 2023, 08:50 GMT
Salt 3006.1 has been released to the repos.
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.
Comment by Martin Dratva (raqua) - Monday, 08 May 2023, 08:54 GMT
It works for me now, but python-looseversion was required.
Comment by Morten Linderud (Foxboron) - Monday, 08 May 2023, 09:05 GMT
I'll fix python-looseversion later then :)
Comment by Martin Dratva (raqua) - Monday, 08 May 2023, 09:12 GMT
Thank you!
Comment by Pascal Bryner (Veldora) - Monday, 08 May 2023, 14:38 GMT
@Foxboron
Fyi: I've opened a Bug-report regarding the python-looseversion package.
https://bugs.archlinux.org/task/78441?project=5&string=salt

Loading...