Bi-directional versions.cfg <–> requirements.txt synchronization
The name vereqsyn stands for version.cfg reqirements.txt synchronization.
This program can be used to synchronize a versions.cfg used by
zc.buildout with a requirements.txt
as used by pip.
This is be helpful to keep using zc.buildout but get version updates via
GitHub's Dependabot.
Table of Contents
pip install vereqsynvereqsyn --help
vereqsyn versions.cfg requirements.txtversions.cfgis the source of truth.requirements.txtcan get recreated.- So
versions.cfgcan contain comments, the ones inrequirements.txtare lost when running recreate.
hatch run covTo lint the code:
hatch fmtTo format the code:
hatch fmt -f-
Update release date and maybe version number in
Changes.md. -
Commit changes.
-
Create a git tag.
-
hatch build -
cd dist twine upload -r pypi * rm vereqsyn-*
-
hatch version <new version number> -
Update
Changes.md: Enter new version as unreleased. -
Commit and push changes.
vereqsyn is distributed under the terms of the MIT license.