Skip to content

build: bump Launchpad PPA toolchain and MSRV to Rust 1.97 - #341

Merged
inureyes merged 1 commit into
mainfrom
build/rust-ppa-toolchain-1.97
Oct 22, 2026
Merged

inureyes merged 1 commit into
mainfrom
build/rust-ppa-toolchain-1.97

Conversation

@inureyes

Copy link
Copy Markdown
Member

Summary

Moves the Debian/Launchpad packaging toolchain and the declared MSRV from Rust 1.96 to 1.97 now that the lablup rustc-release dependency PPA (~lablup/+archive/ubuntu/rustc-release) publishes rustc-1.97 and cargo-1.97 (1.97.1+dfsg1-0ubuntu1~<series>.2) for jammy, noble, and resolute on amd64 and arm64. Follows the same shape as the 1.96 bump in #231.

Changes

  • Cargo.toml: rust-version → 1.97. The CI msrv job reads this value, so it now checks on 1.97. The comment now says resolute also takes its toolchain from the rustc-release PPA, since the resolute archive only carries 1.93.
  • debian/control, debian/control.source: Build-Depends → rustc-1.97 | rustc (>= 1.97), cargo-1.97 | cargo (>= 1.97).
  • debian/rules*: prefer rustc-1.97/cargo-1.97 and raise the dpkg --compare-versions gate to ge 1.97.
  • .github/workflows/launchpad_ppa.yml: vendor_rust → 1.97.1 for all three distros.
  • debian/README.packaging: Rust requirement and PPA notes updated to 1.97.

Validation

  • cargo +1.97.1 check --workspace --locked passes.
  • Mirrored the PPA packaging path in clean jammy, noble, and resolute containers (arm64): installed cargo-1.97/rustc-1.97 from the rustc-release PPA, vendored with cargo-1.97 vendor --locked plus debian/sanitize-vendor.py, and ran dpkg-buildpackage -b with the offline --frozen build. All three produced the binary packages.

Cargo.lock needs no change.

The lablup rustc-release dependency PPA now publishes rustc-1.97 and cargo-1.97 for jammy, noble, and resolute, so move the declared MSRV and the Debian/Launchpad toolchain from 1.96 to 1.97, following #231. The CI msrv job reads rust-version and now checks on 1.97.

The Cargo.toml note now says resolute also builds with the rustc-release PPA toolchain; the resolute archive only carries Rust 1.93.

Validation: cargo +1.97.1 check --workspace --locked passes, and an offline dpkg-buildpackage -b using the PPA's cargo-1.97 with vendored, sanitized dependencies succeeds in clean jammy, noble, and resolute containers.
@inureyes inureyes added status:review Under review type:chore Maintenance tasks (build, CI, etc) labels Oct 22, 2026
@inureyes
inureyes merged commit 31ebeb9 into main Oct 22, 2026
5 checks passed
@inureyes
inureyes deleted the build/rust-ppa-toolchain-1.97 branch October 22, 2026 10:53
@inureyes inureyes self-assigned this Oct 22, 2026
@inureyes inureyes added status:done Completed and removed status:review Under review labels Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:done Completed type:chore Maintenance tasks (build, CI, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant