From 8c68325de48ad055aaa0e543ace56f8134b64f25 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 26 Oct 2022 04:54:29 -0400 Subject: [PATCH] Use oldest-supported-numpy for build Otherwise, a new version will be installed in the isolated build environment, and Matplotlib will fail to import in an existing environment with older NumPy. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ef70e1893299..bbd0c8baf2b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,6 @@ build-backend = "setuptools.build_meta" requires = [ "certifi>=2020.06.20", - "numpy>=1.19", + "oldest-supported-numpy", "setuptools_scm>=7", ]