Skip to content

Commit 94b0d19

Browse files
ci/build: support Python 3.14 free-threaded wheels (#36)
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
1 parent bc8e2f9 commit 94b0d19

4 files changed

Lines changed: 65 additions & 146 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
strategy:
3333
fail-fast: true
3434
matrix:
35-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
35+
python-version:
36+
["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
3637
steps:
3738
- name: Checkout repository
3839
uses: actions/checkout@v4
@@ -53,7 +54,7 @@ jobs:
5354
- name: Install library
5455
run: uv run maturin develop
5556
- name: Test
56-
run: uv run pytest
57+
run: uv run pytest --parallel-threads=10
5758
rust_tests:
5859
name: "Rust Tests"
5960
runs-on: ubuntu-latest

.github/workflows/publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ concurrency:
1010

1111
env:
1212
PACKAGE_NAME: fast_query_parsers
13-
PYTHON_VERSION: "3.8"
13+
PYTHON_VERSION: |
14+
3.8
15+
3.14t
1416
1517
jobs:
1618
macos:

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "fast-query-parsers"
33
dynamic = ["version"]
4-
requires-python = ">=3.7"
4+
requires-python = ">=3.8"
55
license = "MIT"
66
readme = "README.md"
77
classifiers = [
@@ -43,7 +43,13 @@ documentation = "https://github.com/litestar-org/fast-query-parsers/README.md"
4343
repository = "https://github.com/litestar-org/fast-query-parsers"
4444

4545
[dependency-groups]
46-
dev = ["maturin>=1.9.6", "pyperf>=2.8.0", "pytest>=7.4.4", "ruff>=0.14.1"]
46+
dev = [
47+
"maturin>=1.9.6",
48+
"pyperf>=2.8.0",
49+
"pytest>=7.4.4",
50+
"pytest-run-parallel>=0.5",
51+
"ruff>=0.14.1",
52+
]
4753

4854
[build-system]
4955
requires = ["maturin>=1.9.6,<2.0"]

0 commit comments

Comments
 (0)