Remove numpy version hardcoding in pyproject.toml / GHA

This commit is contained in:
Paul Romano 2022-12-27 22:51:31 -06:00
parent 6a790df0be
commit fcdac0759e
2 changed files with 2 additions and 5 deletions

View file

@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "numpy<1.22", "cython"]
requires = ["setuptools", "wheel", "numpy", "cython"]

View file

@ -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