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

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

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"