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
+2 -1
View File
@@ -1,6 +1,7 @@
version = "0.13.2"
# Requires a version of numpy and matplotlib with a `py.typed` file
requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
# TODO: stubtest errors when using numpy 2
requires = ["matplotlib>=3.8", "numpy>=1.20,<2", "pandas-stubs"]
# matplotlib>=3.8 requires Python >=3.9
requires_python = ">=3.9"
upstream_repository = "https://github.com/mwaskom/seaborn"