Remove numpy pins from several stubs (#12993)

This commit is contained in:
Ali Hamdan
2024-11-11 17:47:11 +01:00
committed by GitHub
parent ea368c7269
commit a870a4e63a
6 changed files with 6 additions and 16 deletions

View File

@@ -2,9 +2,7 @@
version = "~=2.18.0"
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"]
requires = ["numpy>=1.20", "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 27.2 on `tensorflow==2.18.0`."
partial_stub = true