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,6 +1,8 @@
version = "3.2.1"
upstream_repository = "https://github.com/networkx/networkx"
requires = ["numpy"]
# requires a version of numpy with a `py.typed` file
# TODO: Lots of stubtest errors when using numpy 2
requires = ["numpy>=1.20,<2"]
partial_stub = true
[tool.stubtest]