Skip to content

Commit 08e9ede

Browse files
committed
Drop Python 3.9
1 parent d6e6830 commit 08e9ede

7 files changed

Lines changed: 19 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: [py39, py310, py311, py312, py313, py314, nolxml, nohtml5lib]
20+
tox-env: [py310, py311, py312, py313, py314, nolxml, nohtml5lib]
2121
include:
22-
- tox-env: py39
23-
python-version: 3.9
24-
continue-on-error: false
2522
- tox-env: py310
2623
python-version: '3.10'
2724
continue-on-error: false
@@ -43,9 +40,12 @@ jobs:
4340
- tox-env: nohtml5lib
4441
python-version: '3.13'
4542
continue-on-error: false
46-
exclude:
47-
- platform: windows-latest
48-
tox-env: py314
43+
- tox-env: nohtml5lib
44+
python-version: '3.14'
45+
continue-on-error: false
46+
# exclude:
47+
# - platform: windows-latest
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.13]
83+
python-version: [3.14]
8484

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

109109
env:
110110
TOXENV: documents

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.13
16+
python-version: 3.14
1717
- name: Build
1818
run: |
1919
pip install --upgrade pip build

‎.github/workflows/publish.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
max-parallel: 4
1414
matrix:
15-
python-version: ['3.13']
15+
python-version: ['3.14']
1616

1717
runs-on: ubuntu-latest
1818

‎docs/src/markdown/about/changelog.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ icon: lucide/scroll-text
33
---
44
# Changelog
55

6+
## 2.9
7+
8+
- **NEW**: Drop Python 3.9 support.
9+
- **NEW**: Lazy compile selector patterns to improve initial import speed.
10+
611
## 2.8.4
712

813
- **FIX**: Fix another inefficient attribute pattern (@mauriceng98).

‎hatch_build.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ 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.9',
3332
'Programming Language :: Python :: 3.10',
3433
'Programming Language :: Python :: 3.11',
3534
'Programming Language :: Python :: 3.12',

‎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.9"
12+
requires-python = ">=3.10"
1313
authors = [
1414
{ name = "Isaac Muse", email = "[email protected]" },
1515
]
@@ -109,7 +109,7 @@ legacy_tox_ini = """
109109
[tox]
110110
isolated_build = true
111111
envlist =
112-
py{39,310,311,312,313,314},
112+
py{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, 8, 4, "final")
196+
__version_info__ = Version(2, 9, 0, "final")
197197
__version__ = __version_info__._get_canonical()

0 commit comments

Comments
 (0)