-
Notifications
You must be signed in to change notification settings - Fork 0
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
Resolve ubuntu-latest+pip issue #136
Comments
There's still a chance that they'll update the image to come with a non-system python interpreter as the default, so I don't think we need to act on this quite yet, but let's be prepared with an outline of how we would solve it if they don't provide such convenience. |
So, my preference would be to expose the used runner everywhere as a non-required input, defaulting to ApproachesThere are numerous options we have to deal with the issue of "python being externally managed":
How to keep the default runners updated?Somehow, when we pin the default runner to specific versions, we also should have a look how to automate updating them.
Any of these solutions requires some more involvement or at least awareness, so we should mention its details and our reasoning somewhere prominently. Footnotes |
Just as a note: I'll edit my post from above, whenever I find another way to approach this. |
Problem: running
pip install...
breaks on the runner"ubuntu-24.04"
with an "This environment is externally managed".#135 patches over this by setting the default runner from
"ubuntu-latest"
back to"ubuntu-22.04"
. This is a temporary solution.There is a live issue for this upstream: actions/runner-images#10781
If this is resolved by the image provider such that we can use
pip
again, then the default should be reverted to"ubuntu-latest"
. Otherwise, we'll need to come up with another solution in the direction of venvs so our pip install necessities work (and on all platforms), and that they continue to play well with where we conda install things.@mbruns91, I'm sorry, I thought this was a bug in the image release, but it looks like a fundamental change in the ubuntu policy as of the 2023 release. I dismissed your other suggestions in favour of just waiting out the image fix, but if this is not a bug but a legit change we're going to need them... Want to copy your favourite(s) here?
The text was updated successfully, but these errors were encountered: