Pin numpy in various stubs (#12554)

This commit is contained in:
sobolevn
2024-08-19 15:38:23 +03:00
committed by GitHub
parent 937270df0c
commit 30a20398c9
5 changed files with 15 additions and 5 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
version = "3.2.1"
upstream_repository = "https://github.com/networkx/networkx"
# requires a version of numpy with a `py.typed` file
requires = ["numpy>=1.20"]
# see https://github.com/python/typeshed/issues/12551
# on why we need the upper bound
requires = ["numpy>=1.20,<2.1.0"]
partial_stub = true
[tool.stubtest]