From 412005a2d26b059629f8460cb98d8bfcf515fa0e Mon Sep 17 00:00:00 2001 From: Emir Date: Mon, 14 Feb 2022 22:11:23 +0100 Subject: [PATCH 1/2] Drop 3.6, change default to 3.8, add 3.10 on github actions --- .github/workflows/tests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e131cce..20e6628 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,18 +20,18 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Setup Python 3.7 + - name: Setup Python 3.8 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.8 - name: Cache pip uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-py3.7-${{ hashFiles('requirements.txt') }} + key: ${{ runner.os }}-pip-py3.8-${{ hashFiles('requirements.txt') }} restore-keys: | - ${{ runner.os }}-pip-py3.7- + ${{ runner.os }}-pip-py3.8- ${{ runner.os }}-pip- - name: Install dependencies @@ -55,7 +55,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8] + python-version: [3.8, 3.9, 3.10] include: - os: ubuntu-latest pippath: ~/.cache/pip @@ -144,18 +144,18 @@ jobs: - name: Git LFS Pull run: git lfs pull - - name: Setup Python 3.7 + - name: Setup Python 3.8 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.8 - name: Cache pip uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-py3.7-${{ hashFiles('requirements.txt') }} + key: ${{ runner.os }}-pip-py3.8-${{ hashFiles('requirements.txt') }} restore-keys: | - ${{ runner.os }}-pip-py3.7- + ${{ runner.os }}-pip-py3.8- ${{ runner.os }}-pip- - name: Install dependencies From cd37bdd0dde63aaa6cc0e5df019ca9c427d86e68 Mon Sep 17 00:00:00 2001 From: Emir Date: Mon, 14 Feb 2022 22:18:26 +0100 Subject: [PATCH 2/2] 3.1 -> 3.10 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 20e6628..d86f09e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -55,7 +55,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, 3.10] + python-version: [3.8, 3.9, '3.10'] include: - os: ubuntu-latest pippath: ~/.cache/pip