Skip to content

Commit 4e8ff56

Browse files
committed
drop support for python 3.7-3.9 and add 3.12
1 parent fe11679 commit 4e8ff56

File tree

3 files changed

+21
-40
lines changed

3 files changed

+21
-40
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
python-version:
16-
- 3.7
17-
- 3.8
18-
- 3.9
1916
- '3.10'
2017
- '3.11'
18+
- '3.12'
2119

2220
steps:
2321
- uses: actions/checkout@v4

.mergify.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
pull_request_rules:
2-
32
- name: Add CI label
43
conditions:
54
- or:
@@ -25,23 +24,21 @@ pull_request_rules:
2524
- name: Automatic merge on approval
2625
conditions:
2726
- and:
28-
- "check-success=build (docs)"
29-
- "check-success=build (isolated)"
30-
- "check-success=build (linter)"
31-
- "check-success=build (spelling)"
32-
- "check-success=django"
33-
- "check-success=build (3.7)"
34-
- "check-success=build (3.8)"
35-
- "check-success=build (3.9)"
36-
- "check-success=build (3.10)"
37-
- "check-success=build (3.11)"
38-
- "-draft"
39-
- or:
40-
- "check-success=history-update"
41-
- "label=ci"
42-
- or:
43-
- "approved-reviews-by=dhellmann"
44-
- "author=dhellmann"
27+
- "check-success=build (docs)"
28+
- "check-success=build (isolated)"
29+
- "check-success=build (linter)"
30+
- "check-success=build (spelling)"
31+
- "check-success=django"
32+
- "check-success=build (3.10)"
33+
- "check-success=build (3.11)"
34+
- "check-success=build (3.12)"
35+
- "-draft"
36+
- or:
37+
- "check-success=history-update"
38+
- "label=ci"
39+
- or:
40+
- "approved-reviews-by=dhellmann"
41+
- "author=dhellmann"
4542
actions:
4643
merge:
4744
method: merge

pyproject.toml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "sphinxcontrib-spelling"
77
readme = "README"
8-
authors = [
9-
{name = "Doug Hellmann", email = "[email protected]"},
10-
]
8+
authors = [{ name = "Doug Hellmann", email = "[email protected]" }]
119
description = "Sphinx spelling extension"
1210
dynamic = ["version"]
1311

@@ -22,30 +20,20 @@ classifiers = [
2220
"Programming Language :: Python",
2321
"Programming Language :: Python :: 3",
2422
"Programming Language :: Python :: 3 :: Only",
25-
"Programming Language :: Python :: 3.7",
26-
"Programming Language :: Python :: 3.8",
27-
"Programming Language :: Python :: 3.9",
2823
"Programming Language :: Python :: 3.10",
2924
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
3026
"Programming Language :: Python :: Implementation :: CPython",
3127
"Topic :: Documentation",
3228
"Topic :: Utilities",
3329
]
3430

3531
requires-python = ">=3.7"
3632

37-
dependencies = [
38-
"PyEnchant>=3.1.1",
39-
"Sphinx>=3.0.0",
40-
"importlib_metadata>=1.7.0;python_version<'3.8'",
41-
]
33+
dependencies = ["PyEnchant>=3.1.1", "Sphinx>=3.0.0"]
4234

4335
[project.optional-dependencies]
44-
test = [
45-
"pytest",
46-
"pytest-cov",
47-
"coverage!=4.4,>=4.0",
48-
]
36+
test = ["pytest", "pytest-cov", "coverage!=4.4,>=4.0"]
4937

5038
[project.entry-points."sphinx.builders"]
5139
spelling = "sphinxcontrib.spelling"
@@ -61,6 +49,4 @@ write_to = "sphinxcontrib/spelling/version.py"
6149
[tool.setuptools]
6250
# Be explicit to avoid an error because build finds cover,
6351
# sphinxcontrib, and integration_tests as potential packages.
64-
packages = [
65-
"sphinxcontrib.spelling",
66-
]
52+
packages = ["sphinxcontrib.spelling"]

0 commit comments

Comments
 (0)