delocate
delocate copied to clipboard
Tool `delocate-wheel` alters tag in wheel name to seemingly invalid tag/number
Describe the bug
Tool delocate-wheel
alters tag in wheel name to seemingly invalid tag/number
We are using GitHub-runners to generate som large macOS wheels for repository Carolina
To Reproduce
The wheel before we use delocate
:
Created wheel for carolina: filename=carolina-1.0.16.dev3+g42cf9bc-cp38-cp38-macosx_11_0_x86_64.whl size=32980 sha256=f719c488eded81a29c5685e636b6b290f516d8fab9cbfde7b626041e49240904
...
Running delocate-wheel
:
delocate-wheel -w /tmp/carolina_dist -v $unfixed_wheel_path
...
...
-rw-r--r-- 1 runner wheel 17M Apr 5 13:42 carolina-1.0.16.dev3+g42cf9bc-cp38-cp38-macosx_13_6_x86_64.whl
I see that there are dependencies that would indicate this to be set to 13_x
, but as far as I can tell the wheel won't work when 13_6
is used. If I rename the file I can install it locally. The same is true for 11_0
.
Compatible tags: 1835
cp38-cp38-macosx_13_0_x86_64
cp38-cp38-macosx_13_0_intel
cp38-cp38-macosx_13_0_fat64
cp38-cp38-macosx_13_0_fat32
cp38-cp38-macosx_13_0_universal2
cp38-cp38-macosx_13_0_universal
...
Wheels used/generated
# generated using version 0.10.7 -- works as intended
carolina-1.0.16.dev2+g9c153fd-cp311-cp311-macosx_11_0_x86_64.whl
# generated using version 0.11.0 -- works when renaming to `13_0` (or `11_0`)
carolina-1.0.16.dev3+g42cf9bc-cp311-cp311-macosx_13_6_x86_64.whl
carolina-1.0.16.dev3+g42cf9bc-cp311-cp311-macosx_13_6_x86_64.whl.tar.gz
carolina-1.0.16.dev2+g9c153fd-cp311-cp311-macosx_11_0_x86_64.whl.tar.gz
Platform (please complete the following information):
- OS versions macOS 13 and macOS 14
- Delocate version: 0.11.0
Additional context Works with previous release, 0.10.7