salt
salt copied to clipboard
[TECH DEBT] Requirements for Py3.11/12 are out of sync (severely outdated)
Description of the tech debt to be addressed, include links and screenshots
Installing Salt in a Python 3.11/12 venv causes very outdated dependencies to be pinned.
I noticed this during development of a Salt extension that indirectly depends on more-itertools >=8.10
for tests. It seems the dependency bumps from https://github.com/saltstack/salt/pull/64391 were not applied for Python 3.11/12, thus the latest Salt release requires more-itertools==5.0.0
(released 2018, 6 years ago) and the venv setup fails.
https://github.com/saltstack/salt/blob/8a72d487b3f32e2aa313c343da31426f35d22cef/requirements/static/ci/py3.8/linux.txt#L270 https://github.com/saltstack/salt/blob/8a72d487b3f32e2aa313c343da31426f35d22cef/requirements/static/ci/py3.9/linux.txt#L266 https://github.com/saltstack/salt/blob/8a72d487b3f32e2aa313c343da31426f35d22cef/requirements/static/ci/py3.10/linux.txt#L272
vs
https://github.com/saltstack/salt/blob/8a72d487b3f32e2aa313c343da31426f35d22cef/requirements/static/ci/py3.11/linux.txt#L267 https://github.com/saltstack/salt/blob/8a72d487b3f32e2aa313c343da31426f35d22cef/requirements/static/ci/py3.12/linux.txt#L267
Versions Report
dev env with salt>=3006
requirement