ci: add more versions of numpy/scipy/pypy (#4714)

* ci: add more versions of numpy/scipy/pypy

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* Apply suggestions from code review

* style: pre-commit fixes

* Update requirements.txt

* Update requirements.txt

* Apply suggestions from code review

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Henry Schreiner 2023-11-16 00:52:05 -05:00 committed by GitHub
parent 6cf90e7286
commit 6831666f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 10 deletions

View File

@ -57,7 +57,7 @@ def tests_packaging(session: nox.Session) -> None:
Run the packaging tests. Run the packaging tests.
""" """
session.install("-r", "tests/requirements.txt", "--prefer-binary") session.install("-r", "tests/requirements.txt")
session.run("pytest", "tests/extra_python_package", *session.posargs) session.run("pytest", "tests/extra_python_package", *session.posargs)

View File

@ -1,10 +1,15 @@
build==0.8.0 --only-binary=:all:
numpy==1.21.5; platform_python_implementation=="PyPy" and sys_platform=="linux" and python_version=="3.7" build~=0.9; python_version=="3.6"
numpy==1.19.3; platform_python_implementation!="PyPy" and python_version=="3.6" build~=1.0; python_version>="3.7"
numpy==1.21.5; platform_python_implementation!="PyPy" and python_version>="3.7" and python_version<"3.10" numpy~=1.20.0; python_version=="3.7" and platform_python_implementation=="PyPy"
numpy==1.22.2; platform_python_implementation!="PyPy" and python_version>="3.10" and python_version<"3.11" numpy~=1.23.0; python_version=="3.8" and platform_python_implementation=="PyPy"
pytest==7.0.0; platform_python_implementation!="PyPy" and python_version=="3.6" numpy~=1.25.0; python_version=="3.9" and platform_python_implementation=='PyPy'
pytest==7.2.0; platform_python_implementation!="PyPy" and python_version>="3.7" numpy~=1.19.3; platform_python_implementation!="PyPy" and python_version=="3.6"
numpy~=1.21.5; platform_python_implementation!="PyPy" and python_version>="3.7" and python_version<"3.10"
numpy~=1.22.2; platform_python_implementation!="PyPy" and python_version=="3.10"
numpy~=1.26.0; platform_python_implementation!="PyPy" and python_version>="3.11"
pytest~=7.0
pytest-timeout pytest-timeout
scipy==1.5.4; platform_python_implementation!="PyPy" and python_version<"3.10" scipy~=1.5.4; platform_python_implementation!="PyPy" and python_version<"3.10"
scipy==1.10.0; platform_python_implementation!="PyPy" and python_version=="3.10" scipy~=1.8.0; platform_python_implementation!="PyPy" and python_version=="3.10"
scipy~=1.11.1; platform_python_implementation!="PyPy" and python_version>="3.11"