Generate version numbers from git metadata#564
Conversation
|
This is weird, I'm not entirely sure where |
|
As far as I can tell, |
|
Yes, The major upside is that the version is specified exactly one place - in the SCM metadata - and everywhere else it appears is derived from that. The major downside from my perspective is that the release version number does not actually appear in the git data in any way, so a snapshot of the library's contents from a given period in time, independent of the git repository, will not actually allow you to build the library as it appeared at that time. I think this is a minor problem, though I suppose with the right automation procedures it could be remedied in some way without doing it manually. |
|
Thanks for taking the time to reply. One pain point having a Where |
|
@joguSD That seems like a problem with |
The format is described in https://github.com/pypa/setuptools_scm, Section "Default versioning scheme".
Closes #511