Non-tag releases to test.pypi.org fail #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
wheel naming doesn't match standard python versioning except at tags.
For instance
2668a880ee
results in a python package version of0.1.dev1+g2668a88
.This name makes sense since the most recent tag is v0.1.0 so I would actually be quite happy with this naming however CI fails to upload this package to test.pypi.org with the following error:
I don't really want to mess with this naming. Yes, I could come up with my own way of denoting local versions that PyPi would tolerate but that's bypassing some intentional safeguards for PyPi. From what I've seen, the recommended way to handle this is either to not push to testpypi or use a devpi server instead which can accept local versions.
At the end of the day, I don't really need to use testpypi at all. I was only doing it because the guide told me how to and it seemed like a convenient way to always know that my pipelines are publishing properly.
Other people having this issue:
https://github.com/pypa/setuptools-scm/issues/322
More python publishing notes for gitea:
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi-and-testpypi