Skip to content

Python 3.15 for both wheels: drop the JVM cap and test 3.15 on every platform - #534

Merged
tae898 merged 2 commits into
mainfrom
ci/350-python-315
Nov 29, 2026
Merged

tae898 merged 2 commits into
mainfrom
ci/350-python-315

Conversation

@tae898

@tae898 tae898 commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #350.

Both wheels are now tested on Python 3.15, and arcadedb-jvm installs on it. The trigger was jpype1 1.8.0 (uploaded to PyPI on 2026-11-29), the first JPype release with 3.15 wheels.

Change Before After
arcadedb-jvm requires-python >=3.11,<3.15 >=3.11
jpype1 on 3.15 >=1.5.0 >=1.8.0
JVM legs: pull request Linux x86-64, 3.14 Linux x86-64, 3.15
JVM legs: main and nightly 3.11 to 3.14 on Linux x86-64, 3.11 and 3.14 elsewhere 3.11 to 3.15 on Linux x86-64, 3.11 and 3.15 elsewhere
Native parity: main and nightly 3.12 and 3.14 3.12 and 3.15
Release, both packages 3.11 to 3.14 3.11 to 3.15
Native pyver gate of a release 3.15 and 3.14t 3.14t
uv pin 0.12.0 0.13.10

uv had to move because 0.12.0 installs CPython 3.15.0b4 for --python 3.15. 0.13.0 is the first release that knows 3.15.0.

Not ready: the examples. They stay on 3.11 to 3.14 (JVM) and on 3.12 and 3.14 (native), because three compiled dependencies of py7zr have no 3.15 wheel. They do build from source on Linux x86-64, but I did not want CI to depend on that.

Wheels for CPython 3.15 on PyPI, for the dependencies with compiled code that matter here:

Dependency Linux x86-64 Linux arm64 macOS arm64 Windows x64
jpype1 1.8.0 yes yes yes yes
ladybug 0.23.0 yes yes yes yes
numpy 2.5.5 yes yes yes yes
pandas 3.1.1 yes yes yes yes
pyarrow 26.0.1 yes yes yes yes
polars-runtime-32 2.2.0 yes yes yes yes
duckdb 2.0.1 yes yes yes yes
psycopg-binary 3.3.9 yes yes yes yes
adbc-driver-postgresql 1.13.0 yes yes yes yes
adbc-driver-manager 1.13.0 yes yes yes yes
inflate64 1.0.4 no no no no
pybcj 1.0.8 no no no no
pyppmd 1.3.1 no no no no

The jpype1 requirement of arcadedb-jvm, together with the cap from #537:

Python jpype1 requirement
3.11 >=1.5.0,<1.8
3.12 to 3.14 >=1.5.0
3.15 and later >=1.8.0

One test needed a change for 3.15. tests/test_parity_crash_retry.py used the private faulthandler._read_null() to cause a real memory fault in a child process. Python 3.15 does not have it, so the 3.15 JVM legs and the 3.15 native parity legs failed with an AttributeError. The child now reads address 0 with ctypes.c_int.from_address(0).value. The package code does not use that function.

One behaviour change in JPype 1.8.0 matters here: importing it on a free-threaded Python turns the GIL back on, with a RuntimeWarning. The docs now say so, and the 3.14t GIL report of the native workflow no longer imports jpype, which the native wheel does not depend on.

@tae898 tae898 added enhancement New feature or request github_actions Pull requests that update GitHub Actions code python Pull requests that update python code native The arcadedb package (native library build) jvm The arcadedb-jvm package (JPype build) ci:full Run the full platform matrix on this pull request (the legs of a push to main) labels Nov 29, 2026
@tae898 tae898 self-assigned this Nov 29, 2026
… wheels)

jpype1 1.8.0 (2026-11-29) is the first release with CPython 3.15 wheels, and ladybug 0.23.0 has them too.

arcadedb-jvm: requires-python loses the <3.15 cap, gets the 3.15 classifier, and asks for jpype1>=1.8.0 on 3.15 so that no installer compiles JPype there.
CI: 3.15 is in PYTHONS (JVM) and ALL_PYTHONS (native). A pull request runs 3.15 (the newest); a native push, nightly and dispatch run 3.12 and 3.15; a release runs 3.11 to 3.15. The pyver gate of a release is the free-threaded 3.14t only. The release verify list follows.

uv 0.12.0 installs CPython 3.15.0b4 for "--python 3.15"; uv 0.13.0 is the first that knows 3.15.0, so every uv pin moves to 0.13.10.

The examples stay on 3.11 to 3.14 (JVM) and 3.12 and 3.14 (native): inflate64, pybcj and pyppmd, compiled dependencies of py7zr, publish no cp315 wheel.

The free-threaded GIL report no longer imports jpype: since 1.8.0 importing it turns the GIL back on, and the native wheel does not depend on it.
…handler._read_null

All 3.15 legs of the pull request failed on tests/test_parity_crash_retry.py. Two child programs used the private
faulthandler._read_null() to die of a real memory fault, and CPython 3.15 removed it, so the child ended with an
AttributeError (exit 1) instead. ctypes.c_int.from_address(0).value is the same read of address 0 in ctypes' own C
code, outside a ctypes function call, so Windows does not turn the access violation into an OSError.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the full platform matrix on this pull request (the legs of a push to main) enhancement New feature or request github_actions Pull requests that update GitHub Actions code jvm The arcadedb-jvm package (JPype build) native The arcadedb package (native library build) python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: test Python 3.15 in the full matrix of both wheels once jpype1 and ladybug ship cp315 wheels

1 participant