Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-860

PySide2 wheel name not properly defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.12.0
    • 5.11.2
    • PySide
    • None

      Inside the Python wheel the METADATA files are under a directory called:
      PySide2-5.11.2-5.11.2.dist-info/

      The standard format for wheels should look like this: <name>-<version>.dist-info
      So this directory should be:
      PySide2-5.11.2.dist-info/

      This breaks any tools that try to read this data from the whl file, such as Bazel:
      KeyError: "There is no item named 'PySide2-5.11.2.dist-info/METADATA' in the archive"

      A current workaround is to extract the wheel and rezip it with the proper directory structure, and then install using that.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            robbrit Rob Britton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes