Python 3.12 support

This series of changes imports a PR/fix from upstream that only got problematic with python 3.12. It also updates the license and switches the custom _commit pkgver() setup to "git tag source"

Merge request reports

Loading