Use git repo data for building a version number according to PEP-440
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)
| Release | Stable | Testing |
|---|---|---|
| Fedora Rawhide | 2.1.0-16.fc44 | - |
| Fedora 43 | 2.1.0-16.fc43 | 2.1.0-7.fc43 |
| Fedora 42 | 2.1.0-16.fc42 | - |
| Fedora 41 | 2.1.0-16.fc41 | - |
| Fedora EPEL 9 | 1.13.6-10.el9 | - |
| Fedora EPEL 10.2 | 2.1.0-16.el10_2 | - |
| Fedora EPEL 10.1 | 2.1.0-16.el10_1 | - |
You can contact the maintainers of this package via email at
python-setuptools-git-versioning dash maintainers at fedoraproject dot org.