Skip to content

Commit 6831666

Browse files
ci: add more versions of numpy/scipy/pypy (#4714)
* ci: add more versions of numpy/scipy/pypy Signed-off-by: Henry Schreiner <[email protected]> * 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 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6cf90e7 commit 6831666

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def tests_packaging(session: nox.Session) -> None:
5757
Run the packaging tests.
5858
"""
5959

60-
session.install("-r", "tests/requirements.txt", "--prefer-binary")
60+
session.install("-r", "tests/requirements.txt")
6161
session.run("pytest", "tests/extra_python_package", *session.posargs)
6262

6363

tests/requirements.txt

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
build==0.8.0
2-
numpy==1.21.5; platform_python_implementation=="PyPy" and sys_platform=="linux" and python_version=="3.7"
3-
numpy==1.19.3; platform_python_implementation!="PyPy" and python_version=="3.6"
4-
numpy==1.21.5; platform_python_implementation!="PyPy" and python_version>="3.7" and python_version<"3.10"
5-
numpy==1.22.2; platform_python_implementation!="PyPy" and python_version>="3.10" and python_version<"3.11"
6-
pytest==7.0.0; platform_python_implementation!="PyPy" and python_version=="3.6"
7-
pytest==7.2.0; platform_python_implementation!="PyPy" and python_version>="3.7"
1+
--only-binary=:all:
2+
build~=0.9; python_version=="3.6"
3+
build~=1.0; python_version>="3.7"
4+
numpy~=1.20.0; python_version=="3.7" and platform_python_implementation=="PyPy"
5+
numpy~=1.23.0; python_version=="3.8" and platform_python_implementation=="PyPy"
6+
numpy~=1.25.0; python_version=="3.9" and platform_python_implementation=='PyPy'
7+
numpy~=1.19.3; platform_python_implementation!="PyPy" and python_version=="3.6"
8+
numpy~=1.21.5; platform_python_implementation!="PyPy" and python_version>="3.7" and python_version<"3.10"
9+
numpy~=1.22.2; platform_python_implementation!="PyPy" and python_version=="3.10"
10+
numpy~=1.26.0; platform_python_implementation!="PyPy" and python_version>="3.11"
11+
pytest~=7.0
812
pytest-timeout
9-
scipy==1.5.4; platform_python_implementation!="PyPy" and python_version<"3.10"
10-
scipy==1.10.0; platform_python_implementation!="PyPy" and python_version=="3.10"
13+
scipy~=1.5.4; platform_python_implementation!="PyPy" and python_version<"3.10"
14+
scipy~=1.8.0; platform_python_implementation!="PyPy" and python_version=="3.10"
15+
scipy~=1.11.1; platform_python_implementation!="PyPy" and python_version>="3.11"

0 commit comments

Comments
 (0)