From 2f056d2098ce988ee401ee632e379d40b727716f Mon Sep 17 00:00:00 2001 From: Taewoon Kim Date: Mon, 30 Nov 2026 03:24:29 +0900 Subject: [PATCH 1/2] CI: cap jpype1 below 1.8 on Python 3.11 in the native parity suite The parity step installed jpype1 with no cap, outside the package dependency, and a release runs that suite on 3.11, where 1.8.0 can end the process with a segmentation fault (#536, #537). Closes #538. --- .github/workflows/test-native.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-native.yml b/.github/workflows/test-native.yml index a0b43c0..bf55e6c 100644 --- a/.github/workflows/test-native.yml +++ b/.github/workflows/test-native.yml @@ -747,8 +747,11 @@ jobs: # Linux and macOS stay strict. The harness marks a passing retry FLAKY-CRASH and the crash-report job logs it. retry=() if [ "$RUNNER_OS" = Windows ]; then retry=(--retry-crash); fi + # jpype1 1.8.0 ends the process on CPython 3.11 (issue 536); the cap of pyproject.toml does not reach this install, so + # it is repeated here. Remove both together, when a newer jpype1 passes tests/test_jpype_bare_exceptions.py on 3.11. + jpype=(--with "jpype1<1.8; python_version < '3.12'" --with "jpype1; python_version >= '3.12'") # macOS runs bash 3.2: under set -u an empty "${limit[@]}" is "unbound variable", so expand it only when set - uv run --no-project --python "$PY" --with "$w" --with pytest --with setuptools --with numpy --with requests --with jpype1 --with pyarrow \ + uv run --no-project --python "$PY" --with "$w" --with pytest --with setuptools --with numpy --with requests "${jpype[@]}" --with pyarrow \ --with polars --with pandas --with duckdb --with networkx --with "psycopg[binary]" --with adbc-driver-postgresql \ --with redis --with neo4j --with ladybug \ python native/wheel/parity_wheel.py --repo "$GITHUB_WORKSPACE" \ From c7cf5e1be1a9c10493e0489993394abe21bce207 Mon Sep 17 00:00:00 2001 From: Taewoon Kim Date: Mon, 30 Nov 2026 04:39:19 +0900 Subject: [PATCH 2/2] CI: do not take lxml 6.2.1 in the examples environment It shipped no wheel for CPython 3.14 on Windows (nor musllinux), so the examples jobs build it from source there and fail. Closes #541. --- .github/workflows/test-native.yml | 3 ++- .github/workflows/test-python-examples.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-native.yml b/.github/workflows/test-native.yml index bf55e6c..dc11800 100644 --- a/.github/workflows/test-native.yml +++ b/.github/workflows/test-native.yml @@ -937,7 +937,8 @@ jobs: "pyarrow", "tqdm", "py7zr", - "lxml", + # 6.2.1 shipped no wheel for CPython 3.14 on Windows, so it is built from source there and fails (issue 541). + "lxml!=6.2.1", ] [tool.uv.sources] diff --git a/.github/workflows/test-python-examples.yml b/.github/workflows/test-python-examples.yml index 1396760..6f8e2ee 100644 --- a/.github/workflows/test-python-examples.yml +++ b/.github/workflows/test-python-examples.yml @@ -417,7 +417,8 @@ jobs: "pyarrow", "tqdm", "py7zr", - "lxml", + # 6.2.1 shipped no wheel for CPython 3.14 on Windows, so it is built from source there and fails (issue 541). + "lxml!=6.2.1", ] [tool.uv.sources]