'crypt' is deprecated and slated for removal in Python 3.13
https://peps.python.org/pep-0594/#crypt
Since passlib leverages the crypt module specifically in order to handle old and insecure password hashes, it may make sense to forklift the code from stdlib into the project or collaborate on creating an external fork which it can consume for Python 3.13 and later.