From fcdac0759ef109b37e318bca4ff31363d00e138b Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 27 Dec 2022 22:51:31 -0600 Subject: [PATCH] Remove numpy version hardcoding in pyproject.toml / GHA --- pyproject.toml | 2 +- tools/ci/gha-install.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ac6735593..d5970617a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "wheel", "numpy<1.22", "cython"] +requires = ["setuptools", "wheel", "numpy", "cython"] diff --git a/tools/ci/gha-install.sh b/tools/ci/gha-install.sh index 7854a9dfc..fb81fcea2 100755 --- a/tools/ci/gha-install.sh +++ b/tools/ci/gha-install.sh @@ -2,12 +2,9 @@ set -ex # Upgrade pip, pytest, numpy before doing anything else. -# TODO: numpy 1.22 results in several failing tests, so we force a lower version -# for now (similar change made in pyproject.toml). When this is removed, those -# tests will need to be updated. pip install --upgrade pip pip install --upgrade pytest -pip install --upgrade "numpy<1.22" +pip install --upgrade numpy # Install NJOY 2016 ./tools/ci/gha-install-njoy.sh