From 9e1bd3da90f4df2d892cd36640bbc2e239389fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Mon, 3 Nov 2025 22:17:00 +0300 Subject: [PATCH] Remove support for Python 3.9 (EOL) --- .github/workflows/ci.yml | 5 ----- .pre-commit-config.yaml | 2 +- README.rst | 2 +- setup.py | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f6f3a5..ab57a03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,17 +13,12 @@ jobs: fail-fast: false matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" tox-env: - "dj42" # LTS - "dj50" - exclude: - # Python 3.9 is incompatible with Django 5.0+ - - python-version: "3.9" - tox-env: "dj50" env: TOXENV: ${{ matrix.tox-env }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f14e733..fdd5b91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,4 +3,4 @@ repos: rev: v3.21.0 hooks: - id: pyupgrade - args: ["--py39-plus"] + args: ["--py310-plus"] diff --git a/README.rst b/README.rst index 76c3ea2..ff8817b 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ Automated code metrics: * Free software: MIT license * Documentation for the Click command line library: https://click.palletsprojects.com/en/stable/ -* Compatible with Django 4.2 and 5.0 running on Python 3.9, 3.10, 3.11, and 3.12 (note: 3.10+ required for Django 5.0). +* Compatible with Django 4.2 and 5.0 running on Python 3.10, 3.11, and 3.12 (note: 3.10+ required for Django 5.0). Installation diff --git a/setup.py b/setup.py index ce077a4..aa0c507 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,6 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",