From d594aa6012f14f37d11373e82282c1aff40d3324 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Thu, 3 Nov 2022 21:42:57 +0100 Subject: [PATCH] Use Python 3.10 for linting CI tasks and others. --- .github/workflows/ci-build.yml | 8 ++++---- tox.ini | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 450f228..13e6769 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -52,10 +52,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - 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 dependencies run: python -m pip install tox - name: Lint with tox @@ -89,10 +89,10 @@ jobs: # Fetch all tags and branches because tests rely on it with: fetch-depth: 0 - - name: Set up Python 3.7 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: '3.10' - name: Install dependencies and coverage run: python -m pip install tox - name: Test with tox with coverage diff --git a/tox.ini b/tox.ini index 95a52a5..abfc3a1 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ deps = django41: django>=4.1,<4.2 [testenv:lint] -basepython = python3.8 +basepython = python3.10 deps = -r requirements/dev.txt commands =