Skip to content

Releases: decitre/python-proto-topy

v2.0.0

17 Mar 14:23

Choose a tag to compare

Added

  • ProtoModule now accepts file_path=None: a unique filename (definition_N.proto) is auto-generated via a class-level counter.
  • Python 3.13 and 3.14 support added to classifiers and CI matrix.
  • ty type-checker added to the lint tox environment.
  • ruff isort configuration added (combine-as-imports = true).

Fixed

  • KeyError in test_compile_simple_dependency caused by iterating duplicate ProtoModule values in ProtoCollection.modules. Fixed by deduplicating with set() before iterating.
  • compiler_version() now correctly returns None instead of raising when no output is produced.

Changed

  • Breaking: dropped Python 3.8 and 3.9 support; minimum is now Python 3.10.
  • requires-python updated from >=3.8 to >=3.10.
  • ProtoCollection.modules now indexes each module by both Path and str key for flexible lookup.
  • Tox configuration migrated from tox.ini into pyproject.toml; tox-uv added as a requirement.
  • urllib3 version constraint relaxed (removed <2 pin).
  • CI: removed py_39_proto_203 job; py_31x_proto_252 matrix extended to include Python 3.12, 3.13, 3.14.
  • CI: migrated test.yml from actions/setup-python + pip to astral-sh/setup-uv; replaced pip install steps with uv run --extra; removed Black from lint job.
  • CI: updated GitHub Actions plugins to latest versions: actions/checkout@v6, astral-sh/setup-uv@v7, actions/setup-python@v6.

1.0.5

29 Aug 10:01

Choose a tag to compare

Adapt workflow to supported macos versions.
Update pre-commit hooks versions.
Improve test_compile_minimal_proto_in_a_package robustness.

1.0.4

07 Feb 09:50

Choose a tag to compare

ProtoCollection.compile() method is renamed to ProtoCollection.compiled()
compiler_path is now an optional parameter of compiled() methods.

1.0.3

06 Feb 17:35

Choose a tag to compare

Release used to trigger a push to pypi