Skip to content

Commit 4f06b1a

Browse files
authored
python: add Python 3.13 and 3.14 wheel builds (#214)
* Update cibuildwheel from 2.20.0 to 3.3.1 * Enable wheel builds for Python 3.13 and 3.14 * Skip free-threaded (no-GIL) builds for now * Bump version to 1.2.1
1 parent fd39072 commit 4f06b1a

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
build*/**/bin
4444
build*/**/fortran
4545
46-
# build wheels only for cpython versions 3.8-3.12 on linux and windows 64-bits
46+
# build wheels for cpython versions 3.8+ on linux and windows 64-bits
4747
python_build:
4848
name: Build ittapi wheels
4949
runs-on: ${{ matrix.os }}
@@ -52,14 +52,14 @@ jobs:
5252
matrix:
5353
include:
5454
- os: ubuntu-latest
55-
cibw_skip_args: "*_i686 *-musllinux_* cp313-*"
55+
cibw_skip_args: "*_i686 *-musllinux_* cp*t-*"
5656
- os: windows-latest
57-
cibw_skip_args: "*-win32 *_i686 cp313-*"
57+
cibw_skip_args: "*-win32 *_i686 cp*t-*"
5858
steps:
5959
- name: Checkout sources
6060
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6161
- name: Install cibuildwheels
62-
run: python -m pip install cibuildwheel==2.20.0
62+
run: python -m pip install cibuildwheel==3.3.1
6363
- name: Build ittapi python wheels
6464
run: python -m cibuildwheel python --output-dir python_dist
6565
env:

python/ittapi.native/ittapi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ static int exec_ittapi_module(PyObject* module)
4242
PyModule_AddFunctions(module, ittapi_functions);
4343

4444
PyModule_AddStringConstant(module, "__author__", "Egor Suldin");
45-
PyModule_AddStringConstant(module, "__version__", "1.2.0");
46-
PyModule_AddIntConstant(module, "year", 2024);
45+
PyModule_AddStringConstant(module, "__version__", "1.2.1");
46+
PyModule_AddIntConstant(module, "year", 2026);
4747

4848
return 0;
4949
}

python/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ittapi"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
authors = [
55
{ name="Egor Suldin"},
66
]
@@ -16,6 +16,8 @@ classifiers = [
1616
"Programming Language :: Python :: 3.10",
1717
"Programming Language :: Python :: 3.11",
1818
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
1921
]
2022

2123
[project.urls]

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def build_extension(self, ext) -> None:
131131

132132

133133
setup(name='ittapi',
134-
version='1.2.0',
134+
version='1.2.1',
135135
description='ITT API bindings for Python',
136136
packages=['ittapi', 'ittapi/compat'],
137137
ext_modules=[ittapi_native],

0 commit comments

Comments
 (0)