From ea4deeaee65e95d4cc7917020f2f2bc5e0519be2 Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Mon, 5 Sep 2022 19:51:23 +0100 Subject: [PATCH] Use Python 3.10 throughout CI --- .github/workflows/cd_release.yml | 8 ++++---- .github/workflows/ci.yml | 2 +- .github/workflows/ci_dependabot.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml index 9d7edd262..3fd7542a5 100644 --- a/.github/workflows/cd_release.yml +++ b/.github/workflows/cd_release.yml @@ -24,10 +24,10 @@ jobs: submodules: true fetch-depth: 0 - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Install Python dependencies run: | @@ -98,10 +98,10 @@ jobs: fetch-depth: 0 ref: ${{ env.PUBLISH_UPDATE_BRANCH }} - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Install Python dependencies run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be22bb824..7a80ed4ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -241,7 +241,7 @@ jobs: OPTIMADE_INSERT_TEST_DATA: false # Must be specified as previous steps will have already inserted the test data - name: Run the OPTIMADE Client CLI - if: matrix.python-version == 3.8 + if: matrix.python-version == 3.10 run: | coverage run --append --source optimade optimade/client/cli.py \ --filter 'nsites = 1' \ diff --git a/.github/workflows/ci_dependabot.yml b/.github/workflows/ci_dependabot.yml index d881646f5..e4fb2b89f 100644 --- a/.github/workflows/ci_dependabot.yml +++ b/.github/workflows/ci_dependabot.yml @@ -24,10 +24,10 @@ jobs: with: ref: ${{ env.DEFAULT_REPO_BRANCH }} - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Install `pre-commit` and dependencies run: |