Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads to test PyPi fail on sequential pushes #3

Open
ryan4984 opened this issue Apr 26, 2023 · 0 comments
Open

Uploads to test PyPi fail on sequential pushes #3

ryan4984 opened this issue Apr 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ryan4984
Copy link
Collaborator

PyPI (and Test PyPI) requires unique version strings when uploading new packages. To ensure the packaging workflow doesn't break, every push triggers an upload to Test PyPI, however they currently fail after the first upload of a new release due to setuptools_scm not properly automatically incrementing the version. This is due to github actions only doing a shallow clone by default. A potential fix is to set the fetch depth to 0 in the github action when building the wheels/sdist for packaging (see here).

@ryan4984 ryan4984 added the enhancement New feature or request label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant