Closed
Description
In #897, unrelated to the PR's changes, the Raspbian and Debian Helix stages failed to build:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=343439&view=logs&j=3269ed96-e1ee-5791-373d-a55e5a2175a9&t=6d9bf06a-e7bf-5504-6e26-c5b767fa7b88
The specific error is:
> [stage-1 3/5] RUN ln -sf /usr/bin/python3 /usr/bin/python && curl https://bootstrap.pypa.io/get-pip.py -o ./get-pip.py --fail --silent --show-error && python ./get-pip.py && rm ./get-pip.py && python -m pip install --upgrade pip==20.2 && python -m pip install virtualenv==16.6.0 && pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && export CRYPTOGRAPHY_DONT_BUILD_RUST=1 && pip install ./helix_scripts-*-py3-none-any.whl:
#6 98.52 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.
#6 98.52
#6 98.52 This package requires Rust >=1.56.0.
#6 98.52 ----------------------------------------
#6 98.52 ERROR: Failed building wheel for cryptography
#6 98.52 Successfully built psutil pycparser cffi
#6 98.52 Failed to build cryptography
#6 98.52 ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
#6 98.57 WARNING: You are using pip version 20.2; however, version 23.2 is available.
#6 98.57 You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
It seems that the Helix install script doesn't respect the CRYPTOGRAPHY_DONT_BUILD_RUST
environment variable that has been set:
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done