From 02eeb3763f890ab53964916bfe532a6580ee168f Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Wed, 9 Apr 2025 13:28:30 +0100 Subject: [PATCH] Enforce `ubuntu-22.04` in CI to support python 3.7 python 3.7 has reached its end of life [1] and is no longer available for the current latest ubuntu version 24.04 [2], hence the "Version 3.7 was not found in the local cache" error in CI. Enforce ubuntu-22.04 instead of ubuntu-latest so we can test against python 3.7 until we drop support for it in the library. Resolves #585 [1] https://docs.python.org/3.7/whatsnew/3.7.0.html#summary [2] https://github.com/actions/setup-python/issues/962#issuecomment-2414418045 --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 69d32426..e6a6ff16 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -14,7 +14,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: