Remove setuptools-scm as build backend?
#526
Alex Dewar (alexdewar)
started this conversation in
General
Replies: 2 comments 4 replies
|
I've made this a discussion because I'm not sure it's obvious what we want to do here... What does everyone think? Happy to go with the majority position! Ryan (@TinyMarsh) Adrian D'Alessandro (@AdrianDAlessandro) Christopher Cave-Ayland (@cc-a) |
4 replies
|
I've just come across this tool, which might be an alternative to I'm not sure what the advantages are tbh, but it could be worth a look. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've marked this as a question because I think we need to work out the details, but it turns out that
setuptools-scmdoesn'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 ofsetuptools-scmis 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).
All reactions