From f7da2002b5aa9731ec19e4f7b68b04c9e2bce6f3 Mon Sep 17 00:00:00 2001 From: Ben Greiner Date: Sun, 18 Dec 2022 21:08:07 +0100 Subject: [PATCH] pin numpy to <1.24 due to gh-187 --- .github/conda-env/build-env.yml | 2 +- conda-recipe/meta.yaml | 2 +- pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/conda-env/build-env.yml b/.github/conda-env/build-env.yml index 64ef8932..d932718f 100644 --- a/.github/conda-env/build-env.yml +++ b/.github/conda-env/build-env.yml @@ -1,4 +1,4 @@ name: build-env dependencies: - boa - - numpy!=1.23.0 + - numpy <1.24 diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 7b416356..5b33f7b3 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -27,7 +27,7 @@ requirements: - libcblas * *netlib - liblapack * *netlib - python - - numpy !=1.23.0 + - numpy <1.24 - pip - scikit-build >=0.15 - setuptools >=45 diff --git a/pyproject.toml b/pyproject.toml index 3719fa8e..dfbf578d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,8 @@ requires = [ "wheel", "scikit-build>=0.15", "cmake>=3.14", - "numpy!=1.23.0"] + # python-control/Slycot/issues/187 + "numpy<1.24"] build-backend = "setuptools.build_meta" [project]