The following warning can be found in journal when the installer is starting: anaconda: misc: /usr/lib64/python3.12/site-packages/pyanaconda/core/users.py:31: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13 import crypt # pylint: disable=deprecated-module Python 3.13 is planned for Fedora 41: https://fedoraproject.org/wiki/Releases/41/ChangeSet#Changes/Python3.13 Replace the usage of the crypt module before Python 3.13 lands in Rawhide. Reproducible: Always
The yescript was made default for password hashing in https://fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow Related anaconda update PR: https://github.com/rhinstaller/anaconda/pull/3431 The crypt module is now deprecated, recommended replacements don't seem do provide the algorithm. Björn, do you have any recommendation how we could run yescript from python when the crypt module is removed? Thank you.
We are about to package the removed crypt module as a standalone Python package. That should be useable in anaconda as a drop-in replacement. Will keep you posted. The project is currently at https://github.com/fedora-python/crypt but it is not yet ready to be published on PyPI and packaged in Fedora. I estimate it will be ready this week.
Thank you!