Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helix wheel has a hard dependency on psutil #1092

Open
richlander opened this issue Jun 13, 2024 · 0 comments
Open

Helix wheel has a hard dependency on psutil #1092

richlander opened this issue Jun 13, 2024 · 0 comments

Comments

@richlander
Copy link
Member

richlander commented Jun 13, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants