From 29dcd554b0014c403cb032750e7c86ae4737049e Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Wed, 2 Sep 2026 10:27:51 +0200 Subject: [PATCH 1/3] Add GraalPy 3.13 (25.3) to the testing matrix --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6f215aa63..15c6592380 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,9 @@ jobs: - runs-on: ubuntu-latest python-version: 'graalpy-25.0' cmake-args: -DCMAKE_CXX_STANDARD=20 + - runs-on: ubuntu-latest + python-version: 'graalpy-25.3' + cmake-args: -DCMAKE_CXX_STANDARD=20 - runs-on: ubuntu-latest python-version: '3.15' cmake-args: -DCMAKE_CXX_STANDARD=20 @@ -113,6 +116,8 @@ jobs: python-version: 'pypy-3.11-v7.3.23' - runs-on: macos-latest python-version: 'graalpy-25.0' + - runs-on: macos-latest + python-version: 'graalpy-25.3' - runs-on: windows-latest python-version: '3.9' From 2283c07007ee2f5e9d867d887b5c5cf307eed7b0 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Wed, 2 Sep 2026 11:52:10 +0200 Subject: [PATCH 2/3] Update numpy version used by test on GraalPy --- tests/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index e10fb40d29..1e94a569be 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -5,7 +5,8 @@ build>=1 numpy>=2.4.0; platform_python_implementation=="CPython" and python_version>="3.14" and python_version<"3.15" numpy~=1.25.0; python_version=="3.9" and platform_python_implementation=="PyPy" numpy~=2.2.0; python_version=="3.10" and platform_python_implementation=="PyPy" -numpy~=2.2.0; platform_python_implementation=="GraalVM" and sys_platform=="linux" +numpy~=2.2.0; python_version=="3.12" and platform_python_implementation=="GraalVM" and sys_platform=="linux" +numpy~=2.4.4; python_version=="3.13" and platform_python_implementation=="GraalVM" and sys_platform=="linux" numpy~=1.21.5; platform_python_implementation=="CPython" and python_version=="3.9" numpy~=1.22.2; platform_python_implementation=="CPython" and python_version=="3.10" numpy~=1.26.0; platform_python_implementation=="CPython" and python_version>="3.11" and python_version<"3.13" and platform_machine!="ARM64" From 6d08999afcd958993a3c3c523871f456daa3d421 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Wed, 2 Sep 2026 16:52:05 +0200 Subject: [PATCH 3/3] Unmark fixed xfail --- tests/test_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py index aeea5d86d3..b0135d050e 100644 --- a/tests/test_exceptions.py +++ b/tests/test_exceptions.py @@ -205,7 +205,7 @@ def test_custom(msg): assert msg(excinfo.value) == "[PythonMyException7]: abc" -@pytest.mark.xfail("env.GRAALPY", reason="TODO should get fixed on GraalPy side") +@pytest.mark.xfail("env.GRAALPY and sys.version_info < (3, 13)") def test_nested_throws(capture): """Tests nested (e.g. C++ -> Python -> C++) exception handling"""