Repository navigation
[BUILD] Docker image on Arrow 24, require Arrow 24 - #10759
Conversation
The Docker image built with Arrow 23 from Apache's APT repository, while PR CI, the wheels and the installers build with the Arrow 24 of the vcpkg baseline. Code that needs a newer Arrow API passed PR CI and broke only the nightly container build (#10731). Pin the image to Arrow 24 and note that it follows the vcpkg baseline. With the Bioconda recipe also on 24, no build we ship uses Arrow 23 any more, so the minimum in CMake goes to 24 as well. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Y8k7TxP9NJP4VFU5EK6dF2
|
@jpfeuffer ok will move this gradually |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
CMake version checks cmake/cmake_findExternalLibs.cmake, src/pyOpenMS/CMakeLists.txt |
The external library checks reject Arrow and Parquet versions below 24. The pyOpenMS check rejects Arrow versions below 24. Package lookups remain unversioned. |
Docker package pins dockerfiles/Dockerfile |
APT preferences now pin Arrow and Parquet packages to version 24. The library stage installs libarrow2400 and libparquet2400. |
Suggested reviewers: jpfeuffer
Priority:
Change: Other
Merge Risk: 
Minimal · up to 9e424
-
This change moves the Docker image and the minimum CMake requirement to Arrow and Parquet 24, matching PR CI, wheels and installers. No actionable merge-blocking risk was found. The container workflow does not run on PRs, so the first nightly container build is the final confirmation of the Docker packages.
Pre-merge checks: 
4
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
A rabbit checks the version line,
Arrow and Parquet now read twenty-four.
The Docker packages match the sign,
CMake checks the versions at the door.
I nibble greens and hop once more!
Comment @coderabbitai help to get the list of available commands.
Requested by Timo · project thread
Why
The Docker image builds with Arrow 23 from Apache's APT repository, while PR CI, the wheels and the installers build with the Arrow 24 of the vcpkg baseline. Code that needs a newer Arrow API therefore passed PR CI and broke only the nightly container build (fixed in #10731). #10757 adds an Arrow 23 leg to PR CI to catch that; this PR is the alternative discussed there: move the remaining Arrow 23 builds to 24, so every build we ship uses the same Arrow. Nothing depends on 23 (see the comments on #10757).
Changes
dockerfiles/Dockerfile: pin Arrow/Parquet to24.*in the build and runtime stages, and installlibarrow2400/libparquet2400at runtime. A comment says to keep the pin at the Arrow of the vcpkg baseline.cmake/cmake_findExternalLibs.cmakeandsrc/pyOpenMS/CMakeLists.txt: require Arrow/Parquet ≥ 24. With Docker and Bioconda on 24, no build we ship uses 23 any more, so 23 would be an untested minimum.The Bioconda half is OpenMS/bioconda-recipes#29 (openms-meta and pyopenms nightly recipes on 24).
Merge order: OpenMS/bioconda-recipes#29 first, or both together. With this PR on
developand the recipes still on 23, the next "Deploy to Bioconda" run fails at configure.Testing
libarrow2400/libparquet2400for noble directly. Apache publishes APT packages for Ubuntu 24.04 with every release and keeps older versions installable (the 23 pin kept working after 25 became the default, see [FIX] Docker: pin Arrow/Parquet apt packages in library stage #9891). The first nightly container build after merging will confirm it.🤖 Generated with Claude Code
https://claude.ai/code/session_01Y8k7TxP9NJP4VFU5EK6dF2