Skip to content

Commit bf93778

Browse files
authored
Add support for Python 3.14 and drop Python 3.8 (#283)
1 parent d82b33b commit bf93778

5 files changed

Lines changed: 17 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ jobs:
1717
max-parallel: 4
1818
matrix:
1919
platform: [ubuntu-latest, windows-latest]
20-
tox-env: [py38, py39, py310, py311, py312, py313, nolxml, nohtml5lib]
20+
tox-env: [py39, py310, py311, py312, py313, py314, nolxml, nohtml5lib]
2121
include:
22-
- tox-env: py38
23-
python-version: 3.8
24-
continue-on-error: false
2522
- tox-env: py39
2623
python-version: 3.9
2724
continue-on-error: false
@@ -37,15 +34,18 @@ jobs:
3734
- tox-env: py313
3835
python-version: '3.13'
3936
continue-on-error: false
37+
- tox-env: py314
38+
python-version: '3.14'
39+
continue-on-error: false
4040
- tox-env: nolxml
41-
python-version: '3.11'
41+
python-version: '3.13'
4242
continue-on-error: false
4343
- tox-env: nohtml5lib
44-
python-version: '3.11'
44+
python-version: '3.13'
4545
continue-on-error: false
4646
exclude:
4747
- platform: windows-latest
48-
tox-env: py313
48+
tox-env: py314
4949

5050
env:
5151
TOXENV: ${{ matrix.tox-env }}
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
max-parallel: 4
8282
matrix:
83-
python-version: [3.11]
83+
python-version: [3.13]
8484

8585
env:
8686
TOXENV: lint
@@ -104,7 +104,7 @@ jobs:
104104
strategy:
105105
max-parallel: 4
106106
matrix:
107-
python-version: [3.11]
107+
python-version: [3.13]
108108

109109
env:
110110
TOXENV: documents

docs/src/markdown/about/changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Changelog
22

3-
## Unreleased
3+
## 2.8
44

5-
- **ENHANCE**: Switch to deploying with PyPI's "Trusted Publisher".
5+
- **NEW**: Drop support for Python 3.8.
6+
- **NEW**: Add support for Python 3.14.
7+
- **NEW**: Deploy with PyPI's "Trusted Publisher".
68

79
## 2.7
810

hatch_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ 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',
3736
'Programming Language :: Python :: 3.13',
37+
'Programming Language :: Python :: 3.14',
3838
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
3939
'Topic :: Software Development :: Libraries :: Python Modules',
4040
'Typing :: Typed'

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "soupsieve"
99
description = "A modern CSS selector implementation for Beautiful Soup."
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
]
@@ -109,7 +109,7 @@ legacy_tox_ini = """
109109
[tox]
110110
isolated_build = true
111111
envlist =
112-
py{38,39,310,311,312},
112+
py{39,310,311,312,313,314},
113113
lint, nolxml, nohtml5lib
114114
115115
[testenv]

soupsieve/__meta__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ def parse_version(ver: str) -> Version:
193193
return Version(major, minor, micro, release, pre, post, dev)
194194

195195

196-
__version_info__ = Version(2, 7, 0, "final")
196+
__version_info__ = Version(2, 8, 0, "final")
197197
__version__ = __version_info__._get_canonical()

0 commit comments

Comments
 (0)