dotnet / dotnet/dotnet-buildtools-prereqs-docker
Helix wheel has a hard dependency on `psutil`
- Dominant language
- Dockerfile
- Stars
- 87
- Forks
- 118
- Avg merge
- 10h 26m
- Merged PRs (30d)
- 4
Description
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:
```bash
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.
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.