Skip to content

Commit 375b2bd

Browse files
committed
wheels and tests for 3.13t, 3.14t
1 parent 26f1bf0 commit 375b2bd

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
python-version: ["3.9", "3.13", "3.14"]
36+
python-version: ["3.9", "3.13", "3.14", "3.14t"]
3737
runs-on: [ubuntu-latest, macos-latest, windows-latest]
3838

3939
steps:
@@ -51,7 +51,12 @@ jobs:
5151
run: python -m pip install . --group test
5252

5353
- name: Test package
54-
run: pytest
54+
if: ${{ !endsWith(matrix.python-version , 't') }}
55+
run: python -m pytest -ra
56+
57+
- name: Test package (parallel)
58+
if: endsWith(matrix.python-version , 't')
59+
run: python -Xgil=0 -m pytest -ra --parallel-threads=16 --iterations=10
5560

5661
checkroot:
5762
name: Check ROOT bindings

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ test = [
5858
"requests",
5959
"scipy",
6060
"pytest >=6.0",
61+
"pytest-run-parallel",
6162
"awkward >=2.2.2",
6263
"dask-awkward >=2024.1.1",
6364
]
@@ -143,7 +144,6 @@ BUILD_DEMO = "OFF"
143144
write_to = "src/correctionlib/version.py"
144145

145146
[tool.cibuildwheel]
146-
skip = ["cp314t-*"]
147147
test-groups = ["test"]
148148
test-command = "python -m pytest {package}/tests"
149149
test-skip = ["*-musllinux_*", "cp3{10,11,12}-win32"]

src/python.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace {
8585
return output;
8686
}
8787
}
88-
PYBIND11_MODULE(_core, m) {
88+
PYBIND11_MODULE(_core, m, py::mod_gil_not_used()) {
8989
m.doc() = "python binding for corrections evaluator";
9090

9191
py::class_<Variable>(m, "Variable")

0 commit comments

Comments
 (0)