Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BUG: Auditwheel targets multiple wheels #247

Copy link
Copy link
@tbirdso

Description

@tbirdso
Issue body actions

Current behavior

The Linux wheel repair mechanism with auditwheel attempts to repair preexisting wheel artifacts. This can result in an error being thrown or in previous wheels erroneously being removed.

From https://github.com/tbirdso/ITKBSplineGradient/actions/runs/3824246225/jobs/6506214609:

+ for whl in 'dist/*linux*$(uname -m).whl'
+ /opt/python/cp37-cp37m/bin/python /ITKPythonPackage/scripts/internal/auditwheel_whitelist_monkeypatch.py repair dist/itk_bsplinegradient-0.3.0-cp37-cp37m-linux_x86_64.whl -w /work/dist/ --whitelist ''
INFO:auditwheel.main_repair:Repairing itk_bsplinegradient-0.3.0-cp37-cp37m-linux_x86_64.whl
INFO:auditwheel.wheeltools:Previous filename tags: linux_x86_64
INFO:auditwheel.wheeltools:New filename tags: manylinux_2_17_x86_64, manylinux2014_x86_64
INFO:auditwheel.wheeltools:Previous WHEEL info tags: cp37-cp37m-linux_x86_64
INFO:auditwheel.wheeltools:New WHEEL info tags: cp37-cp37m-manylinux_2_17_x86_64, cp37-cp37m-manylinux2014_x86_64
INFO:auditwheel.main_repair:
Fixed-up wheel written to /work/dist/itk_bsplinegradient-0.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+ rm dist/itk_bsplinegradient-0.3.0-cp37-cp37m-linux_x86_64.whl
+ for whl in 'dist/*linux*$(uname -m).whl'
+ /opt/python/cp37-cp37m/bin/python /ITKPythonPackage/scripts/internal/auditwheel_whitelist_monkeypatch.py repair dist/itk_bsplinegradient-0.3.0-cp37-cp37m-manylinux_2_28_x86_64.whl -w /work/dist/ --whitelist ''
INFO:auditwheel.main_repair:Repairing itk_bsplinegradient-0.3.0-cp37-cp37m-manylinux_2_28_x86_64.whl
usage: auditwheel_whitelist_monkeypatch.py [-h] [-V] [-v] command ...
auditwheel_whitelist_monkeypatch.py: error: cannot repair "dist/itk_bsplinegradient-0.3.0-cp37-cp37m-manylinux_2_28_x86_64.whl" to "manylinux2014_x86_64" ABI because of the presence of too-recent versioned symbols. You'll need to compile the wheel on an older toolchain.

Requested Behavior

Auditwheel should be directed to repair only the expected wheel output from the currently running script. The wheel filename to use should be constained based on Python version, manylinux version, and target architecture.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.