Skip to content

Optionally run auditwheel/delocate on wheels before installing them #34205

@mkoeppe

Description

@mkoeppe

When system packages are upgraded, shared libraries that a Sage installation links to can disappear, rendering the Sage installation broken. This is a common problem, reported for example in https://groups.google.com/g/sage-devel/c/Iz8ZsmQM3Pg/m/CPl9CbHmBgAJ

As a partial solution, we can copy system shared libraries into our platform wheels using auditwheel (Linux) or delocate (macOS), like cibuildwheel does. This increases the installation size and build time, so it should be optional.

This is only a partial solution because

See also:

CC: @nbruin

Component: build

Issue created by migration from https://trac.sagemath.org/ticket/34205

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions