Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-77847

upgrade python in test-kubevirt-core

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • CNV QE DevOps
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • CNV QE DevOps Sprint 283
    • None

      The unit tests in test-kubevirt-core are failing, because a newer python version is required by the ansible unit testing framework.
      The code uses the union operator (|) for type hinting (e.g., str | None), which requires Python 3.10+. The test runner is using Python 3.9.

      If adjusting the python version requires some effort, 
      https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle
      https://access.redhat.com/support/policy/updates/ansible-automation-platform

      looks like python 3.12 is available from RHEL 8 to 10 and compatible with many ansible versions.

              rh-ee-vpryakhi Vitaly Pryakhin
              dholler@redhat.com Dominik Holler
              Daniel Keler Daniel Keler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: