This updates the publishing routine based on this guide.
Added features
creates an automatic release on tagging, hence we only need to tag and anything will be created automatically
adds the packages to the github release
signs the github packages with sigstore
Remarks
In principle it's also possible to upload each build to test.pypi to make it available. However, the setuptools scm version makes problems in this case because it always contains a localpart (+g<hash>) which is not allowed for test.pypi. There are discussions for adapting this behaviour (https://github.com/pypa/setuptools_scm/issues/455 and https://github.com/pypa/setuptools_scm/issues/478). I decided for now that this feature is not really important for, so I removed it. Just wanted to mention it here in case we want to have it in the future.
This updates the publishing routine based on this guide.
Added features
Remarks
In principle it's also possible to upload each build to test.pypi to make it available. However, the setuptools scm version makes problems in this case because it always contains a localpart (
+g<hash>
) which is not allowed for test.pypi. There are discussions for adapting this behaviour (https://github.com/pypa/setuptools_scm/issues/455 and https://github.com/pypa/setuptools_scm/issues/478). I decided for now that this feature is not really important for, so I removed it. Just wanted to mention it here in case we want to have it in the future.