From 07bb4ec1468d77886f2d8f4c6d1a1c9d934f6637 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Wed, 25 Oct 2023 19:45:06 -0400 Subject: [PATCH] Remove Python 3.8 and 3.9 support, add 3.11 and 3.12 support --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 +- setup.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00e6cc2..9dcdae0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index 862e4bb..7ffba6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [tool.black] line-length = 100 skip-string-normalization = true -target-version = ["py38"] +target-version = ["py310"] exclude='\.eggs|\.git|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist' [tool.isort] diff --git a/setup.py b/setup.py index f3c21c5..2031f85 100644 --- a/setup.py +++ b/setup.py @@ -48,12 +48,12 @@ 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', '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', ], - python_requires='>=3.8', + python_requires='>=3.10', install_requires=[ 'django-configurations[database,email]', ],