feat(anaconda): add python-crypt_r and ostree dependencies for python 3.13+ compatibility

Add python-crypt_r PKGBUILD to provide the crypt module removed in Python 3.13 (PEP 594), required by pyanaconda/core/users.py for password hashing.

Add python-legacy-cgi for the cgi module also removed in Python 3.13, required by python-requests-ftp imported by pyanaconda/core/util.py.

Add ostree to provide the OSTree-1.0 GI namespace required by pyanaconda/rescue.py for the rpm_ostree payload.

Add libblockdev LVM CLI mode configuration to avoid DBus dependency issues with lvmdbusd unavailable in Arch.

Update setup-aur.sh to include python-crypt_r in the local build order before python-meh.
This commit is contained in:
2026-06-17 18:35:12 +02:00
parent 92bae9e4a6
commit a4e46a4309
5 changed files with 73 additions and 1 deletions
+9
View File
@@ -108,3 +108,12 @@ winboat-bin
# 'anaconda' tire automatiquement anaconda-widgets + toutes ses dépendances
# (python-blivet, pykickstart, libreport, gtk3, NetworkManager…).
anaconda
# Module 'cgi' (retiré de Python 3.13, PEP 594) requis par python-requests-ftp
# que pyanaconda/core/util.py importe en dur. python-legacy-cgi le réintroduit.
python-legacy-cgi
# Module 'crypt'/'crypt_r' (retiré de Python 3.13, PEP 594) requis par
# pyanaconda/core/users.py (hash des mots de passe). Paquet maison (fws-local).
python-crypt_r
# Namespace GI 'OSTree-1.0' : pyanaconda/rescue.py importe le payload rpm_ostree
# (inconditionnellement, même si FWS utilise liveimg) → fourni par 'ostree'.
ostree