Skip to main content

Bi-directional version.cfg <–> requirements.txt synchronization

Project description

vereqsyn

Test PyPI - Version PyPI - Python Version

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

Installation

pip install vereqsyn

Usage

vereqsyn --help
vereqsyn versions.cfg requirements.txt

Constraints

  • versions.cfg is the source of truth. requirements.txt can get recreated.
  • So versions.cfg can contain comments, the ones in requirements.txt are lost when running recreate.

Hacking

Run the tests

hatch run cov

Run the code formatter

To lint the code:

hatch fmt

To format the code:

hatch fmt -f

Cut a release

  • Update release date in Changes.md.

  • hatch build

  • cd dist
    twine upload -r pypi
    rm vereqsyn-*
    
  • hatch version <new version number>

  • Update Changes.md: Enter new version as unreleased.

License

vereqsyn is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vereqsyn-1.1.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vereqsyn-1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file vereqsyn-1.1.tar.gz.

File metadata

  • Download URL: vereqsyn-1.1.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for vereqsyn-1.1.tar.gz
Algorithm Hash digest
SHA256 1d0a15a13bff8d1ef26078c151d5cfbe33b7f70f8789ee696724f889af8991b7
MD5 857c559868471c94c7e28c92344e2798
BLAKE2b-256 50156c1a2a0bccf35cd79b2cb501d18d2e38049bff66b16c1fbc9a9c089ffeb8

See more details on using hashes here.

File details

Details for the file vereqsyn-1.1-py3-none-any.whl.

File metadata

  • Download URL: vereqsyn-1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for vereqsyn-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad002a5a1cf9cf8ef5d5cc52cf05367be46b365973f22f683a5495a691ee4d35
MD5 caacafe47d371a06f0fcf6f4fb36e984
BLAKE2b-256 41c9b932892f94c79634748274cbbe5a8f707c50935cd33e2ca6c8a609ec7c31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page