Skip to content

Add Python 3.12 UBI image reference#19

Open
dmaniloff wants to merge 1 commit into
opendatahub-io:mainfrom
dmaniloff:add-python-312-image
Open

Add Python 3.12 UBI image reference#19
dmaniloff wants to merge 1 commit into
opendatahub-io:mainfrom
dmaniloff:add-python-312-image

Conversation

@dmaniloff

@dmaniloff dmaniloff commented Dec 17, 2025

Copy link
Copy Markdown

Add RELATED_IMAGE_ODH_PYTHON_312_IMAGE environment variable to bundle/additional-images-patch.yaml to support Python 3.12 workloads in ODH components.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added Python 3.12 image support to the system configuration, enabling the use of Python 3.12 runtime environment.

✏️ Tip: You can customize this high-level summary in your review settings.

Add RELATED_IMAGE_ODH_PYTHON_312_IMAGE environment variable to bundle/additional-images-patch.yaml to support Python 3.12 workloads in ODH components.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

A new Python 3.12 image reference is added to the bundle configuration file. The entry specifies a UBI9-based Python image with its corresponding SHA256 digest, enabling this container image to be included in the bundle's related images manifest.

Changes

Cohort / File(s) Summary
Bundle Configuration Update
bundle/additional-images-patch.yaml
Added new image entry RELATED_IMAGE_ODH_PYTHON_312_IMAGE pointing to registry.redhat.io/ubi9/python-312:latest with SHA256 digest

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Verify the image SHA256 hash is accurate and corresponds to the correct Python 3.12 UBI9 image
  • Confirm the image registry URL and tag follow the existing naming and formatting convention

Poem

🐰 A Python image hops into the bundle with grace,
Three-twelve precision in a ubi9 place,
With SHA256 secured, it's ready to run,
Configuration magic—hop hop, we're done! 🚀

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a Python 3.12 UBI image reference to the bundle configuration file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 82c2103 and 09a11eb.

📒 Files selected for processing (1)
  • bundle/additional-images-patch.yaml (1 hunks)
🔇 Additional comments (1)
bundle/additional-images-patch.yaml (1)

35-36: Format and naming convention look correct.

The new image entry follows the required format and naming conventions. The YAML structure is consistent with existing entries.

However, verify that the SHA256 digest is valid and the image exists at the specified registry.

Run the following script to verify the image reference:

#!/bin/bash
# Description: Verify the Python 3.12 UBI image exists and check if the SHA256 digest is current.

# Test 1: Check if the image can be inspected (requires registry access)
echo "Attempting to inspect the image..."
skopeo inspect docker://registry.redhat.io/ubi9/python-312:latest 2>&1 | jq -r '.Digest, .RepoTags[]?' | head -10

# Test 2: Verify the SHA256 digest matches
echo -e "\nVerifying SHA256 digest..."
DIGEST=$(skopeo inspect docker://registry.redhat.io/ubi9/python-312:latest 2>&1 | jq -r '.Digest')
EXPECTED="sha256:3da39d0c938994161bdf9b6b13eb2eacd9a023c86dd5166f3da31df171c88780"
echo "Expected: $EXPECTED"
echo "Actual: $DIGEST"

if [ "$DIGEST" = "$EXPECTED" ]; then
  echo "✓ SHA256 digest matches"
else
  echo "✗ SHA256 digest mismatch - image may have been updated"
fi

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dmaniloff

Copy link
Copy Markdown
Author

@dchourasia Could you please take a look at this PR?

@openshift-ci

openshift-ci Bot commented Mar 28, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant