Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-2354

[python-wheel-build/fromager] validate whether downloaded wheel is valid or not

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Fromager
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      [2680892103] Upstream Reporter: Shubh Bapna
      Upstream description:

      In [_download_wheel_check](https://github.com/python-wheel-build/fromager/blob/main/src/fromager/wheels.py#L366) we currently just check whether the wheel file is a valid zip file. Lets instead check if it is a valid wheel file by using the `wheel.wheelfile.WheelFile` API as mentioned in https://github.com/python-wheel-build/fromager/issues/507#issuecomment-2492133631

              rh-ee-sbapna Shubh Bapna
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: