The pypi deploy gitlab job fails because twine 6.1.0 was released and the cicd pipeline automatically upgrades pypi.
It turns out that pypi 6.1.0 replaced pkginfo with packaging and this is causing twine to fail while trying to upload to pypi.
More about this can be seen here:
https://github.com/pypa/twine/commit/aa3a910cdef8e0a3cb4e893f4c371b58015f52e0
https://github.com/pypa/twine/pull/1180
https://github.com/pypa/setuptools/issues/4759
Since the issue is still open, the workaround here should be to force pip to specifically install twine==6.0.1
We can monitor this and revert the workaround when the issue has been fixed