From 0a6d17257c075b3644d81c6a54f8956a746ee656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 16 Nov 2024 15:20:28 +0300 Subject: [PATCH] Drop support for Python 3.8 (EOL) --- .github/workflows/python-package.yml | 2 +- pyproject.toml | 7 +++---- tox.ini | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 604823a8..d1ebdf37 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false 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 ] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index a1d2e8c8..5f23faec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,6 @@ 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", @@ -31,7 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries :: Python Modules", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = ["django>=4.2"] [project.urls] @@ -52,7 +51,7 @@ namespaces = false waffle = ["py.typed"] [tool.mypy] -python_version = "3.8" +python_version = "3.9" exclude = "waffle/tests" disallow_incomplete_defs = true disallow_untyped_calls = true @@ -65,7 +64,7 @@ ignore_missing_imports = true [tool.ruff] line-length = 120 -target-version = "py38" +target-version = "py39" [tool.ruff.lint] select = [ diff --git a/tox.ini b/tox.ini index 08ed5c20..8cf0483d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39}-django{42} + py{39}-django{42} py{310}-django{42,50,51} py{311}-django{42,50,51} py{312}-django{42,50,51} @@ -9,7 +9,6 @@ isolated_build = True [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311