Skip to content

Commit

Permalink
Drop Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Dec 7, 2024
1 parent 3d2b886 commit 00ad5fa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ jobs:
fail-fast: false
matrix:
name: [
"windows-py38",
"windows-py39",
"windows-py313",
"windows-pypy3",

"ubuntu-py38-pytestmain",
"ubuntu-py38",
"ubuntu-py39-pytestmain",
"ubuntu-py39",
"ubuntu-py310",
"ubuntu-py311",
Expand All @@ -35,10 +34,10 @@ jobs:
]

include:
- name: "windows-py38"
python: "3.8"
- name: "windows-py39"
python: "3.9"
os: windows-latest
tox_env: "py38"
tox_env: "py39"
- name: "windows-py313"
python: "3.13"
os: windows-latest
Expand All @@ -47,15 +46,10 @@ jobs:
python: "pypy3.9"
os: windows-latest
tox_env: "pypy3"
- name: "ubuntu-py38"
python: "3.8"
os: ubuntu-latest
tox_env: "py38"
use_coverage: true
- name: "ubuntu-py38-pytestmain"
python: "3.8"
- name: "ubuntu-py39-pytestmain"
python: "3.9"
os: ubuntu-latest
tox_env: "py38-pytestmain"
tox_env: "py39-pytestmain"
use_coverage: true
- name: "ubuntu-py39"
python: "3.9"
Expand Down Expand Up @@ -87,7 +81,7 @@ jobs:
tox_env: "pypy3"
use_coverage: true
- name: "ubuntu-benchmark"
python: "3.8"
python: "3.9"
os: ubuntu-latest
tox_env: "benchmark"

Expand Down Expand Up @@ -136,7 +130,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.x"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/asottile/blacken-docs
rev: 1.19.1
hooks:
Expand Down
1 change: 1 addition & 0 deletions changelog/556.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Python 3.8 is no longer supported.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
"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",
Expand All @@ -33,7 +32,7 @@ classifiers = [
]
description = "plugin and hook calling mechanisms for python"
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = ">=3.8"
requires-python = ">=3.9"

dynamic = ["version"]
[project.optional-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=docs,py{38,39,310,311,312,313,py3},py{38}-pytest{main}
envlist=docs,py{39,310,311,312,313,py3},py{39}-pytest{main}

[testenv]
commands=
Expand Down Expand Up @@ -40,7 +40,7 @@ filterwarnings =

[flake8]
max-line-length=99
min-python-version = 3.8
min-python-version = 3.9

[testenv:release]
description = do a release, required posarg of the version number
Expand Down

0 comments on commit 00ad5fa

Please sign in to comment.