pydftracer names builds between tags <last tag>.postN.dev0 and publishes them from develop
Context#
pydftracer has no version file. The git tag is the only version, read by setuptools-scm in setup.py. The old scheme for builds between tags was <next>.devN, which differs from the sibling repositories dftracer and dftracer-utils.
Decision#
Builds between tags are named <last tag>.postN.dev0, the same as dftracer-utils. Pushes to develop publish these builds to PyPI. A commit that is exactly on a tag is skipped, because the release event publishes it. Any version-bump script only has to compute and create the next tag, not edit a file.
Why#
One scheme in all three repositories. The .dev0 suffix makes the builds prereleases, so a plain pip install does not pick them (see PEP 440 note).
Rejected options#
The old <next>.devN scheme, because it differs from the sibling repositories.
Also found by searching
- pydftracer develop build version 1.0.4.dev12 differs from dftracer-utils 1.0.3.post12.dev0
- what version name should pydftracer builds between tags get, and do they get published?
- how does pydftracer version and publish its develop branch builds to PyPI?
- setuptools-scm local scheme postdev for nightly builds, skip publish when commit is exactly on a tag
- pydftracer develop builds named next.devN differ from dftracer-utils scheme, what is the current naming?
- how does pydftracer publish between-tag versions to PyPI from develop?
- version string for pydftracer build after last tag with commits since
- setuptools-scm setup.py no version file, develop push publish skips exactly tagged commit