Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-555

[pymongoarrow] Auditwheel repair is failing

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • pymongoarrow-1.7.1
    • Affects Version/s: None
    • Component/s: pymongoarrow
    • None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      sh -c 'pip install "auditwheel>=6,<7" && python addtags.py /tmp/cibuildwheel/built_wheel/pymongoarrow-1.8.0.dev0-cp39-cp39-linux_x86_64.whl /tmp/cibuildwheel/repaired_wheel'
        Collecting auditwheel<7,>=6
          Downloading auditwheel-6.3.0-py3-none-any.whl.metadata (8.1 kB)
        Requirement already satisfied: packaging>=20.9 in /opt/_internal/cpython-3.9.21/lib/python3.9/site-packages (from auditwheel<7,>=6) (24.2)
        Collecting pyelftools>=0.24 (from auditwheel<7,>=6)
          Downloading pyelftools-0.32-py3-none-any.whl.metadata (372 bytes)
        Downloading auditwheel-6.3.0-py3-none-any.whl (48 kB)
        Downloading pyelftools-0.32-py3-none-any.whl (188 kB)
        Installing collected packages: pyelftools, auditwheel
        Successfully installed auditwheel-6.3.0 pyelftools-0.32
        Traceback (most recent call last):
          File "/project/addtags.py", line 55, in <module>
            main(
          File "/project/addtags.py", line 33, in main
            reqd_tag = policies.get_priority_by_name(abi)
        AttributeError: 'WheelPolicies' object has no attribute 'get_priority_by_name'
        wheel path: /tmp/cibuildwheel/built_wheel/pymongoarrow-1.8.0.dev0-cp39-cp39-linux_x86_64.whl
        target platform: manylinux_2_28_x86_64
        wheel dir: /tmp/cibuildwheel/repaired_wheel
      

      https://github.com/mongodb-labs/mongo-arrow/actions/runs/13939613506/job/39013881322

      auditwheel doesn't have a public python api, it is meant to be used as a CLI. We can instead invoke it with: auditwheel repair --exclude libarrow* to get the same effect.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None