Skip to content

1.6.0 has no intel macos wheels #1279

@Christos-Hadjinikolis

Description

@Christos-Hadjinikolis

Hello,

I encountered an issue when attempting to install libcst==1.6.0 using Python 3.10. The installation fails with the following error message:

error: can't find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

    pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

This appears to be related to the upgrade of PyO3 to version 0.22 in PR #1180. It seems that the dependency on a Rust compiler was introduced with this change.

This issue makes it impossible to install libcst without a Rust compiler, which could be problematic for environments that do not have Rust installed.

Could you please clarify whether this behavior is intended? If not, is there a plan to provide prebuilt wheels for libcst==1.6.0 that would not require a Rust compiler?

Thank you!

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