Repository navigation
[FIX] Docker: pin Arrow/Parquet apt packages in library stage - #9891
Conversation
The nightly "Deploy container images" build failed because the library stage installs libarrow2300/libparquet2300 without the same apt pin the base stage uses to keep the Arrow apt source resolving to v23 packages. Now that apache-arrow-apt-source-latest-noble.deb defaults to Arrow 25.0.0, the unpinned install fails. Fixes #9890
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Docker library stage now pins Arrow and Parquet runtime packages to version 23 before installation. This matches the build-stage dependency pin. ChangesArrow and Parquet runtime pinning
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I think it should be fine because we don't build pyopenms in there and we had issues regarding pyarrow vs. c++ arrow interoperability |
|
Looks weird. Just remove the apt from Apache then?? Both dev and nondev should be 23 on Ubuntu. |
|
@jpfeuffer I checked directly on a stock So the Apache Arrow apt source isn't optional here — Ubuntu has no native Arrow/Parquet C++ packages to fall back to, which is presumably why it was added in the first place. Happy to be shown otherwise if you have a specific package name/repo in mind, but as far as I can tell the pin (mirroring what Generated by Claude Code |
|
maybe only in 26.04 |
|
Yes probably. We should recheck why 25 is not working. I assume 23 won't be supported for long. |
|
Agreed that's worth investigating separately. The v23 pin isn't coming from anything in our CMake (I checked — For now I'd like to keep this PR scoped to restoring the nightly build (matching the existing, working Generated by Claude Code |
Audited PRs merged since the last CHANGELOG update (#9881): most of them (#9879, #9880, #9882, #9884, #9886, #9892, #9896, #9898, #9900, #9901, #9888) already carried their own CHANGELOG entries. Only the Docker library-stage fix (#9891) was missing one. Claude-Session: https://claude.ai/code/session_01Jgrv6mFL3oawgLdYs1efPH Co-authored-by: Claude <[email protected]>
Summary
Deploy container imagesworkflow failed building thelibrarystage ofdockerfiles/Dockerfile(arm64): https://github.com/OpenMS/OpenMS/actions/runs/31233273717basestage pins Arrow/Parquet apt packages to v23 (/etc/apt/preferences.d/arrow) before installinglibparquet-dev, so the pinned SONAME packages (libarrow2300/libparquet2300) resolve correctly. Thelibrarystage installs those same runtime packages directly, without the matching pin. Now thatapache-arrow-apt-source-latest-noble.debdefaults to Arrow 25.0.0, the unpinnedapt-get install libarrow2300 libparquet2300in thelibrarystage fails (exit code: 4).librarystage before installinglibarrow2300/libparquet2300, mirroring the existingbasestage logic exactly.Fixes #9890
Test plan
Deploy container imagesnightly workflow builds successfully (I couldn't verify locally — no Docker daemon available in this session; the change is a minimal, well-understood mirror of the identical, already-working pin used in thebasestage of the same Dockerfile).docker buildx build --target library ...succeeds for bothlinux/amd64andlinux/arm64.Generated by Claude Code
Summary by CodeRabbit