Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-11086

[opendatahub-io/base-containers] test_python_version in test_common.py hardcodes "Python 3.12"

    • False
    • Hide

      None

      Show
      None
    • False

      [3991063475] Upstream Reporter: smoparth
      Upstream issue status: Closed
      Upstream description:

      This test runs against both Python and CUDA images. When a *new Python version* is added (e.g. 3.13 via generate-containerfile.sh python 3.13 or update-default-python-version.sh), this test will fail for the new image. The update-default-python-version.sh script does not update this test either ? it only touches ci.yml, pyproject.toml, tox.ini, and renovate.json.

      Proposed Fix
      Read the expected version from the com.opendatahub.python label (which acts as source of truth and its updated by build-args file which are indeed updated whenever needed) already set on both images. This makes the test self-contained, no env var needed, no hardcoded string to keep in sync manually.

              Unassigned Unassigned
              upstream-sync Upstream Sync
              Antonio's Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: