Skip to content

Commit

Permalink
Drop support for Python 3.8 (#236)
Browse files Browse the repository at this point in the history
As it is now end of life.
  • Loading branch information
seddonym authored Oct 8, 2024
1 parent bb2c116 commit e675a84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
--------------
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e675a84

Please sign in to comment.