From bf497802b548d93b717bd6737a029fdf6a8da62b Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 25 Nov 2024 22:03:37 +0100 Subject: [PATCH] Remove Python 3.8 and add Python 3.13 support --- .github/workflows/linting.yml | 8 ++++---- .github/workflows/test.yml | 10 +++++----- CHANGELOG | 2 ++ README.rst | 2 +- pyproject.toml | 4 ++-- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index bd578d0..7fdf3a1 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -10,8 +10,8 @@ jobs: flake8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - name: Install dependencies run: pip install flake8 - name: Run flake8 @@ -19,8 +19,8 @@ jobs: isort: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - uses: jamescurtin/isort-action@master with: configuration: --multi-line=3 --trailing-comma --check-only diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76dab97..b96245d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,17 +12,17 @@ jobs: strategy: max-parallel: 5 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'] django-version: ['4.2', '5.0', '5.1'] exclude: - - python-version: '3.8' - django-version: '5.0' - python-version: '3.9' django-version: '5.0' - - python-version: '3.8' - django-version: '5.1' - python-version: '3.9' django-version: '5.1' + - python-version: '3.13' + django-version: '4.2' + - python-version: '3.13' + django-version: '5.0' steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG b/CHANGELOG index 15d830a..6e5870e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,7 +2,9 @@ Unreleased * Add index to Link (David Venhoff, #202) * Add support for Django 5.1 +* Add support for Python 3.13 * Remove support for Django < 4.2 +* Remove support for Python 3.8 2.3.0 (2023-12-27) diff --git a/README.rst b/README.rst index 685c788..4b9163f 100644 --- a/README.rst +++ b/README.rst @@ -27,7 +27,7 @@ automatically when objects are saved. This is handled by signals. Minimal requirements -------------------- -django-linkcheck requires Python 3.8 and Django 4.2. +django-linkcheck requires Python 3.9 and Django 4.2. Basic usage ----------- diff --git a/pyproject.toml b/pyproject.toml index a839ec8..5111d85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,18 +25,18 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "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", "Framework :: Django", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Framework :: Django :: 5.1", ] license = {text = "BSD-3-Clause"} -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "django>=4.2", "requests",