Uploaded image for project: 'pymongoarrow'
  1. pymongoarrow
  2. ARROW-18

Add manylinux* platform tags to manylinux wheels

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 0.1.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Linux wheels being produced by our GitHub Actions jobs do not have the manylinux* platform tags as indicated by their names, e.g.:

      pymongoarrow-0.1.0-cp36-cp36m-linux_x86_64.whl
      

      The reason this happens is detailed in PEP-513 which introduced the manylinux1 platform tag:

      Therefore, we do not attempt to change the default behavior of pip wheel / bdist_wheel: they will continue to generate regular linux_* platform tags, and developers who wish to use them to generate manylinux1-tagged wheels will have to change the tag as a second post-processing step.

      As an often-automatic alternative to these options, we introduce auditwheel. The tool inspects all of the ELF files inside a wheel to check for dependencies on versioned symbols or external shared libraries, and verifies conformance with the manylinux1 policy. This includes the ability to add the new platform tag to conforming wheels.

      Attempting to use auditwheel repair to fix the platform tag on PyMongoArrow's wheels however does not work for us because we do not intend to bundle PyArrow's SOs in our wheels preferring instead to use the SOs provided by the pyarrow wheel installed in the user environment. Unfortunately, auditwheel does not support this and does not plan to - see this thread for a relevant discussion.

      We need to manually re-tag the wheels produced by our builds in order to ensure that end users are able to take advantage of the manylinux platform tag.

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: