Skip to content

macOS Golden Gate (macOS 27) fails to load bundled SciPy PROPACK binary #14

Description

@kenny-dotmatics

We ran rs3 on MacOS 27 encountered the error:

 dlopen(.../_spropack.cpython-310-darwin.so, 0x0002):
    section '__DATA/__thread_bss' has a zero-fill section type, but offset field is not zero

It seems the reason is that _spropack.cpython-310-darwin.so has a malformed Mach-O __DATA/__thread_bss section that macOS Golden Gate rejects at dyld load time. This binary file is part of SciPy's sparse.linalg PROPACK backend.

It looks like the problem of dependency of SciPy, but currently rs3's settings.ini pins lightgbm<=3.3.5 and scikit-learn<=1.0.2. scikit-learn<=1.0.2's last prebuilt wheel is cp310, which forces Python 3.10, which in turn caps us at SciPy 1.15.3. So even if SciPy fix the issue in the future, we cannot use the latest SciPy on rs3.

Do we have a plan to support MacOS 27?

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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