Skip to content

Commit 0bc7b4f

Browse files
authored
Remove numpy version pin for several stubs(#12476)
1 parent 1a83727 commit 0bc7b4f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

stubs/seaborn/METADATA.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
version = "0.13.2"
22
# Requires a version of numpy and matplotlib with a `py.typed` file
3-
# TODO: stubtest errors when using numpy 2
4-
requires = ["matplotlib>=3.8", "numpy>=1.20,<2", "pandas-stubs"]
3+
requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
54
# matplotlib>=3.8 requires Python >=3.9
65
requires_python = ">=3.9"
76
upstream_repository = "https://github.com/mwaskom/seaborn"

stubs/shapely/METADATA.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
version = "2.0.*"
22
# Requires a version of numpy with a `py.typed` file
3-
# TODO: stubtest errors when using numpy 2
4-
requires = ["numpy>=1.20,<2"]
3+
requires = ["numpy>=1.20"]
54
upstream_repository = "https://github.com/shapely/shapely"

stubs/tensorflow/METADATA.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
version = "2.16.*"
44
upstream_repository = "https://github.com/tensorflow/tensorflow"
55
# requires a version of numpy with a `py.typed` file
6-
# TODO: stubtest errors when using numpy 2
7-
requires = ["numpy>=1.20,<2", "types-protobuf", "types-requests"]
6+
requires = ["numpy>=1.20", "types-protobuf", "types-requests"]
87
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 ."
98
partial_stub = true
109

0 commit comments

Comments
 (0)