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

PySide2 wheel name not properly defined

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: