ramalama icon indicating copy to clipboard operation
ramalama copied to clipboard

Update all dependencies in the -rag images to their latest versions

Open mikebonnet opened this issue 1 month ago • 1 comments

Summary by Sourcery

Update RAG container image dependency lockfiles and standardize Python platform selection for x86_64 and aarch64 builds.

Enhancements:

  • Simplify platform selection in the common container Makefile by inlining manylinux_2_28 targets for x86_64 and aarch64 RAG backends.

Chores:

  • Regenerate all RAG backend requirements lockfiles to pull in the latest compatible dependency versions.

mikebonnet avatar Nov 27 '25 01:11 mikebonnet

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR standardizes how Python platforms are selected for RAG backend image lockfile generation, updates all RAG backend requirements lockfiles to the latest compatible versions, and adjusts the bats image base packages to support Python development tooling across architectures.

File-Level Changes

Change Details Files
Simplify and standardize Python platform selection for generating RAG backend requirements lockfiles.
  • Remove the separate AARCH64_PLATFORM variable from the common container Makefile.
  • Inline the python platform selection into the uv pip compile invocation based on whether the backend name contains 'aarch64'.
  • Ensure x86_64 and aarch64 builds both target manylinux_2_28 with explicit platform strings.
container-images/common/Makefile
Adjust bats container base packages to support Python-based tooling and builds.
  • Add gcc to the bats container image to support building native extensions or compiling code during tests.
  • Replace python3 with python3 python3-devel to ensure headers and dev tooling are present while keeping python3-pip installed for package management.
container-images/bats/Containerfile
Refresh RAG backend Python dependency lockfiles to latest compatible versions for all supported backends and architectures.
  • Regenerate the CPU, CUDA (cu128), ROCm, Intel XPU, and their aarch64 variants requirements-rag-*.txt using the updated Makefile.
  • Update pinned versions and hashes across all RAG backend requirements files to match the current dependency resolver output.
container-images/common/requirements-rag-cpu-aarch64.txt
container-images/common/requirements-rag-cpu.txt
container-images/common/requirements-rag-cu128-aarch64.txt
container-images/common/requirements-rag-cu128.txt
container-images/common/requirements-rag-rocm6.3.txt
container-images/common/requirements-rag-xpu.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an issue from a review comment by replying to it. You can also reply to a review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in the pull request body to generate a PR summary at any time exactly where you want it. You can also comment @sourcery-ai summary on the pull request to (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the pull request to resolve all Sourcery comments. Useful if you've already addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull request to dismiss all existing Sourcery reviews. Especially useful if you want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

  • Contact our support team for questions or feedback.
  • Visit our documentation for detailed guides and information.
  • Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.

sourcery-ai[bot] avatar Nov 27 '25 01:11 sourcery-ai[bot]

LGTM

rhatdan avatar Dec 02 '25 13:12 rhatdan