From a386991b0dd532b80303804b2ea63bb232826e7f Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Sun, 19 Jul 2026 09:04:15 +0200 Subject: [PATCH] MAINT: update test requirements, fix pyodide job The `emscripten_test_requirements.txt` file was removed in the main repo, and anyway this should be using more minimal requirements pinned in this repo. pytest-xdist wasn't used, and `tzdata` is an optional test dep for a single test only, which is the kind of thing we leave out of this repo, it's fine to test that in the main repo only. Update pins for other requirements while we're at it. --- cibuildwheel.toml | 2 +- requirements/minimal_test_requirements.txt | 2 ++ requirements/wheel_test_requirements.txt | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 requirements/minimal_test_requirements.txt diff --git a/cibuildwheel.toml b/cibuildwheel.toml index a29b165..6083183 100644 --- a/cibuildwheel.toml +++ b/cibuildwheel.toml @@ -36,7 +36,7 @@ config-settings = {setup-args = ["--vsenv", "-Dallow-noblas=true"], build-dir="b repair-wheel-command = "" [tool.cibuildwheel.pyodide] -before-test = "pip install -r $SRC/requirements/emscripten_test_requirements.txt" +before-test = "pip install -r requirements/minimal_test_requirements.txt" # Pyodide ensures that the wheels are already repaired by auditwheel-emscripten repair-wheel-command = "" test-command = "python -m pytest --pyargs numpy -m 'not slow'" diff --git a/requirements/minimal_test_requirements.txt b/requirements/minimal_test_requirements.txt new file mode 100644 index 0000000..5fedc1e --- /dev/null +++ b/requirements/minimal_test_requirements.txt @@ -0,0 +1,2 @@ +hypothesis==6.155.7 +pytest==9.1.1 diff --git a/requirements/wheel_test_requirements.txt b/requirements/wheel_test_requirements.txt index 4ebf539..141d08f 100644 --- a/requirements/wheel_test_requirements.txt +++ b/requirements/wheel_test_requirements.txt @@ -1,9 +1,9 @@ -Cython==3.1.4 +Cython==3.2.8 setuptools==65.5.1 ; python_version < '3.12' setuptools==80.9.0 ; python_version >= '3.12' -hypothesis==6.104.1 -pytest==7.4.0 -meson==1.9.1 +hypothesis==6.155.7 +pytest==9.1.1 +meson==1.11.2 ninja==1.11.1.4; sys_platform != "emscripten" pytest-xdist==3.8.0 threadpoolctl==3.6.0