Skip to content

*cp310-cp310-musllinux_1_2_x86_64.whl contains a GNU compiled object? #201

@Adoni5

Description

@Adoni5

We are having issues installing rpds-py on alpine 3.22 inside a docker container. The python 3.10 version is managed by uv. The actual error seen when trying to import rpds is ModuleNotFoundError: No module named 'rpds.rpds'.

However the install works fine in the same container using a uv managed python 3.11 version. On closer inspection the wheel for python 3.10 seems to suggest the shared object for bindings is in fact compiled by gnu rather than musl.

curl -OL https://files.pythonhosted.org/packages/c1/64/a8e0f67fa374a6c472dbb0afdaf1ef744724f165abb6899f20e2f1563137/rpds_py-0.28.0-cp310-cp310-musllinux_1_2_aarch64
.whl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  546k  100  546k    0     0  3437k      0 --:--:-- --:--:-- --:--:-- 3460k
(venv) 5e046d54f623:/# unzip -l rpds_py-0.28.0-cp310-cp310-musllinux_1_2_aarch64.whl
Archive:  rpds_py-0.28.0-cp310-cp310-musllinux_1_2_aarch64.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
     4145  10-22-2025 22:14   rpds_py-0.28.0.dist-info/METADATA
      108  10-22-2025 22:14   rpds_py-0.28.0.dist-info/WHEEL
     1057  10-22-2025 22:14   rpds_py-0.28.0.dist-info/licenses/LICENSE
   789673  10-22-2025 22:14   rpds.libs/libgcc_s-39080030.so.1
       99  10-22-2025 22:14   rpds/__init__.py
     2570  10-22-2025 22:14   rpds/__init__.pyi
        0  10-22-2025 22:14   rpds/py.typed
  1182633  10-22-2025 22:14   rpds/rpds.cpython-310-aarch64-linux-gnu.so
      713  10-22-2025 22:14   rpds_py-0.28.0.dist-info/RECORD

Whereas for python 3.11:

curl -OL https://files.pythonhosted.org/packages/dd/f5/e1cec473d4bde6df1fd3738be8e82d64dd0600868e76e92dfeaebbc2d18f/rpds_py-0.28.0-cp311-cp311-musllinux_1_2_aarch64
.whl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  546k  100  546k    0     0  2808k      0 --:--:-- --:--:-- --:--:-- 2832k
(venv) 5e046d54f623:/# unzip -l rpds_py-0.28.0-cp311-cp311-musllinux_1_2_aarch64.whl
Archive:  rpds_py-0.28.0-cp311-cp311-musllinux_1_2_aarch64.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
     4145  10-22-2025 22:14   rpds_py-0.28.0.dist-info/METADATA
      108  10-22-2025 22:14   rpds_py-0.28.0.dist-info/WHEEL
     1057  10-22-2025 22:14   rpds_py-0.28.0.dist-info/licenses/LICENSE
   789673  10-22-2025 22:14   rpds.libs/libgcc_s-39080030.so.1
       99  10-22-2025 22:14   rpds/__init__.py
     2570  10-22-2025 22:14   rpds/__init__.pyi
        0  10-22-2025 22:14   rpds/py.typed
  1182665  10-22-2025 22:14   rpds/rpds.cpython-311-aarch64-linux-musl.so
      714  10-22-2025 22:14   rpds_py-0.28.0.dist-info/RECORD
 --------                     -------
  1981031                     9 files

Forgive me if there's a basic misunderstanding here. The confusing part of this for me is that the install works and executes fine into a python environment that is managed by pyenv!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions