Repository navigation
fix(packaging): accept Java 21 or newer in the .rpm and .deb dependencies - #4237
Merged
Merged
Conversation
…cies The rpm required java-21-openjdk-headless, which current Fedora (44) no longer ships, so wheels/wheels-be couldn't be installed there. It now requires '(java-21-headless or java-headless >= 1:21)'. The .deb also accepts OpenJDK 25. The launcher already accepted any Java 21+; its error hint now says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
rev1-r1 review: head
|
This was referenced Oct 4, 2026
3 tasks done
bpamiri
added a commit
that referenced
this pull request
Oct 11, 2026
* chore(release): promote changelog fragments into 4.2.0 Runs tools/changelog-promote.sh 4.2.0 2026-10-11: assembles the 272 changelog.d fragments into a new 4.2.0 section and empties changelog.d. The date is the prep date and moves to the tag date at the cut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Peter Amiri <peter@alurium.com> * chore(release): add the Java 21+ package line and a reference to the 4.2.0 changelog #4237 and #4243 changed released Linux package behaviour without a fragment. The framework-suite datasource line (added by #4295 for #4254) gains its issue reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Peter Amiri <peter@alurium.com> * chore(release): describe job heartbeats as they ship in 4.2 Folds the heartbeat Added entry (#4477) and the grace Fixed entry (#4502) into one Added entry. The Fixed entry described a 'before' that never shipped, and the Added entry's 'heartbeats more often than its timeout' contradicted the grace rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Peter Amiri <peter@alurium.com> --------- Signed-off-by: Peter Amiri <peter@alurium.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wheels/wheels-becan't be installed on current Fedora: the rpm requiresjava-21-openjdk-headless, and Fedora 44 ships onlyjava-25-openjdk-headless/java-latest-openjdk-headless:Changes (
tools/distribution-drafts/linux-packages/, used live byrelease.yml):Requires: (java-21-headless or java-headless >= 1:21). No single name covers both families: Rocky/RHEL's java-21 providesjava-21-headlessbut not the genericjava-headless, and Fedora's java-25/latest providesjava-headless = 1:25…. A rich dependency needs rpm >= 4.13 (EL8+, Fedora). Java 21 stays first.openjdk-21-jre-headless | openjdk-21-jre | openjdk-25-jre-headless | openjdk-25-jre. 21 stays first, so it's what apt picks when nothing is installed. Today's Ubuntu/Debian all still package 21; 25 is already the default JRE on newer releases._wheels_java_okalready accepts any Java >= 21 (no upper bound), and an only-Java-25 system resolves through the/usr/bin/javaalternatives fallback. Only the wording changes: the final error now says "cannot find a Java 21 or newer runtime … any Java 21+ works", and the probe comment matches.tools/test-linux-launcher-java.shis updated for the new message text.Does Wheels run on Java 25? Yes: Fedora 44 + java-25-openjdk-headless 25.0.4.1,
wheels new+wheels start, GET / 200, Lucee 7.0.0.395.Verification: packages built locally with this branch through the release script (
build-linux-packages.sh, nfpm 2.40.0, snapshot 2870 inputs,CHANNEL=bleeding-edge). The rich dependency survives nfpm andrpm-rewrap.sh(its dependency-equality check passes; rpm2cpio OK on Rocky 9 and 10). Then installed from the local files:wheels --versiondnf install ./wheels-be-…noarch.rpmdnf install ./wheels-be-…noarch.rpmapt-get install ./wheels-be_…_all.debapt-get install ./wheels-be_…_all.debapt-get install ./wheels-be_…_all.debtools/test-linux-launcher-java.shpasses 19/19 on Linux (ubuntu:24.04). On macOS one case fails on the/var->/private/varsymlink, unrelated and pre-existing.Once this ships in a release, a Fedora/dnf5 leg can be added to
distribution-install-smoke.yml(deferred until now, see #4235).🤖 Generated with Claude Code