8000 CI Test failures. actions/setup-Python does not support Pythons 3.7-3.8 on the new Ubuntu 24.04 runners · Issue #1642 · tqdm/tqdm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CI Test failures. actions/setup-Python does not support Pythons 3.7-3.8 on the new Ubuntu 24.04 runners #1642

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

Open
JamesParrott opened this issue Dec 21, 2024 · 0 comments · May be fixed by #1643

Comments

@JamesParrott
Copy link
JamesParrott commented Dec 21, 2024

Example tqdm action:
https://github.com/tqdm/tqdm/actions/runs/12440982004

Supported versions:
https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Various fixes could be possible, e.g.

  • run 3.7 and 3.8 on the old Ubuntu runners. A stop gap until the 22.04 ones are dropped
  • Use a different Python-version management tool in CI, e.g. uv or Pyenv. uv is where things are headed, and is what a lot of us would use locally anyway. This fix is nice and decently reproducible, but refactors the CI workflows.
  • Run the tests in a docker-containerised Github Action, using Python 3.7 and 3.8 images. This is future proof due to the Docker container version pinning, but does not replicate old Pythons on MacOS or Windows runners, and refactors the CI workflows.
  • replace actions/setup-Python with the backport, LizardByte/setup-python-action. Easiest change to make, simplest to review, but introduces a new external dependency.

Or support for Python 3.7 & 3.8 could be dropped, of course.

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

Successfully merging a pull request may close this issue.

1 participant
0