Wed, 18 Nov 2026 05:28:27 UTC Log in
Utility to define version string 32.60 KB built 2026-10-17 13:47:06 GMT

Description

Utility to let you have a single source version in your code base. This utility targets modern Python projects which have layout generated by Poetry, with a pyproject.toml file in place of setup.py. With this layout, the project initially has two places to maintain the version string: one in pyproject.toml and one in some *.py file (normally __init__.py). This duplicity often leads to inconsistency when you the author forget to update both. single-version was born to solve that headache circumstance. By convention, it chooses the pyproject.toml file as original source of version string.

Dependencies

13 total
Requires12
  • (python3dist(tomli) if python3-devel < 3.11)
  • pyproject-rpm-macros
  • python3-devel
  • python3-devel
  • python3dist(packaging)
  • python3dist(pip) >= 19
  • python3dist(poetry-core)
  • python3dist(pytest)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(RichDependencies) <= 4.12.0-1
Provides1
  • python3-single-version = 1.6.0-9.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots