Replies: 2 comments
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Alternatively, build a venv with the installed Python and activate it before running any pip / Python commands. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Overview
If you've encountered workflow run failures on
ubuntu-latest
runners starting on Sept. 23, 2024 (2024-09-23), and you're seeing errors while installing Python packages, it is due to a recent version bump toubuntu-latest
. The error appears as follows:Notes
I have not yet been able to locate any form of deprecation notice from GitHub leading up to this change, although there is a related Changelog post on the GitHub Blog published two days after the change began to be rolled out on Sept. 23.
Here's GitHub's related actions/runner-images issue, where they made this unfortunately incorrect evaluation:
Solution
As noted in both the error message and GitHub's issue, to resolve this error, you will need to setup Python within your workflow and avoid using the system Python if you require additional packages. Here are the steps to fix the failing jobs in your workflow file(s):
pip install..
steps in your workflows, run actions/setup-python:pip3 ...
orpython3 ...
commands to usepip ...
orpython ...
(remove the3
)Beta Was this translation helpful? Give feedback.
All reactions