Remove numpy pins from several stubs (#12993)

This commit is contained in:
Ali Hamdan
2024-11-11 17:47:11 +01:00
committed by GitHub
parent ea368c7269
commit a870a4e63a
6 changed files with 6 additions and 16 deletions

View File

@@ -1,14 +1,12 @@
version = "0.13.2"
# Requires a version of numpy and matplotlib with a `py.typed` file
# see https://github.com/python/typeshed/issues/12551
# on why we need the upper bound for numpy
#
# TODO: Specifying the python-version for matplotlib should not be necessary,
# because of the requires_python field. However, this needs changes to
# get_typeshed_stub_version.py (see there).
requires = [
"matplotlib>=3.8; python_version>='3.9'",
"numpy>=1.20,<2.1.0",
"numpy>=1.20",
"pandas-stubs",
]
# matplotlib>=3.8 requires Python >=3.9