From 1290c50f712458e55cdf47f04552fb137391fd45 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 23 Nov 2024 14:42:08 -0800 Subject: [PATCH] Drop Python 3.9, add Python 3.13 to all CI Refs #646 --- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 8 ++------ setup.py | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0d36f88..90e1a6e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v4 @@ -38,7 +38,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - uses: actions/cache@v4 name: Configure pip caching with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34c8cfb..9561cde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,17 +10,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] numpy: [0, 1] os: [ubuntu-latest, macos-latest, windows-latest, macos-14] - # Skip 3.8 and 3.9 on macos-14 - it only has 3.10+ + # Skip 3.9 on macos-14 - it only has 3.10+ exclude: - - python-version: "3.8" - os: macos-14 - python-version: "3.9" os: macos-14 - - python-version: "3.13" - numpy: 1 steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index e8797ba..95d61a6 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ setup( "Issues": "https://github.com/simonw/sqlite-utils/issues", "CI": "https://github.com/simonw/sqlite-utils/actions", }, - python_requires=">=3.8", + python_requires=">=3.9", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers",