Skip to content

Shared library paths #365

@dazza-codes

Description

@dazza-codes

If wheels were to use shared library paths, is this project a useful point of consolidation to enable this, with sem-ver support for shared libs and conventions for building/distributing sem-ver shared libs?

In OSGeo/gdal#3060 I raised the problem and question of whether several projects that use a common dependency might all use a shared library in their binary wheel builds. In OSGeo/gdal#3060 (comment) I provided a nasty post-install hack to demonstrate and test the concept. Without repeating a lot of the details from OSGeo/gdal#3060 here, please check it out, including the links to related projects noted in the last comment. Any related pointers or commentary on python practices for shared libs would be great.

A shared-libs path should be able to support installations of many packages for any specific library. Ideally, it might prune a shared-libs path to provide only the latest patch (in major.minor.patch) version of any given library. If libraries were able to truly provide sem-ver releases, it might be possible to prune at the major.minor release level, but that's likely aiming too high. The option to prune shared libs might be enabled by default at the patch level, but could be disabled entirely for debugging.

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