From 179c947b8227e349d4f631996db855e1c596654b Mon Sep 17 00:00:00 2001 From: Albert Callarisa Date: Thu, 9 Oct 2025 14:19:23 +0200 Subject: [PATCH] python 3.14 Signed-off-by: Albert Callarisa --- .github/workflows/pr-validation.yml | 4 ++-- Makefile | 2 +- README.md | 5 ++--- dev-requirements.txt | 2 +- durabletask/internal/orchestrator_service_pb2_grpc.py | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 63540ac..e45b593 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 @@ -70,4 +70,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} run: | python -m build - twine upload dist/* \ No newline at end of file + twine upload dist/* diff --git a/Makefile b/Makefile index 3c1ed51..34dfc7f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ install: gen-proto: curl -o durabletask/internal/orchestrator_service.proto https://raw.githubusercontent.com/dapr/durabletask-protobuf/refs/heads/main/protos/orchestrator_service.proto curl -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/dapr/durabletask-protobuf/commits?path=protos/orchestrator_service.proto&sha=main&per_page=1" | jq -r '.[0].sha' > durabletask/internal/PROTO_SOURCE_COMMIT_HASH - pip install grpcio-tools==1.74.0 + pip install -r dev-requirements.txt python3 -m grpc_tools.protoc --proto_path=. --python_out=. --pyi_out=. --grpc_python_out=. ./durabletask/internal/orchestrator_service.proto rm durabletask/internal/*.proto diff --git a/README.md b/README.md index 4a45d9b..31de72c 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,6 @@ The following is more information about how to develop this project. Note that d ### Generating protobufs ```sh -pip3 install -r dev-requirements.txt make gen-proto ``` @@ -207,8 +206,8 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio ## Trademarks -This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft -trademarks or logos is subject to and must follow +This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft +trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies. diff --git a/dev-requirements.txt b/dev-requirements.txt index 119f072..fa97fb9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1 +1 @@ -grpcio-tools==1.62.3 # 1.62.X is the latest version before protobuf 1.26.X is used which has breaking changes for Python +grpcio-tools==1.75.1 diff --git a/durabletask/internal/orchestrator_service_pb2_grpc.py b/durabletask/internal/orchestrator_service_pb2_grpc.py index 7c12e1b..3342f3a 100644 --- a/durabletask/internal/orchestrator_service_pb2_grpc.py +++ b/durabletask/internal/orchestrator_service_pb2_grpc.py @@ -6,7 +6,7 @@ from durabletask.internal import orchestrator_service_pb2 as durabletask_dot_internal_dot_orchestrator__service__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -GRPC_GENERATED_VERSION = '1.74.0' +GRPC_GENERATED_VERSION = '1.75.1' GRPC_VERSION = grpc.__version__ _version_not_supported = False