On 2021-04-27 20:32:07 +1000 (+1000), Nick Coghlan wrote: [...] > The simplest resolution would be to drop the ".taskslab11419" section, and > just make the version 0.2.0 instead. Alternatively, if keeping the number > is important, you could make a dev release (0.2.0.dev11419), or use a 4 > segment version number (0.2.0.11419). [...]
And yet another option is to record it in custom PEP 566 metadata at package build time. Modules like setuptools_scm and pbr use this to store Git commit identifiers and similar information so that programs can access the data at runtime (e.g. for annotating their version output). -- Jeremy Stanley
signature.asc
Description: PGP signature
-- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-le...@python.org https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/distutils-sig@python.org/message/4TA2OOWHLQBG6TSSWPD3LWOI47ZOYMJ4/