Skip to content

MINOR: [CI] Ignore Checkstyle 13+ in Dependabot (requires Java 21) - #1332

Closed
jbonofre wants to merge 1 commit into
apache:mainfrom
jbonofre:dependabot-ignore-checkstyle-13
Closed

jbonofre wants to merge 1 commit into
apache:mainfrom
jbonofre:dependabot-ignore-checkstyle-13

Conversation

@jbonofre

@jbonofre jbonofre commented Oct 5, 2026

Copy link
Copy Markdown
Member

Rationale for this change

Dependabot PR #1324 bumps Checkstyle from 10.23.0 to 14.3.0 and fails on every JDK 17 job with:

UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/CheckstyleException has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

Checkstyle 13.0.0 and later are built for Java 21, while the build still runs on JDK 17. The 12.x line is the last one built for Java 17.

What changes are included in this PR?

Add an ignore rule to the Maven ecosystem in .github/dependabot.yml so Dependabot no longer proposes Checkstyle >=13. Updates within 12.x are still proposed.

Are these changes tested?

No, this is a CI configuration change only. The YAML was checked to parse.

Are there any user-facing changes?

No.

@jbonofre jbonofre added chore PRs that make misc changes. dependencies Pull requests that update a dependency file labels Oct 5, 2026
@apache apache deleted a comment from github-actions Bot Oct 5, 2026
@github-actions github-actions Bot added this to the 20.0.0 milestone Oct 5, 2026
@kou

kou commented Oct 5, 2026

Copy link
Copy Markdown
Member

We may not need this because you already used @dependabot ignore this major version in #1324 .

@jbonofre
jbonofre force-pushed the dependabot-ignore-checkstyle-13 branch from 79191e8 to c9ed3df Compare October 6, 2026 05:23
@jbonofre

jbonofre commented Oct 6, 2026

Copy link
Copy Markdown
Member Author

@kou yes, you are right. I created this PR before closing #1324. Let me close this one.

@jbonofre jbonofre closed this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that make misc changes. dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants