-
Type: Build Failure
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
PyMongo has the following:
# Installation of cryptography requires a rust compiler on some machines
export PATH="$MONGODB_BINARIES:/home/admin/.cargo/bin:$PATH"
We are seeing the following error in recent builds:
[2023/02/14 00:32:11.349] running build_rust [2023/02/14 00:32:11.349] =============================DEBUG ASSISTANCE============================= [2023/02/14 00:32:11.349] If you are seeing a compilation error please try the following steps to [2023/02/14 00:32:11.349] successfully install cryptography: [2023/02/14 00:32:11.349] 1) Upgrade to the latest pip and try again. This will fix errors for most [2023/02/14 00:32:11.349] users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip [2023/02/14 00:32:11.349] 2) Read https://cryptography.io/en/latest/installation/ for specific [2023/02/14 00:32:11.349] instructions for your platform. [2023/02/14 00:32:11.349] 3) Check our frequently asked questions for more information: [2023/02/14 00:32:11.349] https://cryptography.io/en/latest/faq/ [2023/02/14 00:32:11.349] 4) Ensure you have a recent Rust toolchain installed: [2023/02/14 00:32:11.349] https://cryptography.io/en/latest/installation/#rust [2023/02/14 00:32:11.349] Python: 3.7.13 [2023/02/14 00:32:11.349] platform: Linux-4.15.0-1044-aws-x86_64-with-debian-buster-sid [2023/02/14 00:32:11.349] pip: n/a [2023/02/14 00:32:11.349] setuptools: 67.2.0 [2023/02/14 00:32:11.349] setuptools_rust: 1.5.2 [2023/02/14 00:32:11.349] rustc: n/a