Skip to content

[59_maintenance] chore: update webpki dependencies to fix cargo audit CI - #11793

Merged
alamb merged 1 commit into
59_maintenancefrom
alamb/59_maintenance_audit
Oct 22, 2026
Merged

alamb merged 1 commit into
59_maintenancefrom
alamb/59_maintenance_audit

Conversation

@alamb

@alamb alamb commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

The Audit job fails on pushes to 59_maintenance (for example https://github.com/apache/arrow-rs/actions/runs/39722525650/job/119639022597) because two advisories were published against versions pinned in the committed Cargo.lock:

  • RUSTSEC-2026-0382: rustls-webpki 0.103.15 (fixed in 0.103.16)
  • RUSTSEC-2026-0381: webpki-roots 1.0.7 (fixed in 1.0.10)

This is the same fix as #11752 on main.

What changes are included in this PR?

Update only the two flagged crates in Cargo.lock:

cargo update -p rustls-webpki -p webpki-roots

Verified locally that cargo audit --ignore RUSTSEC-2026-0194 --ignore RUSTSEC-2026-0195 (the CI invocation) passes, and that the lockfile resolves with cargo +1.85.0 metadata --locked. Both new versions have rust-version = "1.71", below the workspace MSRV of 1.85.

Are these changes tested?

CI

Are there any user-facing changes?

No. This only affects the lockfile used for workspace builds and CI.

Bump rustls-webpki 0.103.15 -> 0.103.16 (RUSTSEC-2026-0382) and
webpki-roots 1.0.7 -> 1.0.10 (RUSTSEC-2026-0381) in Cargo.lock so the
Audit job passes on 59_maintenance. Same change as #11752 on main.

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

alamb commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

I am going to merge this in to try and get a clean CI run on the 59 branch

@alamb
alamb merged commit a098b41 into 59_maintenance Oct 22, 2026
10 checks passed
alamb added a commit that referenced this pull request Oct 22, 2026
… CI (#11794)

# Which issue does this PR close?

- Part of #11665 (58.4.1 release)

# Rationale for this change

The `Audit` job fails on `58_maintenance` because two advisories were
published against versions pinned in the committed `Cargo.lock`:

- RUSTSEC-2026-0382: `rustls-webpki` 0.103.15 (fixed in 0.103.16)
- RUSTSEC-2026-0381: `webpki-roots` 1.0.9 (fixed in 1.0.10)

Reproduced locally by running the CI `cargo audit` invocation (with the
workflow's `--ignore` list) against the branch, which reports exactly
these two vulnerabilities.

This is the same fix as #11752 on `main` and #11793 on `59_maintenance`.

# What changes are included in this PR?

Update only the two flagged crates in `Cargo.lock`:

```
cargo update -p rustls-webpki -p webpki-roots
```

Verified locally that the CI `cargo audit` invocation passes afterwards,
and that the lockfile resolves with `cargo +1.85.0 metadata --locked`.
Both new versions have `rust-version = "1.71"`, below the workspace MSRV
of 1.85.

# Are these changes tested?

CI

# Are there any user-facing changes?

No. This only affects the lockfile used for workspace builds and CI.

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
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@Jefffrey Jefffrey added the development-process Internal changes; PRs with this label are excluded from changelog label Oct 22, 2026
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]>
Jefffrey added a commit that referenced this pull request Oct 23, 2026
# Which issue does this PR close?

- Part of #11664

# Rationale for this change

Prepare for the `59.3.2` patch release from the `59_maintenance` branch

# What changes are included in this PR?
1. Update version to `59.3.2`
2. Move the `59.3.1` changelog entry into `CHANGELOG-old.md`
3. Add `59.3.2` CHANGELOG (see rendered version
https://github.com/alamb/arrow-rs/blob/alamb/prepare_59.3.2/CHANGELOG.md)

Note: the backport PRs on `59_maintenance` did not carry `bug` /
`development-process` labels, so `git-cliff` could not group them. The
changelog entries were written by hand in the same format, grouping all
fixes under "Bug fixes" and omitting the CI-only changes (#11781,
#11793), following how the corresponding `main` PRs were labeled.

# Are these changes tested?
By CI

# Are there any user-facing changes?

New version and changelog

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Jefffrey <[email protected]>
@Jefffrey
Jefffrey deleted the alamb/59_maintenance_audit branch November 13, 2026 08:19
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