My latest additions (python 3.12 initialization stuff) are in the py3 branch of the git repo in https://anders_blomdell@git.code.sf.net/p/pam-python-py3/code
Python 3.12 initialization rework
Python 3.9 fixes
Switch to using LDVERSION for -lpythonX.Y (needed for fedora31: -lpython3.7m)
Explicitly add libpythonX.Y, needed for python3.8 on fedora
Fixes for fedora
Fix installation of .so file
Replace specific versions with wildcards