From 13d85216955918133db06aab8c219362b20d43bc Mon Sep 17 00:00:00 2001 From: Charles Beauville Date: Fri, 13 Sep 2024 09:49:41 +0200 Subject: [PATCH] ci(*:skip) Use Python 3.9 (#4193) --- .github/actions/bootstrap/action.yml | 2 +- .github/workflows/cache-cleanup.yml | 2 +- .github/workflows/e2e.yml | 2 +- e2e/strategies/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/bootstrap/action.yml b/.github/actions/bootstrap/action.yml index 4cde8dddfa3f..a8a98acdf304 100644 --- a/.github/actions/bootstrap/action.yml +++ b/.github/actions/bootstrap/action.yml @@ -3,7 +3,7 @@ description: "Bootstrap Python environment (install and configure Python version inputs: python-version: description: "Version range or exact version of Python or PyPy to use, using SemVer's version range syntax." - default: 3.8 + default: 3.9 pip-version: description: "Version of pip to be installed using pip" default: 24.1.2 diff --git a/.github/workflows/cache-cleanup.yml b/.github/workflows/cache-cleanup.yml index aa2da65d0a47..dca5505f7bf6 100644 --- a/.github/workflows/cache-cleanup.yml +++ b/.github/workflows/cache-cleanup.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Cleanup caches by directories # Only keep caches that match the latest keys for each directory diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 815d6422848b..aba3726017fd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -127,7 +127,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install build tools run: | python -m pip install -U pip==23.3.1 diff --git a/e2e/strategies/pyproject.toml b/e2e/strategies/pyproject.toml index 5cc74b20fa24..3ad62ec836a7 100644 --- a/e2e/strategies/pyproject.toml +++ b/e2e/strategies/pyproject.toml @@ -9,7 +9,7 @@ description = "Keras Federated Learning Quickstart with Flower" authors = ["The Flower Authors "] [tool.poetry.dependencies] -python = ">=3.8,<3.11" +python = ">=3.9,<3.11" flwr = { path = "../../", develop = true, extras = ["simulation"] } tensorflow-cpu = "^2.9.1, !=2.11.1" tensorflow-io-gcs-filesystem = "<0.35.0"