diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 9c9f53a..4842bac 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install flake8 run: | @@ -44,7 +44,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install bandit run: | diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 06692a2..2a7144b 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -17,7 +17,7 @@ jobs: strategy: # Matrix to exercise the build backend on all versions of python supported matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1ea9c75..17cd7f1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,14 +15,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12'] django: ['2.2', '3.0', '3.1', '3.2', '4.0', '4.1', '4.2', '5.0', '5.1'] database: ['postgres', 'sqlite'] exclude: - - python: '3.8' - django: '5.0' - - python: '3.8' - django: '5.1' - python: '3.9' django: '5.0' - python: '3.9' diff --git a/ChangeLog.rst b/ChangeLog.rst index 087e19c..f145fb6 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -8,6 +8,7 @@ unreleased *New:* - Confirm support for Django 5.1 + - Drop support for Python 3.8 .. _v1.9.3: diff --git a/README.rst b/README.rst index db96b07..a6aa17b 100644 --- a/README.rst +++ b/README.rst @@ -27,13 +27,13 @@ This package is compatible and tested with the following Python & Django version +------------------------+-----------------------------------+ | Django | Python | +========================+===================================+ -| 2.2, 3.0, 3.1 | 3.8, 3.9 | +| 2.2, 3.0, 3.1 | 3.9 | +------------------------+-----------------------------------+ -| 3.2, 4.0 | 3.8, 3.9, 3.10 | +| 3.2, 4.0 | 3.9, 3.10 | +------------------------+-----------------------------------+ -| 4.1 | 3.8, 3.9, 3.10, 3.11 | +| 4.1 | 3.9, 3.10, 3.11 | +------------------------+-----------------------------------+ -| 4.2 | 3.8, 3.9, 3.10, 3.11, 3.12 | +| 4.2 | 3.9, 3.10, 3.11, 3.12 | +------------------------+-----------------------------------+ | 5.0, 5.1 | 3.10, 3.11, 3.12 | +------------------------+-----------------------------------+ diff --git a/pyproject.toml b/pyproject.toml index 8d2d2a0..a15d77b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ readme = {file = "README.rst", content-type = "text/x-rst"} license = {file = "LICENSE"} authors = [{name = "Romain Garrigues"}] maintainers = [{name = "Lincoln Puzey"}] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "Django>=2.2", ] @@ -25,7 +25,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", diff --git a/tox.ini b/tox.ini index aa4bf59..8b34955 100644 --- a/tox.ini +++ b/tox.ini @@ -2,12 +2,12 @@ [tox] isolated_build = True envlist = - py{38,39}-django{22,30,31}-{postgresql,sqlite} - py{38,39,310}-django{32,40}-{postgresql,sqlite} - py{38,39,310,311}-django{41}-{postgresql,sqlite} - py{38,39,310,311,312}-django{42}-{postgresql,sqlite} + py{39}-django{22,30,31}-{postgresql,sqlite} + py{39,310}-django{32,40}-{postgresql,sqlite} + py{39,310,311}-django{41}-{postgresql,sqlite} + py{39,310,311,312}-django{42}-{postgresql,sqlite} py{310,311,312}-django{50,51}-{postgresql,sqlite} - py{38,39,310,311,312}-flake8 + py{39,310,311,312}-flake8 [testenv] passenv = @@ -32,7 +32,7 @@ commands = coverage run -m pytest -v coverage report -[testenv:py{38,39,310,311,312}-flake8] +[testenv:py{39,310,311,312}-flake8] skip_install = True deps = flake8 commands =