Skip to content

Commit e71acbc

Browse files
committed
debt: EOL Python 3.9
1 parent 80cdb33 commit e71acbc

File tree

7 files changed

+12
-58
lines changed

7 files changed

+12
-58
lines changed

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
matrix:
3838
os:
3939
- ubuntu-latest
40-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
40+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4141
include:
4242
- os: windows-latest
4343
python-version: "3.10"

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
- [Ruby] Minor cosmetic / CI changes for development (Nothing front-facing)
1111
- [Python] PEP 639 licence metadata specification ([#361](https://github.com/cucumber/cucumber-expressions/pull/361))
1212

13+
### Removed
14+
- [Python] Remove support for end-of-life Python 3.8 and 3.9 ([#359](https://github.com/cucumber/cucumber-expressions/pull/359))
15+
1316
## [18.0.1] - 2024-10-28
1417
### Fixed
1518
- [Python] Release process didn't release to pypi correctly

python/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "cucumber-expressions"
77
version = "18.0.1"
88
description = "Cucumber Expressions - a simpler alternative to Regular Expressions"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
authors = [
1212
{name = "Jason Allen", email = "[email protected]"},
1313
]
@@ -22,7 +22,6 @@ classifiers = [
2222
"Intended Audience :: Developers",
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
"Programming Language :: Python :: 3.12",

python/src/cucumber_expressions/ast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Node:
4040
def __init__(
4141
self,
4242
ast_type: NodeType,
43-
nodes: [list[Node]] | None,
43+
nodes: list[Node] | None,
4444
token: str | None,
4545
start: int,
4646
end: int,

python/src/cucumber_expressions/expression_parser.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Callable, NamedTuple
42

53
from cucumber_expressions.ast import Node, NodeType, Token, TokenType

python/src/cucumber_expressions/group.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
43
class Group:
54
def __init__(self, value: str, start: int, end: int, children: list[Group]):
65
self._children = children

python/uv.lock

Lines changed: 6 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)