Skip to content

Commit 58b22b2

Browse files
committed
Drop support for EOL Python 3.7
1 parent 4a53042 commit 58b22b2

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
13+
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1414
os: [ubuntu-latest, windows-latest]
1515

1616
steps:

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v3.3.1
44
hooks:
55
- id: pyupgrade
6-
args: [--py37-plus]
6+
args: [--py38-plus]
77
- repo: https://github.com/tox-dev/pyproject-fmt
88
rev: "0.4.1"
99
hooks:

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ authors = [
1414
{ name = "Ronny Pfannschmidt", email = "[email protected]" },
1515
{ name = "Holger Krekel", email = "[email protected]" },
1616
]
17-
requires-python = ">=3.7"
17+
requires-python = ">=3.8"
1818
dynamic = [
1919
"version",
2020
]
@@ -27,7 +27,6 @@ classifiers = [
2727
"Operating System :: POSIX",
2828
"Programming Language :: Python :: 3",
2929
"Programming Language :: Python :: 3 :: Only",
30-
"Programming Language :: Python :: 3.7",
3130
"Programming Language :: Python :: 3.8",
3231
"Programming Language :: Python :: 3.9",
3332
"Programming Language :: Python :: 3.10",
@@ -59,7 +58,7 @@ dependencies = [
5958
default = "pytest {args}"
6059

6160
[[tool.hatch.envs.test.matrix]]
62-
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
61+
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
6362

6463
[tool.setuptools_scm]
6564

src/iniconfig/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import os
2121

2222
if TYPE_CHECKING:
23-
from typing_extensions import Final
23+
from typing import Final
2424

2525
__all__ = ["IniConfig", "ParseError", "COMMENTCHARS", "iscommentline"]
2626

src/iniconfig/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from typing import TYPE_CHECKING
33

44
if TYPE_CHECKING:
5-
from typing_extensions import Final
5+
from typing import Final
66

77

88
class ParseError(Exception):

0 commit comments

Comments
 (0)