See pypa/manylinux#1225 - all muslllinux wheels are broken on Alpine 3.14; the version of Python used in Alpine 3.14 uses the wrong binary names inside the wheels (ending in -musl instead of -gnu) So any wheels produced on musllinux_1_1 do not work on Alpine 3.14.
The patch has not been accepted upstream; -gnu is the correct, musllinux name, and Alpine 3.14 is currently at fault. CPython 3.11 might change the name to -musl, but it probably will not happen for existing Pythons.
Also see:
Current binaries produced:
psycopg_binary-3.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
- _psycopg.cpython-310-x86_64-linux-gnu.so
What it should be (Alpine 3.14+ has the patched CPython):
psycopg_binary-3.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
- _psycopg.cpython-310-x86_64-linux-musl.so
We hoped for a possible workaround, but this cannot be done, since wheels are zip files, and the zip module in Python has never supported symlinks:
psycopg_binary-3.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
- _psycopg.cpython-310-x86_64-linux-musl.so
- _psycopg.cpython-310-x86_64-linux-gnu.so -> _psycopg.cpython-310-x86_64-linux-musl.so
Here's the current plan:
See pypa/manylinux#1225 - all muslllinux wheels are broken on Alpine 3.14; the version of Python used in Alpine 3.14 uses the wrong binary names inside the wheels (ending in
-muslinstead of-gnu) So any wheels produced onmusllinux_1_1do not work on Alpine 3.14.The patch has not been accepted upstream;
-gnuis the correct,musllinuxname, and Alpine 3.14 is currently at fault. CPython 3.11 might change the name to-musl, but it probably will not happen for existing Pythons.Also see:
Current binaries produced:
What it should be (Alpine 3.14+ has the patched CPython):
We hoped for a possible workaround, but this cannot be done, since wheels are zip files, and the zip module in Python has never supported symlinks:
Here's the current plan:
ABI3 wheels targeting <3.11 could be normalized to -gnu.(Currently ABI3 wheels do not have platform tags in the filename, so they work everywhere, but can't be in a shared folder.)