Skip to content

Can't find python library for statically linked distribution #957

@tommy-waltmann

Description

@tommy-waltmann

Hi scikit-build team!

I maintain an open-source package for particle trajectory analysis, freud, which uses the scikit-build tool. We build and test wheels of our package regularly with github actions on publicly available manylinux images. Some of those images use statically linked python distributions instead of the much more common dynamically linked distributions.

The most recent scikit-build release, 0.17.2, is failing to find the python library in those images and the build fails. I have opened a draft PR in freud here to demonstrate the issues we are having. The failing build_wheels test is available so the errors, environment, and steps to reproduce can be inspected more closely.

Relevant environment details:
manylinux image: quay.io/pypa/manylinux2014_x86_64:2023-03-05-271004f
python version: >=3.7
scikit-build version: 0.17.2

I can contribute code for a PR to fix this, but will need direction from maintainers on what to change.

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