Skip to content

Conversation

@dannywillems
Copy link
Contributor

Summary

  • Replace hardcoded __VERSION__ = "0.1.9" in client.py with importlib.metadata.version("leakix")
  • Single source of truth for version from pyproject.toml
  • Fixes version drift (was 0.1.9 in code, 0.1.10 in pyproject.toml)

Test plan

  • All 70 existing tests pass
  • from leakix import __version__ returns correct version

Closes #29

Replace hardcoded __VERSION__ = "0.1.9" in client.py with
importlib.metadata.version() sourced from pyproject.toml. This
fixes version drift (pyproject.toml had 0.1.10) and establishes
a single source of truth for the package version.

Closes #29
@dannywillems dannywillems merged commit bb78fc2 into main Feb 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use importlib.metadata.version() for __version__

1 participant