Skip to content

[58_maintenance] Fix MSRV CI by installing cargo-msrv with taiki-e/install-action & pinning ubuntu - #11778

Merged
Jefffrey merged 3 commits into
apache:58_maintenancefrom
alamb:alamb/fix_58_msrv
Oct 22, 2026
Merged

Jefffrey merged 3 commits into
apache:58_maintenancefrom
alamb:alamb/fix_58_msrv

Conversation

@alamb

@alamb alamb commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

The Verify MSRV job fails on every PR against 58_maintenance (for example #11767 and #11763) for reasons unrelated to those PRs:

error: cannot install package `cargo-msrv 0.19.5`, it requires rustc 1.94.1 or newer, while the currently active rustc version is 1.91.1
`cargo-msrv 0.19.3` supports rustc 1.91.1

cargo-msrv 0.19.4 and 0.19.5 were released today (2026-10-21) and require rustc 1.94.1, but 58_maintenance pins the toolchain to 1.91 in rust-toolchain.toml. cargo install cargo-msrv --locked does not help because --locked only pins the dependency graph, not the cargo-msrv version itself.

What changes are included in this PR?

Install cargo-msrv using taiki-e/install-action (which downloads a prebuilt binary and does not need to compile anything with the pinned toolchain), the same way main does since #10589. The action is pinned to the same commit as on main.

Are these changes tested?

CI

Are there any user-facing changes?

No, CI only.

…stall-action

cargo-msrv 0.19.4 and 0.19.5 (released 2026-10-21) require rustc 1.94.1,
but 58_maintenance pins the toolchain to 1.91, so `cargo install cargo-msrv`
fails. Download the prebuilt binary instead, as `main` does since apache#10589.

Same change as apache#11777 on 57_maintenance.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@Jefffrey

Copy link
Copy Markdown
Contributor

taking liberty to pin some actions to ubuntu 24, since there is an ongoing rollout of moving ubuntu-latest to new ubuntu 26 which breaks dev rat check + integration tests (due to no python 3.8, as well as a java issue)

pinning back to ubuntu24 as its easier since it already worked

@Jefffrey Jefffrey changed the title [58_maintenance] Fix MSRV CI by installing cargo-msrv with taiki-e/install-action [58_maintenance] Fix MSRV CI by installing cargo-msrv with taiki-e/install-action & pinning ubuntu Oct 22, 2026
alamb added a commit to alamb/arrow-rs that referenced this pull request Oct 22, 2026
The ubuntu-latest label is moving to Ubuntu 26.04 (apache#11789), which has no
Python 3.8 build for setup-python and defaults to JDK 25, where PySpark
3.4 fails with "getSubject is not supported". Pin these jobs to 24.04,
matching apache#11778 on the 58_maintenance branch.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
alamb added a commit to alamb/arrow-rs that referenced this pull request Oct 22, 2026
The ubuntu-latest label is moving to Ubuntu 26.04 (apache#11789), which has no
Python 3.8 build for setup-python and defaults to JDK 25, where PySpark
3.4 fails with "getSubject is not supported". Pin these jobs to 24.04,
matching apache#11778 on the 58_maintenance branch.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Jefffrey pushed a commit that referenced this pull request Oct 22, 2026
…untu runners (#11781)

# Which issue does this PR close?

- part of #11664
- part of #11789

# Rationale for this change

CI does not run on commits merged to the `59_maintenance` branch (see
https://github.com/apache/arrow-rs/commits/59_maintenance/).

<img width="1228" height="1317" alt="Screenshot 2026-10-21 at 3 39
00 PM"
src="https://github.com/user-attachments/assets/16e768f3-a85d-4220-a6dd-6331a1999cc0"
/>


# What changes are included in this PR?

Replace `main` with `59_maintenance` in the `push.branches` filter  

Also pin the three jobs that broke when the `ubuntu-latest` runner image
moved to Ubuntu 26.04 (#11789)
back to `ubuntu-24.04`, the same approach as
#11778 on `58_maintenance`:

- **RAT** and **Pyarrow C Data Interface**: `setup-python` has no Python
3.8 build for 26.04
- **PySpark Integration Test**: the default JDK on 26.04 is 25, where
PySpark 3.4 fails with `getSubject is not supported`

# Are these changes tested?

The PR itself exercises the `pull_request` trigger. The `push` trigger
can only be verified after merge.

# Are there any user-facing changes?

No

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
@Jefffrey
Jefffrey merged commit cb97277 into apache:58_maintenance Oct 22, 2026
37 checks passed
mbutrovich pushed a commit to mbutrovich/arrow-rs that referenced this pull request Oct 23, 2026
…stead of pinning runners (apache#11799)

# Which issue does this PR close?

- Closes apache#11789

# Rationale for this change

The `ubuntu-latest` runner label is [migrating from Ubuntu 24.04 to
26.04](https://github.blog/changelog/2026-09-17-ubuntu-26-generally-available-and-latest-migration/)
between October 19 and November 19, 2026. Three jobs on `main` break on
the new image (see
https://github.com/apache/arrow-rs/actions/runs/39673895251):

| Job | Failure on 26.04 |
| --- | --- |
| dev / Release Audit Tool (RAT) | `The version '3.8' with architecture
'x64' was not found for Ubuntu 26.04` |
| integration / Pyarrow C Data Interface | same: no Python 3.8 in the
toolcache |
| parquet / PySpark Integration Test |
`java.lang.UnsupportedOperationException: getSubject is not supported` |

The maintenance branches were fixed by pinning those jobs back to
`ubuntu-24.04` (apache#11778, apache#11781). This PR instead updates the jobs so
they run on the current image, as suggested in the issue.

# What changes are included in this PR?

- **RAT** (`dev.yml`): Python `3.8` → `3.12`. `check-rat-report.py` only
uses the standard library.
- **Pyarrow C Data Interface** (`integration.yml`): Python `3.8` →
`3.12`. 3.12 is the newest version with wheels for every pyarrow in the
matrix (`15`, `16`, `17`); pyarrow 15 has no 3.13 wheels, and
`pyarrow==15` resolves to 15.0.2 which pins `numpy<2`, so the install
still works. `pyo3` 0.29 supports 3.12.
- **PySpark Integration Test** (`parquet.yml`): add an
`actions/setup-java` step for Temurin 17. The 26.04 image ships JDK
11/17/21/25 with 25 as default; `Subject.getSubject` is disabled on JDK
24+ (JEP 486) so Hadoop/Spark 3.5 cannot start a `SparkContext`. Spark
3.5 supports Java 8/11/17, and 17 is already in the runner toolcache so
the step is fast.

`actions/setup-java` is pinned by SHA to `v6.1.0`, matching the
convention for other actions in this repo.

No RUSTSEC / `cargo audit` changes are needed on `main`: the
`rustls-webpki` / `webpki-roots` updates from the maintenance branches
(apache#11793, apache#11794) were originally made on `main` in apache#11752, and `main`
already has `quick-xml` 0.41.0 so it does not need the `--ignore
RUSTSEC-2026-0194/0195` flags the maintenance branches carry.

# Are these changes tested?

By CI on this PR. Whether the jobs land on a 24.04 or 26.04 runner
during the rollout window, all three should pass with these settings.

# Are there any user-facing changes?

No

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Internal changes; PRs with this label are excluded from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants