Releases: decitre/python-proto-topy
Releases · decitre/python-proto-topy
v2.0.0
Added
ProtoModulenow acceptsfile_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.
tytype-checker added to the lint tox environment.ruffisort configuration added (combine-as-imports = true).
Fixed
KeyErrorintest_compile_simple_dependencycaused by iterating duplicateProtoModulevalues inProtoCollection.modules. Fixed by deduplicating withset()before iterating.compiler_version()now correctly returnsNoneinstead of raising when no output is produced.
Changed
- Breaking: dropped Python 3.8 and 3.9 support; minimum is now Python 3.10.
requires-pythonupdated from>=3.8to>=3.10.ProtoCollection.modulesnow indexes each module by bothPathandstrkey for flexible lookup.- Tox configuration migrated from
tox.iniintopyproject.toml;tox-uvadded as a requirement. urllib3version constraint relaxed (removed<2pin).- CI: removed
py_39_proto_203job;py_31x_proto_252matrix extended to include Python 3.12, 3.13, 3.14. - CI: migrated
test.ymlfromactions/setup-python+ pip toastral-sh/setup-uv; replacedpip installsteps withuv 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.