Release/2.0.0#7
Merged
Merged
Conversation
- Drop Python 3.8 and 3.9 support; require Python >=3.10 - Add Python 3.13 and 3.14 support to classifiers and CI matrix - Allow `ProtoModule(file_path=None)`: auto-generate unique filename (`definition_N.proto`) - Fix `KeyError` in `test_compile_simple_dependency` by deduplicating `ProtoCollection.modules` values with `set()` - Migrate tox config from `tox.ini` into `pyproject.toml`; adopt `tox-uv` - Migrate CI from `actions/setup-python` + pip to `astral-sh/setup-uv` - Update GitHub Actions plugins to latest: `checkout@v6`, `setup-uv@v7`, `setup-python@v6` - Add `ty` type-checker to lint tox environment; remove Black - Fix README wording: replace "a `.proto` string" with "a protobuf definition string" - Add CHANGELOG.md covering all releases from 0.0.2 to 2.0.0
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
ProtoModulenow acceptsfile_path=None: a unique filename (definition_N.proto) is auto-generated via a class-level counter.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
requires-pythonupdated from>=3.8to>=3.10.ProtoCollection.modulesnow indexes each module by bothPathandstrkey for flexible lookup.tox.iniintopyproject.toml;tox-uvadded as a requirement.urllib3version constraint relaxed (removed<2pin).py_39_proto_203job;py_31x_proto_252matrix extended to include Python 3.12, 3.13, 3.14.test.ymlfromactions/setup-python+ pip toastral-sh/setup-uv; replacedpip installsteps withuv run --extra; removed Black from lint job.actions/checkout@v6,astral-sh/setup-uv@v7,actions/setup-python@v6.