Skip to content

Migrate from jpype1-ext to jpype1 #13005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Migrate from jpype1-ext to jpype1 #13005

wants to merge 1 commit into from

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Aug 13, 2025

Motivation

With the addition of jpype1 last year, we had the issue that jpype would not pass control back to the python process on SIGTERM, but only on SIGINT.

This lead to issues with shutdown, which we fixed in our fork jpype1-ext. However, we have since contributed this fix upstream, and jpype1 1.6.0 should have this fix in by default, which was released recently.

With the effort to use python 3.13 as well, this provides a good opportunity to switch back, as jpype1 provides wheels for python3.13, while jpype1-ext currently does not (it would be fairly easy to add, but unnecessary as we want to deprecate the fork anyway).

Changes

  • Move from jpype1-ext to jpype
  • General dependency updates that came in with make upgrade-pinned-dependencies

@dfangl dfangl added the semver: patch Non-breaking changes which can be included in patch releases label Aug 13, 2025
@dfangl dfangl self-assigned this Aug 13, 2025
@dfangl dfangl requested a review from joe4dev August 13, 2025 15:32
Copy link

S3 Image Test Results (AMD64 / ARM64)

    2 files    2 suites   7m 57s ⏱️
  515 tests 465 ✅  50 💤 0 ❌
1 030 runs  930 ✅ 100 💤 0 ❌

Results for commit 6cb8032.

Copy link

Test Results - Preflight, Unit

22 106 tests  ±0   20 371 ✅ ±0   6m 20s ⏱️ -11s
     1 suites ±0    1 735 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 6cb8032. ± Comparison against base commit 969e613.

Copy link

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 9s ⏱️ -1s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 6cb8032. ± Comparison against base commit 969e613.

Copy link

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 21m 24s ⏱️
4 987 tests 4 395 ✅ 592 💤 0 ❌
4 993 runs  4 395 ✅ 598 💤 0 ❌

Results for commit 6cb8032.

Copy link

github-actions bot commented Aug 13, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 44m 14s ⏱️ - 2m 59s
4 628 tests ±0  4 188 ✅ ±0  440 💤 ±0  0 ❌ ±0 
4 630 runs  ±0  4 188 ✅ ±0  442 💤 ±0  0 ❌ ±0 

Results for commit 6cb8032. ± Comparison against base commit 969e613.

♻️ This comment has been updated with latest results.

@dfangl
Copy link
Member Author

dfangl commented Aug 14, 2025

@dfangl dfangl marked this pull request as ready for review August 14, 2025 09:11
Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Really great that you proactively clean up, and discard the fork now after the patch has been released! 💯 🧹
Looking forward to Python 3.13! 🤩

@dfangl
Copy link
Member Author

dfangl commented Aug 14, 2025

Just did some manual testing and SIGTERM handling works as expected 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants