pyvider-hcl 2025-09-05
Dynamic version system using VERSION file
4 files · 61+ · 1-

Dynamic VERSION file versioning

4 files changed
  • VERSION New single source of truth for version (0.0.115)
  • pyproject.toml Changed from static version to dynamic = ["version"] with setuptools.dynamic reading VERSION file
  • _version.py New module with get_version() that walks directory tree to find VERSION file, falls back to importlib.metadata, then 0.0.0-dev
  • __init__.py Exported __version__ from _version.py and added it to __all__
  • Added VERSION file containing 0.0.115 as single source of truth baseline internal
    1 file
    • VERSION
  • Changed pyproject.toml from static version = “0.0.115” to dynamic = [“version”] with setuptools.dynamic reading from VERSION file baseline internal
    1 file
    • pyproject.toml
  • Added src/pyvider/hcl/_version.py with get_version() function that walks up the directory tree to find VERSION file, falls back to importlib.metadata, then to 0.0.0-dev instantiate behavioral
    1 file
    • _version.py
  • Exported version from pyvider.hcl.init and added it to all instantiate internal
    1 file
    • __init__.py