Skip to content

Commit a192ce1

Browse files
authored
Drop support for Python 3.8 (#500)
1 parent 91b163d commit a192ce1

File tree

6 files changed

+75
-114
lines changed

6 files changed

+75
-114
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#
2020
# flake8-bugbear rules that cause too many false positives:
2121
# B905 "`zip()` without an explicit `strict=True` parameter --
22-
# the `strict` parameter was introduced in Python 3.10; we support Python 3.8
22+
# the `strict` parameter was introduced in Python 3.10; we support Python 3.9
2323
# B907 "Use !r inside f-strings instead of manual quotes" --
2424
# produces false positives if you're surrounding things with double quotes
2525

.github/workflows/check.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,13 @@ jobs:
2929
timeout-minutes: 5
3030
strategy:
3131
matrix:
32-
python-version: ["3.8", "3.13"]
32+
python-version: ["3.9", "3.13"]
3333
fail-fast: false
3434
steps:
3535
- uses: actions/checkout@v4
3636
- uses: actions/setup-python@v5
3737
with:
38-
# Need to use Python 3.8 for the mypy-3.8 job,
39-
# or `ast_decompiler` isn't installed by `uv pip install -e '.[dev]'`,
40-
# and `ast_decompiler` must be installed for the typecheck to succeed
41-
# with `--python-version=3.8
42-
python-version: "3.8"
38+
python-version: "3.12"
4339
allow-prereleases: true
4440
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
4541
- run: uv pip install -e .[dev] --system
@@ -66,7 +62,7 @@ jobs:
6662
strategy:
6763
matrix:
6864
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
69-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
65+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
7066
fail-fast: false
7167
steps:
7268
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
rev: 24.4.2 # must match pyproject.toml
1313
hooks:
1414
- id: black
15-
language_version: python3.8
15+
language_version: python3.9
1616
- repo: https://github.com/pycqa/isort
1717
rev: 5.13.2 # must match pyproject.toml
1818
hooks:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Bugfixes
66
* Don't emit Y053 for long strings inside `Literal` slices or
77
metadata strings inside `Annotated` slices.
88

9+
Other changes:
10+
* `flake8-pyi` no longer supports being run using Python 3.8.
11+
As a result, it not longer depends on the third-party
12+
`ast_decompiler` package.
13+
914
## 24.6.0
1015

1116
Bugfixes

0 commit comments

Comments
 (0)