Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade required grpcio and protobuf versions #36

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

berndverst
Copy link
Member

@berndverst berndverst commented Jan 8, 2025

This downgrades the required grpcio version by pinning grpcio-tools as dev-only requirement to version 1.62.3 which is the last release before a breaking change in protobuf is introduced (with 1.26.X / 3.26.X).

The protos are recompiled with this version. (Note: protos compiled with grpcio-tools 1.67.0 for example MUST be loaded with grpcio 1.67.0 or higher hence recompilation with an older version was necessary)

Additional improvements:
The proto generation has been changed to no longer require manual edits.

CHANGELOG.md Outdated Show resolved Hide resolved
@berndverst
Copy link
Member Author

This fixes #8

elena-kolevska pushed a commit to elena-kolevska/durabletask-python that referenced this pull request Jan 9, 2025
elena-kolevska pushed a commit to elena-kolevska/durabletask-python that referenced this pull request Jan 9, 2025
yaron2 pushed a commit to dapr/durabletask-python that referenced this pull request Jan 13, 2025
…h an older grpcio-tools version) (#6)

* Update version to 0.2b1, require Python 3.9+, and enhance GitHub Actions workflow (#1) (microsoft#35)

- Bump version in `pyproject.toml` to 0.2b1 and update Python requirement to >=3.9.
- Add `protobuf` dependency in `requirements.txt`.
- Update GitHub Actions workflow to support Python versions 3.9 to 3.13 and upgrade action versions.
- Refactor type hints in various files to use `Optional` and `list` instead of `Union` and `List`.
- Improve handling of custom status in orchestration context and related functions.
- Fix purge implementation to pass required parameters.

Signed-off-by: Elena Kolevska <[email protected]>

* Downgrade required `grpcio` and `protobuf` versions (microsoft#36)

Signed-off-by: Elena Kolevska <[email protected]>

---------

Signed-off-by: Elena Kolevska <[email protected]>
Co-authored-by: Chris Gillum <[email protected]>
Co-authored-by: Bernd Verst <[email protected]>
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.

2 participants