Skip to content

Build workflow not inferring version number correctly #283

Closed
@matt-graham

Description

@matt-graham

Within the build workflow the cibuildwheel jobs are not correctly inferring the version number using setuptools_scm from the Git tags due to
actions/checkout#1471 which means that the tags are not being checked out by the actions/checkout step. See for example this run.

We need to update the checkout Action configuration to explicitly request tags:

- uses: actions/checkout@v4
  with:
    fetch-depth: 0
    fetch-tags: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructureIssues related to infrastructure for repository and project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions