Wed, 18 Nov 2026 23:00:37 UTC Log in
Use git repo data for building a version number according to PEP-440 32.84 KB built 2026-10-17 13:36:51 GMT

Description

Use git repo data (latest tag, current commit hash, etc) for building a version number according to PEP 440. Features: • Can be installed & configured through both setup.py and PEP 518’s pyproject.toml • Does not require to change source code of the project • Tag-, file-, and callback-based versioning schemas are supported • Templates for tag, dev and dirty versions are separated • Templates support a lot of substitutions including git and environment information • Well-documented Limitations: • Currently the only supported VCS is Git • Only Git v2 is supported • Only Setuptools build backend is supported (no Poetry & others) • Currently does not support automatic exporting of package version to a file for runtime use (but you can use setuptools-git-versioning > file redirect instead)

Dependencies

14 total
Requires9
  • /usr/bin/python3
  • python(abi) = 3.15
  • python3.15dist(packaging)
  • python3.15dist(setuptools)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PartialHardlinkSets) <= 4.0.4-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
  • python-setuptools-git-versioning = 2.1.0-19.fc45
  • python3-setuptools-git-versioning = 2.1.0-19.fc45
  • python3.15-setuptools-git-versioning = 2.1.0-19.fc45
  • python3.15dist(setuptools-git-versioning) = 2.1
  • python3dist(setuptools-git-versioning) = 2.1
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

13
Files 1–13 of 13

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-53844-929 2026-10-29 22:06:26 expired
Buildroots 1–1 of 1