Skip to content

Remove setuptools-scm as build backend? #508

Description

@alexdewar

I've marked this as a question because I think we need to work out the details, but it turns out that setuptools-scm doesn't work outside of a git repo, which can be annoying for deployment.

We could just move to something else (uv_build, hatchling), but the advantage of setuptools-scm is that it dynamically generates the package version from git tags, which is convenient. We could not use it for programs, just libraries, or something, but it might be cleaner to just make the switch, even if it means users have to manually update the version number. I think this might be easiest. We could add a CI workflow to check that the git tag version and package version match.

Reported by Ryan (@TinyMarsh).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions