Skip to content

Commit c0833e0

Browse files
authored
chore: support Python 3.15 (#668)
support Python 3.15 Signed-off-by: gruebel <anton.gruebel@gmail.com>
1 parent 8200219 commit c0833e0

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
28+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
2929

3030
steps:
3131
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

‎.pre-commit-config.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ repos:
2626
hooks:
2727
- id: pyproject-fmt
2828
priority: 0
29-
additional_dependencies: [toml-fmt-common<1.3.3] # removed after fix https://github.com/tox-dev/toml-fmt/issues/355
3029

3130
- repo: https://github.com/pre-commit/mirrors-mypy
3231
rev: v2.4.1

‎pyproject.toml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.12",
2626
"Programming Language :: Python :: 3.13",
2727
"Programming Language :: Python :: 3.14",
28+
"Programming Language :: Python :: 3.15",
2829
]
2930
dependencies = []
3031
urls.Homepage = "https://github.com/open-feature/python-sdk"
@@ -33,14 +34,14 @@ urls.Homepage = "https://github.com/open-feature/python-sdk"
3334
dev = [
3435
"behave>=1.3.0,<2.0.0",
3536
"coverage[toml]>=7.10.0,<8.0.0",
36-
"poethepoet>=0.40.0,<1.0.0",
37+
"poethepoet>=0.42.0,<1.0.0",
3738
"prek>=0.5.0,<0.6.0",
3839
"pytest>=9.0.0,<10.0.0",
3940
"pytest-asyncio>=1.3.0,<2.0.0",
4041
]
4142

4243
[tool.uv]
43-
required-version = ">=0.12.0"
44+
required-version = ">=0.13.0"
4445
build-backend.module-name = "openfeature"
4546
build-backend.module-root = ""
4647
build-backend.namespace = true
@@ -101,7 +102,7 @@ lint.pyupgrade.keep-runtime-typing = true
101102

102103
[tool.pyproject-fmt]
103104
keep_full_version = true
104-
max_supported_python = "3.14"
105+
max_supported_python = "3.15"
105106

106107
[tool.mypy]
107108
files = "openfeature,tests/typechecking"
@@ -137,7 +138,7 @@ tasks.e2e = [
137138
{ cmd = "rm tests/features/*.feature" },
138139
]
139140
tasks.pre-commit = "pre-commit run -a"
140-
tasks.test-all.parallel = [ "test-py310", "test-py311", "test-py312", "test-py313", "test-py314" ]
141+
tasks.test-all.parallel = [ "test-py310", "test-py311", "test-py312", "test-py313", "test-py314", "test-py315" ]
141142
tasks.test-py310.cmd = "pytest tests"
142143
tasks.test-py310.executor = { python = "3.10", isolated = true, frozen = true }
143144
tasks.test-py311.cmd = "pytest tests"
@@ -148,3 +149,5 @@ tasks.test-py313.cmd = "pytest tests"
148149
tasks.test-py313.executor = { python = "3.13", isolated = true, frozen = true }
149150
tasks.test-py314.cmd = "pytest tests"
150151
tasks.test-py314.executor = { python = "3.14", isolated = true, frozen = true }
152+
tasks.test-py315.cmd = "pytest tests"
153+
tasks.test-py315.executor = { python = "3.15", isolated = true, frozen = true }

0 commit comments

Comments
 (0)