Open marmarek opened 3 weeks ago
Take care that as if is related to cython it's independent from python3.13.
I have the same bug (and same fix working) for python 3.12.6/cython 3.0.11
Indeed Python 3.12.6 is affected too, and so is Fedora 40 and 39.
Description of the tech debt to be addressed, include links and screenshots
A recent change in Python 3.13 causes salt to fails on loading top.sls. With debugging enabled, I see now:
This seems to be directly caused by the change in Python: https://github.com/python/cpython/issues/85110
Old behavior:
New behavior:
Technically, I think the latter might be more correct. But it still breaks salt's expectations. Specifically here: https://github.com/saltstack/salt/blob/246d0664577ef72da8bd1f0c4dff0d18b4428b23/salt/utils/url.py#L49-L50
With
file:top.sls
, looking for length offile:///
is wrong now.Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)The same issue applies to Fedora 41 (in beta now). And while I tested using Salt 3006.9, the relevant code is the same in master.