From 435e1aad8f927056b8c9cff31cab44b17f6d8e94 Mon Sep 17 00:00:00 2001 From: Shailendra Paliwal Date: Tue, 29 Oct 2024 12:22:46 +0100 Subject: [PATCH] update dependency constrains (#1147) * update dependency cosnstrains * update grpc code * update only pydantic --- .gitignore | 2 ++ Makefile | 4 +--- poetry.lock | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 55c30301d..85fdf82fd 100644 --- a/.gitignore +++ b/.gitignore @@ -119,3 +119,5 @@ tests/executor_test_packages grpc-standalone-server-integration-test-results.xml grpc-server-docker-integration-test-results.xml + +.vscode/ diff --git a/Makefile b/Makefile index 0adad188b..a7ecef42f 100644 --- a/Makefile +++ b/Makefile @@ -115,9 +115,7 @@ generate-grpc: ## generate grpc code --pyi_out=. \ proto/action_webhook.proto -check-generate-grpc-code-in-sync: generate-grpc -check-generate-grpc-code-in-sync: ## check if the generated code is in sync with the proto files - # this is a helper to check if the generated code is in sync with the proto files +check-generate-grpc-code-in-sync: generate-grpc ## check if the generated code is in sync with the proto files, it uses a helper to check if the generated code is in sync with the proto files git diff --exit-code rasa_sdk/grpc_py | if [ "$$(wc -c)" -eq 0 ]; then echo "Generated code is in sync with proto files"; else echo "Generated code is not in sync with proto files"; exit 1; fi GRPC_STANDALONE_SERVER_INTEGRATION_TEST_RESULTS_FILE = grpc-standalone-server-integration-test-results.xml diff --git a/poetry.lock b/poetry.lock index 7cace77ca..10e4373fc 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2058,4 +2058,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.11" -content-hash = "2df8a1c5cf589611c3603c5600b0aebfa3d3a44b40113f9a31b82c8a8afca066" +content-hash = "4f29f86979eecae9b1e1fd02e797ff54b5f6539be806f0fa57505ea93d273750" diff --git a/pyproject.toml b/pyproject.toml index 7f7dabf3e..16335040a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,7 @@ opentelemetry-exporter-otlp = "~1.16.0" grpcio = "1.59.3" protobuf = "4.25.3" grpcio-tools = "1.56.2" -pydantic = "2.6.4" +pydantic = "^2.6.4" grpcio-health-checking = "1.59.3" [tool.poetry.dev-dependencies]