mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Remove numpy pins from several stubs (#12993)
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
version = "3.3"
|
||||
upstream_repository = "https://github.com/networkx/networkx"
|
||||
# requires a version of numpy with a `py.typed` file
|
||||
# see https://github.com/python/typeshed/issues/12551
|
||||
# on why we need the upper bound
|
||||
requires = ["numpy>=1.20,<2.1.0"]
|
||||
requires = ["numpy>=1.20"]
|
||||
partial_stub = true
|
||||
|
||||
[tool.stubtest]
|
||||
|
||||
@@ -22,7 +22,7 @@ _Data: TypeAlias = (
|
||||
| dict[_Node, dict[_Node, dict[str, Any]]]
|
||||
| dict[_Node, Iterable[_Node]]
|
||||
| Iterable[_EdgePlus[_Node]]
|
||||
| numpy.ndarray[_Node, Any]
|
||||
| numpy.ndarray[Any, Any]
|
||||
# | scipy.sparse.base.spmatrix
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user