Skip to content

Resolve ubuntu-latest+pip issue #136

@liamhuber

Description

@liamhuber

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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions