Pin various stubs to numpy to < 2 (#12152)

Fixes #12146
This commit is contained in:
Sebastian Rittau authored and GitHub committed 2024-06-17 15:50:22 +02:00
1 parent 1af9de664f
commit 212af7a526
4 files changed
+9 -4

No files matched your search

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