Skip to content

jdk4py: Add version 25.0.2.1 - #2421

Merged
luhenry merged 3 commits into
mainfrom
jdk4py
Sep 28, 2026
Merged

luhenry merged 3 commits into
mainfrom
jdk4py

Conversation

@luhenry

@luhenry luhenry commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Bundles a jlink-trimmed Eclipse Temurin JDK per platform. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-java-runtime/build-python-wheel composite actions.

Differs from upstream

  • actions/setup-java given architecture: riscv64 explicitly - listed as a supported Temurin/linux target but not auto-detected on a self-hosted runner
  • wheel retagged manylinux_2_39_riscv64 - matches this repo's other riscv64 wheels; upstream's own tag table has no riscv64 case
  • tests install the wheel with uv pip, not uv run pytest in the checkout - uv run would reinstall the local project over the wheel under test

Testing

  • runs upstream's tests/test_jdk4py.py against the built wheel

License: wheel bundles the Eclipse Temurin JDK (GPL-2.0 WITH Classpath-exception-2.0); jlink copies each module's LICENSE into java-runtime/legal/, same as upstream's own wheels.

CI pending.

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-28 21:31 UTC

…ckout

uv pip install --no-deps . installed a non-editable copy into
site-packages, so jlink's --output (jdk4py.JAVA_HOME) landed there instead
of in the src tree that uv build --wheel packages from. The riscv64 wheel
came out without java-runtime/ at all (2.7KB), which is why every test
hit FileNotFoundError on java-runtime/bin/java.
@luhenry
luhenry marked this pull request as ready for review September 28, 2026 19:07
luhenry added a commit that referenced this pull request Sep 28, 2026
@luhenry
luhenry merged commit 622291f into main Sep 28, 2026
13 checks passed
@luhenry
luhenry deleted the jdk4py branch September 28, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant