GitLab publish workflow is broken

I'm not exactly sure what's going on here, but the version of the v0.0.5 patchset I pushed to jsnow/setuptools-fix published to the GitLab package index fine, while the pipeline that ran on qemu-project/main didn't.

Looking at the build artifacts, the only difference between python-qemu-qmp-build-package-setuptools-fix-7f02b345.zip (from my branch) and python-qemu-qmp-build-package-main-7f02b345 (from qemu-project/main) is the version number in the metadata:

jsnow@jsnow-thinkpadp16vgen1 ~> diff -bu python-qemu-qmp-build-package-setuptools-fix-7f02b345/dist/qemu_qmp-0.0.0a2.dev130+g7f02b345f/PKG-INFO python-qemu-qmp-build-package-main-7f02b345/dist/qemu_qmp-0.0.5.dev4+g7f02b345f/PKG-INFO 
--- python-qemu-qmp-build-package-setuptools-fix-7f02b345/dist/qemu_qmp-0.0.0a2.dev130+g7f02b345f/PKG-INFO	2025-10-01 17:16:51.727277000 -0400
+++ python-qemu-qmp-build-package-main-7f02b345/dist/qemu_qmp-0.0.5.dev4+g7f02b345f/PKG-INFO	2025-10-02 14:09:54.460280000 -0400
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: qemu.qmp
-Version: 0.0.0a2.dev130+g7f02b345f
+Version: 0.0.5.dev4+g7f02b345f
 Summary: QEMU Monitor Protocol library
 Home-page: https://gitlab.com/qemu-project/python-qemu-qmp
 Author: QEMU Project

Given that, I am not actually sure why it succeeds on my branch, but fails on main:

jsnow/setuptools-fix: https://gitlab.com/jsnow/python-qemu-qmp/-/jobs/11570371086 origin/main: https://gitlab.com/qemu-project/python-qemu-qmp/-/jobs/11582273988

The logs for both the package build and the package upload look astonishingly similar; the only thing that stands out is that the version setuptools_scm picks up for the branch build is suspiciously older than the one from the main branch; but the contents of the .tar.gz files themselves are otherwise identical except for the PKG-INFO files which differ only by that version string.

No idea.