Skip to content

Commit 3c2a107

Browse files
authored
Add support for Python 3.13 and drop Python 3.8 (#202)
1 parent 35c08df commit 3c2a107

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ jobs:
1717
max-parallel: 5
1818
matrix:
1919
platform: [ubuntu-latest] #, windows-latest]
20-
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
20+
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
2121
include:
22-
- python-version: 3.8
23-
continue-on-error: false
2422
- python-version: 3.9
2523
continue-on-error: false
2624
- python-version: '3.10'
@@ -29,6 +27,8 @@ jobs:
2927
continue-on-error: false
3028
- python-version: 3.12
3129
continue-on-error: false
30+
- python-version: 3.13
31+
continue-on-error: false
3232
# exclude:
3333
# - platform: windows-latest
3434
# python-version: 3.9

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
14-
python-version: [3.11]
14+
python-version: [3.13]
1515

1616
runs-on: ubuntu-latest
1717

@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@v4
4444
- uses: actions/setup-python@v5
4545
with:
46-
python-version: 3.11
46+
python-version: 3.13
4747
- name: Package
4848
run: |
4949
pip install --upgrade build

docs/src/markdown/about/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- **NEW**: Add new command line option `--skip-dict-compile` which will skip the dictionary compiling step if the
66
dictionary already exists. Changes to a custom dictionary will be ignored.
7+
- **NEW**: Drop support for Python 3.8.
8+
- **NEW**: Add official support for Python 3.13.
79

810
## 2.10
911

hatch_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def update(self, metadata):
2929
'License :: OSI Approved :: MIT License',
3030
'Operating System :: OS Independent',
3131
'Programming Language :: Python :: 3',
32-
'Programming Language :: Python :: 3.8',
3332
'Programming Language :: Python :: 3.9',
3433
'Programming Language :: Python :: 3.10',
3534
'Programming Language :: Python :: 3.11',
3635
'Programming Language :: Python :: 3.12',
36+
'Programming Language :: Python :: 3.13',
3737
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
3838
'Topic :: Software Development :: Libraries :: Python Modules'
3939
]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "pyspelling"
99
description = "Spell checker."
1010
readme = "README.md"
1111
license = "MIT"
12-
requires-python = ">=3.8"
12+
requires-python = ">=3.9"
1313
authors = [
1414
{ name = "Isaac Muse", email = "Isaac.Muse@gmail.com" },
1515
]
@@ -121,7 +121,7 @@ legacy_tox_ini = """
121121
[tox]
122122
isolated_build = true
123123
envlist =
124-
py38,py39,py310,py311,py312,lint
124+
py39,py310,py311,py312,py313,lint
125125
126126
[testenv]
127127
passenv = LANG,TOX_SPELL_PATH,TOX_SPELL_REQUIRE,HOME

pyspelling/__meta__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,5 +188,5 @@ def parse_version(ver):
188188
return Version(major, minor, micro, release, pre, post, dev)
189189

190190

191-
__version_info__ = Version(2, 10, 0, "final")
191+
__version_info__ = Version(2, 11, 0, "final")
192192
__version__ = __version_info__._get_canonical()

0 commit comments

Comments
 (0)