Open richlander opened 2 weeks ago
This means we cannot us py3-psutil in Alpine, which is a couple patch releases higher.
py3-psutil
https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/a6ccb1abd3323eaa97bdb2a73c0a62c52c2225d6/src/alpine/3.18/helix/amd64/Dockerfile#L67-L68
When installing the wheel, I see this:
Collecting psutil==5.9.3 (from helix-scripts==20240611.2)
It would be great if the dependency for >= 5.9.3. I tried using a constraint file, but that didn't work.
https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
This was after python3 -m venv --system-site-packages /home/helixbot/.vsts-env and then source activate.
python3 -m venv --system-site-packages /home/helixbot/.vsts-env
https://docs.python.org/3/library/venv.html
This was part of https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1091. I had to build the psutil instead.
psutil
This comment helped with building psutil: https://github.com/giampaolo/psutil/issues/2192#issuecomment-2083695543
This means we cannot us
py3-psutil
in Alpine, which is a couple patch releases higher.https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/a6ccb1abd3323eaa97bdb2a73c0a62c52c2225d6/src/alpine/3.18/helix/amd64/Dockerfile#L67-L68
When installing the wheel, I see this:
It would be great if the dependency for >= 5.9.3. I tried using a constraint file, but that didn't work.
https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
This was after
python3 -m venv --system-site-packages /home/helixbot/.vsts-env
and then source activate.https://docs.python.org/3/library/venv.html
This was part of https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1091. I had to build the
psutil
instead.This comment helped with building
psutil
: https://github.com/giampaolo/psutil/issues/2192#issuecomment-2083695543