Skip to content

Wheels for musl don't work #85

@brgl

Description

@brgl

Hi @vfazio

I had some time today to test the wheels and while the ones for glibc work fine for x86-64 and aarch64, the ones linked against musl give me the following error:

Python 3.12.4 (main, Jun  6 2024, 18:26:44) [GCC 14.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gpiod
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/gpiod/__init__.py", line 10, in <module>
    from . import _ext
ImportError: cannot import name '_ext' from partially initialized module 'gpiod' (most likely due to a circular import) (/usr/lib/python3.12/site-packages/gpiod/__init__.py)

After having installed them like that:

# pip3 install gpiod
Collecting gpiod
  Downloading gpiod-2.2.0-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (3.2 kB)
Downloading gpiod-2.2.0-cp312-cp312-musllinux_1_2_x86_64.whl (96 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.2/96.2 kB 865.1 kB/s eta 0:00:00
Installing collected packages: gpiod
Successfully installed gpiod-2.2.0

Could you advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions