Skip to content

Uploads to test PyPi fail on sequential pushes #3

@ryan4984

Description

@ryan4984

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions