From f26b41bdd1a235dc5e6d26abfeb44694ea7444c6 Mon Sep 17 00:00:00 2001 From: Avasam Date: Fri, 2 May 2025 20:29:31 -0400 Subject: [PATCH] Mention rerunning sync_protobuf scripts (#13924) --- stubs/protobuf/METADATA.toml | 1 + stubs/s2clientprotocol/METADATA.toml | 1 + stubs/tensorflow/METADATA.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/stubs/protobuf/METADATA.toml b/stubs/protobuf/METADATA.toml index 04c674e5f..377d93a1b 100644 --- a/stubs/protobuf/METADATA.toml +++ b/stubs/protobuf/METADATA.toml @@ -1,4 +1,5 @@ # Using an exact number in the specifier for scripts/sync_protobuf/google_protobuf.py +# When updating, also re-run the script version = "~=5.29.1" upstream_repository = "https://github.com/protocolbuffers/protobuf" extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 28.1 on [protobuf v29.1](https://github.com/protocolbuffers/protobuf/releases/tag/v29.1) (python `protobuf==5.29.1`)." diff --git a/stubs/s2clientprotocol/METADATA.toml b/stubs/s2clientprotocol/METADATA.toml index 869820a9e..6631acf0a 100644 --- a/stubs/s2clientprotocol/METADATA.toml +++ b/stubs/s2clientprotocol/METADATA.toml @@ -1,5 +1,6 @@ # Whenever you update version here, PACKAGE_VERSION should be updated # in scripts/sync_protobuf/s2clientprotocol.py and vice-versa. +# When updating, also re-run the script version = "5.*" upstream_repository = "https://github.com/Blizzard/s2client-proto" requires = ["types-protobuf"] diff --git a/stubs/tensorflow/METADATA.toml b/stubs/tensorflow/METADATA.toml index 94d4b9f8a..a207ca056 100644 --- a/stubs/tensorflow/METADATA.toml +++ b/stubs/tensorflow/METADATA.toml @@ -1,4 +1,5 @@ # Using an exact number in the specifier for scripts/sync_protobuf/tensorflow.py +# When updating, also re-run the script version = "~=2.18.0" upstream_repository = "https://github.com/tensorflow/tensorflow" # requires a version of numpy with a `py.typed` file