Open sbomer opened 1 month ago
Quite separately, I wonder what the plan is for manylinux2014
wheels. They are built on CentOS 7, which goes EOL shortly.
This is a recurring issue for the buildtools-prereqs repo:
We now have a working solution.
There are two remaining problems:
cryptography
package dependency and needing to build the underlying Rust source, as a long-term solution/policy. This is the first time we've come across that, AFAIK.pip install
is done both in our Dockerfiles and in the Helix scripts.
Attempting to install the helix client following the pattern used in other Dockerfiles fails while trying to install (by building from source) the cryptography wheel:
(hit in https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1043)
It's possible to get the wheel building using virtualenv, but I don't know how the helix client would need to be set up to use the virtualenv.
This points to a larger set of concerns about the python dependencies:
--break-system-packages
which is not recommended.cryptography
doesn't appear to be supported for arm32.I believe this is why we don't hit problems installing this dependency on other platforms. For example, on amd64 the cryptography package is available as a binary wheel, and we don't have to build it from source:
It looks like this dependency has been a recurring problem based on discussions in https://github.com/dotnet/arcade/issues/13186, https://github.com/dotnet/dnceng/issues/465, and related issues, so I wanted to ask for guidance.
@richlander @agocke