mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 10:51:15 +08:00
Rewrote protobuf generation scripts in Python (#12527)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Whenever you update version here, PROTOBUF_VERSION should be updated
|
||||
# in scripts/generate_proto_stubs.sh and vice-versa.
|
||||
# Whenever you update version here, PACKAGE_VERSION should be updated
|
||||
# in scripts/sync_proto/google_protobuf.py and vice-versa.
|
||||
version = "5.27.*"
|
||||
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 26.1 on [protobuf v27.1](https://github.com/protocolbuffers/protobuf/releases/tag/v27.1) (python protobuf==5.27.1)."
|
||||
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on [protobuf v27.1](https://github.com/protocolbuffers/protobuf/releases/tag/v27.1) (python `protobuf==5.27.1`)."
|
||||
partial_stub = true
|
||||
|
||||
[tool.stubtest]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Whenever you update version here, S2CLIENT_PROTO_VERSION should be updated
|
||||
# in scripts/sync_s2clientprotocol_protobuf_stubs.sh and vice-versa.
|
||||
# Whenever you update version here, PACKAGE_VERSION should be updated
|
||||
# in scripts/sync_proto/s2clientprotocol.py and vice-versa.
|
||||
version = "5.*"
|
||||
upstream_repository = "https://github.com/Blizzard/s2client-proto"
|
||||
requires = ["types-protobuf"]
|
||||
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 3.6.1 on [s2client-proto 5.0.12.91115.0](https://github.com/Blizzard/s2client-proto/tree/c04df4adbe274858a4eb8417175ee32ad02fd609)"
|
||||
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on [s2client-proto 5.0.12.91115.0](https://github.com/Blizzard/s2client-proto/tree/c04df4adbe274858a4eb8417175ee32ad02fd609)."
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# Whenever you update version here, TENSORFLOW_VERSION should be updated
|
||||
# in scripts/sync_tensorflow_protobuf_stubs.sh and vice-versa.
|
||||
# Whenever you update version here, PACKAGE_VERSION should be updated
|
||||
# in scripts/sync_proto/tensorflow.py and vice-versa.
|
||||
version = "2.17.*"
|
||||
upstream_repository = "https://github.com/tensorflow/tensorflow"
|
||||
# requires a version of numpy with a `py.typed` file
|
||||
# see https://github.com/python/typeshed/issues/12551
|
||||
# on why we need the upper bound for numpy
|
||||
requires = ["numpy>=1.20,<2.1.0", "types-protobuf", "types-requests"]
|
||||
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on tensorflow==2.17.0 ."
|
||||
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on `tensorflow==2.17.0`."
|
||||
partial_stub = true
|
||||
|
||||
[tool.stubtest]
|
||||
|
||||
Reference in New Issue
Block a user