Skip to content

arcadedb-jvm on Python 3.11: jpype1 1.8.1 fixes the Ctrl-C crash, so the jpype1<1.8 cap can go #556

Done

Description

@tae898

jpype1 1.8.1 (on PyPI since 2026-11-30) fixes the segmentation fault of #536 on Python 3.11 (jpype-project/jpype#1612, "a regression in 1.8.0"). arcadedb-jvm still keeps jpype1 below 1.8 on Python 3.11, so a new install there stays on 1.7.1. The comment in pyproject.toml says the cap goes when a newer jpype1 passes tests/test_jpype_bare_exceptions.py on 3.11, and 1.8.1 does.

Runs of the three cases of that test that ended the process (pure JPype, CPython 3.11, Linux x86-64, OpenJDK 25.0.5.1, 5 runs per cell):

Case jpype1 1.8.0 jpype1 1.8.1
stop_iteration 5 of 5 0 of 5
ctrl_c 5 of 5 0 of 5
conversion 5 of 5 0 of 5

With 1.8.0 every run ended with exit status 139. With 1.8.1 every run raised the expected exception.

Python 3.15 needs nothing new: #534 added it with the floor jpype1>=1.8.0, and 1.8.1 has cp315 wheels for every platform the package ships (manylinux_2_28_x86_64, manylinux_2_28_aarch64, macosx_11_0_universal2 for both Mac platforms, and win_amd64).

The change I propose:

  • pyproject.toml: jpype1>=1.5.0,!=1.8.0 below Python 3.12 instead of <1.8. Leaving out only 1.8.0 lets 3.11 take the newest jpype1, and a lock file that still holds 1.8.0 moves off it. The other two lines stay.
  • The native parity install in test-native.yml, which repeats the limit, and tests/test_select_matrix.py, which pins the three lines.
  • README and the installation page: for releases up to 26.11.1.post4 on 3.11, the advice becomes uv add "jpype1!=1.8.0" instead of uv add "jpype1<1.8".

Activity

  1. added this to the 27.1.1 milestone on Nov 30, 2026
  2. self-assigned this
    on Nov 30, 2026
  3. added
    enhancement
    dependencies
    python
    jvm
    on Nov 30, 2026
  4. added
    bug
    concurrency
    in progress
    on Nov 30, 2026
  5. modified the milestones: 27.1.1, 26.12.1 on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugconcurrencydependenciesenhancementin progressjvmpython

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions