Skip to content

Commit 674d2c3

Browse files
committed
chore: task upgrade — bump deps + fix kotlin_android + python pyproject
`task upgrade` ran end-to-end. Two issues surfaced and were patched in the run: - `crates/html-to-markdown-py/src/pyproject.toml` pointed maturin at `../../crates/html-to-markdown-py/Cargo.toml` (which resolves to `crates/crates/…` from the pyproject's own directory). Corrected to `../Cargo.toml`. `uv sync --all-packages --all-extras --upgrade` now completes; this had been broken silently — the publish workflow builds via `maturin build` with explicit paths, so the bug only fired on local `uv sync` / `task upgrade`. - `com.github.ben-manes.versions` plugin (0.52.0 / latest 0.53.0) throws `java.util.ConcurrentModificationException` under Gradle 9.5.1 on every `:dependencyUpdates` invocation. The plugin has not shipped since 2024-11. Both `alef update --latest` and `task kotlin_android:upgrade` consequently failed the rest of the upgrade chain. Inert-echo the probe in both alef.toml (`[crates.update.kotlin_android]`) and `.task/languages/kotlin_android.yml` until upstream lands a Gradle 9 fix or we swap to `nl.littlerobots.version-catalog-update`. Remaining diffs are the upgrade-chain outputs: gau-driven GitHub Actions pins, Cargo workspace deps, pnpm/uv/composer/Gemfile lockfile bumps, alef docs regen triggered by the version sync, and per-language README re-renders.
1 parent 4d5618b commit 674d2c3

39 files changed

Lines changed: 11125 additions & 6195 deletions

.github/workflows/ci-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ jobs:
10161016
uses: actions/checkout@v6.0.2
10171017

10181018
- name: Setup Elixir
1019-
uses: erlef/setup-beam@v1.24.0
1019+
uses: erlef/setup-beam@v1.24
10201020
with:
10211021
elixir-version: "1.19"
10221022
otp-version: "28.1"

.task/languages/kotlin_android.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
version: "3"
22
internal: true
33

4+
# `com.github.ben-manes.versions` (pin 0.52.0, latest 0.53.0) throws
5+
# `java.util.ConcurrentModificationException` under Gradle 9.5.1 on every
6+
# `:dependencyUpdates` invocation; the plugin has not shipped a release
7+
# since 2024-11. Until upstream fixes it (or we swap to
8+
# `nl.littlerobots.version-catalog-update`), the kotlin_android update/upgrade
9+
# probe is a no-op so `task upgrade` does not fail on the rest of the chain.
10+
# Mirror the rationale in alef.toml `[crates.update.kotlin_android]`.
411
tasks:
512
update:
6-
desc: "Update Kotlin/Android dependencies within major versions (gradlew dependencyUpdates)"
13+
desc: "Update Kotlin/Android dependencies (skipped: ben-manes versions plugin incompatible with Gradle 9.x)"
714
silent: false
815
cmds:
9-
- cmd: |
10-
cd packages/kotlin-android && ./gradlew dependencyUpdates
11-
ignore_error: false
16+
- 'echo "[kotlin_android] skip: ben-manes/gradle-versions-plugin incompatible with Gradle 9.x"'
1217

1318
upgrade:
14-
desc: "Report Kotlin/Android dependency upgrades (gradlew dependencyUpdates — Android SDK / AGP bumps need manual review for binary-compat impact)"
19+
desc: "Report Kotlin/Android dependency upgrades (skipped: ben-manes versions plugin incompatible with Gradle 9.x)"
1520
silent: false
1621
cmds:
17-
- cmd: |
18-
cd packages/kotlin-android && ./gradlew dependencyUpdates
19-
ignore_error: false
22+
- 'echo "[kotlin_android] skip: ben-manes/gradle-versions-plugin incompatible with Gradle 9.x"'

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ clap = { version = "4.6", features = ["derive"] }
4343
clap_complete = "4.6"
4444
clap_mangen = "0.3"
4545
encoding_rs = "0.8"
46-
ext-php-rs = "0.15.13"
46+
ext-php-rs = "0.15.14"
4747
html-to-markdown-rs = { version = "3.5.0", path = "crates/html-to-markdown" }
4848
html5ever = "0.39.0"
4949
once_cell = "1.21"

alef.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,18 @@ precondition = "command -v gradle >/dev/null 2>&1"
311311
format = "cd packages/kotlin-android && gradle ktlintFormat --no-daemon"
312312
check = "cd packages/kotlin-android && gradle ktlintCheck --no-daemon"
313313

314+
[crates.update.kotlin_android]
315+
# The com.github.ben-manes.versions plugin (current pin 0.52.0, latest 0.53.0)
316+
# throws `java.util.ConcurrentModificationException` under Gradle 9.5.1 on every
317+
# `:dependencyUpdates` invocation. The plugin has not shipped a release since
318+
# 2024-11 and the incompatibility is unpatched upstream. `task upgrade` and
319+
# `alef update --latest` both consequently fail on the kotlin_android step.
320+
# Skip the probe with an inert echo until either the plugin ships a Gradle 9
321+
# fix or we swap to `nl.littlerobots.version-catalog-update`.
322+
precondition = "command -v gradle >/dev/null 2>&1"
323+
update = "echo '[kotlin_android] skip: ben-manes/gradle-versions-plugin incompatible with Gradle 9.x'"
324+
upgrade = "echo '[kotlin_android] skip: ben-manes/gradle-versions-plugin incompatible with Gradle 9.x'"
325+
314326
[crates.lint.swift]
315327
precondition = "command -v swift >/dev/null 2>&1"
316328
format = "swift format --in-place --recursive packages/swift/Sources"

0 commit comments

Comments
 (0)