From 41ccf609745797f382c15bc1fa4de175710b61bd Mon Sep 17 00:00:00 2001 From: Konstantin Alekseev Date: Wed, 10 Jul 2024 16:09:46 +0300 Subject: [PATCH] chores: drop python 3.8 support --- .github/workflows/main.yml | 6 +----- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fba38b3..0106d93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,18 +17,14 @@ jobs: strategy: matrix: # https://github.com/actions/python-versions/blob/main/versions-manifest.json - python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13.0-beta.3"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13.0-beta.3"] django-version: - "Django>=4.2,<5.0" - "Django>=5.0,<5.1" - "Django==5.1b1" exclude: - - django-version: "Django>=5.0,<5.1" - python-version: 3.8 - django-version: "Django>=5.0,<5.1" python-version: 3.9 - - django-version: "Django==5.1b1" - python-version: 3.8 - django-version: "Django==5.1b1" python-version: 3.9 steps: diff --git a/pyproject.toml b/pyproject.toml index 210a58a..9f1c0bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "Django app to store emails in db" readme = "README.md" license = "MIT" -requires-python = ">=3.8" +requires-python = ">=3.9" authors = [ { name = "Konstantin Alekseev", email = "mail@kalekseev.com" }, ] @@ -25,7 +25,6 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -69,7 +68,8 @@ packages = ["src/jemail"] [tool.ruff] src = ["src"] -target-version = "py38" +target-version = "py39" + [tool.ruff.lint] select = [ 'B',