From 4d244d6f2adade55d20e0bd023a94c70b9a5b9fd Mon Sep 17 00:00:00 2001 From: Rick van Hattem Date: Mon, 25 Nov 2024 13:35:18 +0100 Subject: [PATCH] Testing both numpy 1 and 2. --- tox.ini | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 118c5a3..e841a32 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,13 @@ [tox] -envlist = ruff, black, pypy3, py39, py310, py311, py312, py313, docs, mypy, pyright +env_list = ruff, black, pypy3, py3{9,10,11,12,13}-numpy{1,2}, docs, mypy, pyright skip_missing_interpreters = True [testenv] -deps = -rtests/requirements.txt -commands = +deps = + numpy1: numpy==1.* + numpy2: numpy==2.* + -rtests/requirements.txt +commands = python -m pip install -U pip wheel setuptools python setup.py build_ext --inplace python -m pytest -vvv {posargs} @@ -18,10 +21,13 @@ basepython = [gh-actions] python = - 3.7: py37 - 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 + 3.12: py312 + 3.13: py313 + pypy3: pypy3 + [testenv:flake8] basepython=python