https://bugzilla.redhat.com/show_bug.cgi?id=2320223
Bug ID: 2320223 Summary: Review-request: python-single-version - Utility to define version string Product: Fedora Version: rawhide OS: Linux Status: NEW Component: Package Review Severity: medium Assignee: nobody@fedoraproject.org Reporter: benson_muite@emailplus.org QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
spec: https://download.copr.fedorainfracloud.org/results/fed500/CoBang/fedora-rawh... srpm: https://download.copr.fedorainfracloud.org/results/fed500/CoBang/fedora-rawh...
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.
fas: fed500
Reproducible: Always