From 33b84ba3a4adbdcb8d98c3eb8228c114405a1ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Sun, 2 Feb 2025 15:05:39 +0100 Subject: [PATCH] Support Python 3.13, drop Python 3.9 Python 3.9 has reached end-of-life, so we can raise our limited API compatibility --- .github/workflows/tests.yml | 8 ++++---- pyproject.toml | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bea4f6129..f8706a269 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Build documentation env: READTHEDOCS: "True" @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install packages run: pip install check-manifest mypy ruff types-certifi types-pyopenssl - name: Run linters @@ -52,11 +52,11 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python: + - "3.13" - "3.12" - "3.11" - "3.10" - "3.9" - - "3.8" steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -96,7 +96,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Build source package run: | pip install -U build diff --git a/pyproject.toml b/pyproject.toml index cb265b794..e20c88e61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,11 +19,11 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", ] dependencies = [ diff --git a/setup.py b/setup.py index 399fb954f..4732bf412 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def get_tag(self): python, abi, plat = super().get_tag() if python.startswith("cp"): - return "cp38", "abi3", plat + return "cp39", "abi3", plat return python, abi, plat