From da2e83823098b3ec07e0077ec6632768b7a1c6d3 Mon Sep 17 00:00:00 2001 From: AdamOrmondroyd Date: Sat, 9 Sep 2023 14:32:22 +0200 Subject: [PATCH] update workflows to use 3.9 as minimum requirement, and 3.11 for building docs etc --- .github/workflows/CI.yaml | 12 ++++++------ .github/workflows/build.yaml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index e8e79ac0..0360d825 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: '3.11' - name: Upgrade pip and install doc requirements run: | python -m pip install --upgrade pip @@ -56,7 +56,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] extras: [true, false] include: - os: macos-latest @@ -94,7 +94,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] include: - os: macos-latest python-version: '3.11' @@ -126,10 +126,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 - name: Install pypa/build run: python -m pip install build --user - name: Build a binary wheel and a source tarball @@ -149,7 +149,7 @@ jobs: - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 592b8b70..49123d00 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,10 +35,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 - name: Install pypa/build run: python -m pip install build --user - name: Build a binary wheel and a source tarball @@ -53,10 +53,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip