diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd0b3f58..ccc9ef19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 587aeb66..fbed7454 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,7 @@ latest ------ * Add support for wildcards in forbidden and independence contracts. - +* Drop support for Python 3.8. 2.0 (2024-1-9) -------------- diff --git a/pyproject.toml b/pyproject.toml index 1cb495fd..09843c27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ description = "Enforces rules for the imports within and between Python packages authors = [ {name = "David Seddon", email = "david@seddonym.me"}, ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "click>=6", "grimp>=3.2", @@ -25,7 +25,6 @@ classifiers = [ "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", "Programming Language :: Python", - "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 c1c8b5ce..5ea7d0ce 100644 --- a/tox.ini +++ b/tox.ini @@ -4,12 +4,11 @@ envlist = clean, check, docs, - py38,py39,py310,py311,py312 + py39,py310,py311,py312 report [testenv] basepython = - py38: {env:TOXPYTHON:python3.8} py39: {env:TOXPYTHON:python3.9} py310: {env:TOXPYTHON:python3.10} py311: {env:TOXPYTHON:python3.11} @@ -64,7 +63,6 @@ deps = coverage [gh-actions] # Run check on both Python 3.10 and 3.11, because of our version-dependent dependency on tomli. python = - 3.8: py38, report 3.9: py39, report 3.10: py310, report, check 3.11: py311, report, check, docs