Skip to content

specify correct version in setup.py, 0.10.9, fix #20

The latest release of pyalpm is 0.10.9, as reflected in the git tags. However, the version is also specified in setup.py, which is currently stuck on 0.10.6. When the CI tries to upload to pypi, it uses the setup.py version instead of the tag, which then leads to the new version being rejected, because it has already been published.

Uploading pyalpm-0.10.6.tar.gz
(...)
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
         File already exists.

see https://gitlab.archlinux.org/archlinux/pyalpm/-/jobs/222611

This brings the setup.py version in line with the latest tag, 0.10.9.

To make sure pypi uploads work again, a new release (0.10.10?) would be much appriciated. On this and all further releases, the setup.py version needs to be set along with the git tag.

Merge request reports