Remove numpy version pin for several stubs(#12476)

This commit is contained in:
Ali Hamdan
2024-08-03 12:52:55 +02:00
committed by GitHub
parent 1a83727723
commit 0bc7b4fd5a
3 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
version = "0.13.2"
# Requires a version of numpy and matplotlib with a `py.typed` file
# TODO: stubtest errors when using numpy 2
requires = ["matplotlib>=3.8", "numpy>=1.20,<2", "pandas-stubs"]
requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
# matplotlib>=3.8 requires Python >=3.9
requires_python = ">=3.9"
upstream_repository = "https://github.com/mwaskom/seaborn"

View File

@@ -1,5 +1,4 @@
version = "2.0.*"
# Requires a version of numpy with a `py.typed` file
# TODO: stubtest errors when using numpy 2
requires = ["numpy>=1.20,<2"]
requires = ["numpy>=1.20"]
upstream_repository = "https://github.com/shapely/shapely"

View File

@@ -3,8 +3,7 @@
version = "2.16.*"
upstream_repository = "https://github.com/tensorflow/tensorflow"
# requires a version of numpy with a `py.typed` file
# TODO: stubtest errors when using numpy 2
requires = ["numpy>=1.20,<2", "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 25.1 on tensorflow==2.16.1 ."
partial_stub = true