You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MINOR: Upgrade release.py to run with JDK 25 (#20699)
Related
discussion:#20561 (comment)
This PR primarily upgrades release tooling to JDK 25, and includes two
fixes identified while dry-running `release.py` locally.
1. JDK upgrade: Switches `release.py` to run under JDK 25.
2. Pre‑req check false negative in git clean‑state verification task
* When running `release.py` with a clean working tree, the script
incorrectly failed the pre‑requisite check.
```bash
$ git status
On branch MINOR-1014
nothing to commit, working tree clean
$ python release.py
...
FAILURE: Pre-requisite not met: Verifying that you have no unstaged git
changes.
```
* Root cause: the checks used `has_unstaged_changes()` /
`has_staged_changes()` in a way that treated success as “has changes”.
The fix inverts the logic to assert **no** changes.
3. Gradle 9 aggregatedJavadoc failure
* With **Gradle 9**, `aggregatedJavadoc` currently fails in parallel
mode.
```
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':aggregatedJavadoc'.
> Resolution of the configuration ':connect:compileClasspath' was
attempted without an exclusive lock. This is unsafe and not allowed.
```
* The change adds `--no-parallel` for the aggregated Javadoc step to
avoid build failures (discussion:
#19513 (comment))
Reviewers: Mickael Maison <[email protected]>, Ming-Yen Chung
<[email protected]>, kuoche1712003 <[email protected]>,
Chia-Ping Tsai <[email protected]>
0 commit comments