Open harryzcy opened 6 months ago
The issue is likely that the version of rustworkx you're trying to install is too old. Rustworkx 0.13.0 was released on June 7th, 2023 and had wheels for all the supported (both by rustworkx and cpython) python versions at the time which was 3.7-3.11. The first release published with Python 3.12 support was 0.13.2 which was published on October 3rd, 2023, 1 day after python 3.12.0 was released. You can see the wheels on pypi:
https://pypi.org/project/rustworkx/0.13.2/#files
including for aarch64 linux wheel, here is a direct link to the wheel file from there:
If you're running on a musl Linux environment, support for that on aarch64 wasn't added until 0.14.0 release. It's also worth noting that rustworkx 0.13.x is no longer supported and will not receive future bugfixes or releases. So if there is a fix needed here it would be released in a 0.14.2 release.
Matthew's answer is correct, we only provide manylinux2014_aarch64
wheels for the rustworkx 0.13 release series. Support for musllinux2014_aarch64
only started in 0.14 and from now on we will release wheels for that platform.
The fix is to either bump rustworkx to 0.14 in your requirements file or install a Rust compiler in your distro following https://rustup.rs/
I assume checkov has a hard-requirement for 0.13.x so I will try to send a Pull Request to them to use 0.14.x
Thank you! @IvanIsCoding @mtreinish
Information
What is the current behavior?
It's building wheel during the install
What is the expected behavior?
Download prebuilt wheels, instead of rebuilding using Rust compiler
Steps to reproduce the problem
Install
checkov
on arm64 linux, which will installrustworkx
as its dependency