From 12fc77e9f0e65ac3e6c2c67ff1880d68e1504243 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Thu, 25 Jun 2026 09:41:46 +0200 Subject: [PATCH 1/3] CI: skip petab-sciml tests under valgrind Fixes #3186. --- python/tests/test_sciml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_sciml.py b/python/tests/test_sciml.py index 1fbf3924ef..c7b56df17e 100644 --- a/python/tests/test_sciml.py +++ b/python/tests/test_sciml.py @@ -6,10 +6,10 @@ from pathlib import Path from unittest.mock import Mock -import jax import numpy as np import pytest +pytest.importorskip("jax") pytest.importorskip("equinox") pytest.importorskip("petab_sciml") From 9aa7cbdfca35c3bfacc967e2d8266dbf86e6e0b5 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Thu, 25 Jun 2026 10:28:23 +0200 Subject: [PATCH 2/3] Revert "CI: skip petab-sciml tests under valgrind" This reverts commit 12fc77e9f0e65ac3e6c2c67ff1880d68e1504243. --- python/tests/test_sciml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_sciml.py b/python/tests/test_sciml.py index c7b56df17e..1fbf3924ef 100644 --- a/python/tests/test_sciml.py +++ b/python/tests/test_sciml.py @@ -6,10 +6,10 @@ from pathlib import Path from unittest.mock import Mock +import jax import numpy as np import pytest -pytest.importorskip("jax") pytest.importorskip("equinox") pytest.importorskip("petab_sciml") From be8b8296b7eaf3734410dced3e52b0f1111fb82c Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Thu, 25 Jun 2026 10:28:41 +0200 Subject: [PATCH 3/3] .. --- scripts/run-valgrind-py.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-valgrind-py.sh b/scripts/run-valgrind-py.sh index de140de686..bdbc9f3987 100755 --- a/scripts/run-valgrind-py.sh +++ b/scripts/run-valgrind-py.sh @@ -16,7 +16,7 @@ if [ $# -eq 0 ] # No arguments supplied, run all tests cd "${amici_path}"/python/tests source "${amici_path}"/venv/bin/activate - command=(python -m pytest -vv --durations=10 --ignore-glob=*petab* -W 'ignore:Signature ') + command=(python -m pytest -vv --durations=10 --ignore-glob=*petab* -W 'ignore:Signature ' --ignore=test_sciml.py) # ^ ignores the following warning that occurs only under valgrind, # e.g. `valgrind python -c "import h5py"`: # UserWarning: Signature b'\x00\xd0\xcc\xcc\xcc\xcc\xcc\xcc\xfb\xbf\x00\x00\x00\x00\x00\x00'