Skip to content

Helix wheel has a hard dependency on psutil #1092

Open
@richlander

Description

@richlander

This means we cannot us py3-psutil in Alpine, which is a couple patch releases higher.

pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && \
pip install ./helix_scripts-*-py3-none-any.whl && \

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.

https://docs.python.org/3/library/venv.html

This was part of #1091. I had to build the psutil instead.

This comment helped with building psutil: giampaolo/psutil#2192 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions