diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c22d87..55a04fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12", "pypy-3.10"] django-version: ["3.2", "4.2", "5.0", "5.1"] experimental: [false] include: @@ -40,13 +40,9 @@ jobs: experimental: true exclude: # Unsupported Python versions for Django 5.0 - - python-version: 3.8 - django-version: 5.0 - python-version: 3.9 django-version: 5.0 # Unsupported Python versions for Django 5.1 - - python-version: 3.8 - django-version: 5.1 - python-version: 3.9 django-version: 5.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 399b913..a7f8f39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ Changelog *Add a sentence for each interesting change in this section.* +- Drop support for EOL Python 3.8 + ------- ## v3.5.0 - 2024/09/02 diff --git a/README.rst b/README.rst index 995fd46..8f61847 100644 --- a/README.rst +++ b/README.rst @@ -85,7 +85,7 @@ Table of Contents Requirements ============ -``rules`` requires Python 3.8 or newer. The last version to support Python 2.7 +``rules`` requires Python 3.9 or newer. The last version to support Python 2.7 is ``rules`` 2.2. It can optionally integrate with Django, in which case requires Django 3.2 or newer. diff --git a/pyproject.toml b/pyproject.toml index e648af2..4f0bcde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -target-version = ['py38', 'py39', 'py310'] +target-version = ['py39', 'py310'] [tool.isort] profile = "black" diff --git a/setup.py b/setup.py index ffd7a4c..2642052 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,6 @@ def get_version(version): "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "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 eca3fd6..9177020 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] envlist = - py{38,39,310,311,312,py3}-dj{32,42} + py{39,310,311,312,py3}-dj{32,42} py{310,311,312,py3}-dj{50,51} py312-packaging [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 @@ -32,8 +31,8 @@ deps = dj50: Django~=5.0.0 dj51: Django~=5.1.0 commands = - py{38,39,310,311,312}: coverage run tests/manage.py test testsuite {posargs: -v 2} - py{38,39,310,311,312}: coverage report -m + py{39,310,311,312}: coverage run tests/manage.py test testsuite {posargs: -v 2} + py{39,310,311,312}: coverage report -m pypy3: {envpython} tests/manage.py test testsuite {posargs: -v 2} [testenv:py312-packaging]