From 0945a5f831fa7ee361af37840207b6766c93ff02 Mon Sep 17 00:00:00 2001 From: eparshut Date: Tue, 3 Feb 2026 15:51:01 +0100 Subject: [PATCH 1/6] updated ittapi python binding version from 1.2.0 to 1.2.1 --- python/ittapi.native/ittapi.cpp | 4 ++-- python/pyproject.toml | 2 +- python/setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/ittapi.native/ittapi.cpp b/python/ittapi.native/ittapi.cpp index 236ce90f..b4f0401d 100644 --- a/python/ittapi.native/ittapi.cpp +++ b/python/ittapi.native/ittapi.cpp @@ -42,8 +42,8 @@ static int exec_ittapi_module(PyObject* module) PyModule_AddFunctions(module, ittapi_functions); PyModule_AddStringConstant(module, "__author__", "Egor Suldin"); - PyModule_AddStringConstant(module, "__version__", "1.2.0"); - PyModule_AddIntConstant(module, "year", 2024); + PyModule_AddStringConstant(module, "__version__", "1.2.1"); + PyModule_AddIntConstant(module, "year", 2026); return 0; } diff --git a/python/pyproject.toml b/python/pyproject.toml index 87c203f5..d2c1cfcb 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ittapi" -version = "1.2.0" +version = "1.2.1" authors = [ { name="Egor Suldin"}, ] diff --git a/python/setup.py b/python/setup.py index 96d9b1ca..450845d5 100644 --- a/python/setup.py +++ b/python/setup.py @@ -131,7 +131,7 @@ def build_extension(self, ext) -> None: setup(name='ittapi', - version='1.2.0', + version='1.2.1', description='ITT API bindings for Python', packages=['ittapi', 'ittapi/compat'], ext_modules=[ittapi_native], From 9b20999b9c84576480ecfe2e76ee50a14abfd09b Mon Sep 17 00:00:00 2001 From: eparshut Date: Tue, 3 Feb 2026 16:44:55 +0100 Subject: [PATCH 2/6] add python 3.13 and 3.14 wheel builds --- .github/workflows/main.yml | 25 ++++++++++++++++++++++++- .github/workflows/release.yml | 8 ++++---- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb5d8b08..493a8e45 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ master ] + branches: [ master, pypi_version ] pull_request: branches: [ master ] @@ -113,3 +113,26 @@ jobs: - name: Run unit tests run: python -m unittest discover -s utest -t utest + # Temporary job to test wheel builds for all Python versions + python_wheel_build: + name: Build ittapi wheels (test) + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + cibw_skip_args: "*_i686 *-musllinux_*" + - os: windows-latest + cibw_skip_args: "*-win32 *_i686" + steps: + - name: Checkout sources + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Install cibuildwheels + run: python -m pip install cibuildwheel==3.3.1 + - name: Build ittapi python wheels + run: python -m cibuildwheel python --output-dir python_dist + env: + CIBW_BUILD: cp3* + CIBW_SKIP: ${{ matrix.cibw_skip_args }} + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 164f3d26..ee20f10e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: build*/**/bin build*/**/fortran - # build wheels only for cpython versions 3.8-3.12 on linux and windows 64-bits + # build wheels for cpython versions 3.8+ on linux and windows 64-bits python_build: name: Build ittapi wheels runs-on: ${{ matrix.os }} @@ -52,14 +52,14 @@ jobs: matrix: include: - os: ubuntu-latest - cibw_skip_args: "*_i686 *-musllinux_* cp313-*" + cibw_skip_args: "*_i686 *-musllinux_*" - os: windows-latest - cibw_skip_args: "*-win32 *_i686 cp313-*" + cibw_skip_args: "*-win32 *_i686" steps: - name: Checkout sources uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install cibuildwheels - run: python -m pip install cibuildwheel==2.20.0 + run: python -m pip install cibuildwheel==3.3.1 - name: Build ittapi python wheels run: python -m cibuildwheel python --output-dir python_dist env: From ca8ea92ebd5e33df14708f97f48f48be22542919 Mon Sep 17 00:00:00 2001 From: eparshut Date: Tue, 3 Feb 2026 16:52:15 +0100 Subject: [PATCH 3/6] debug: add branch to gh action --- .github/workflows/main.yml | 4 +++- python/pyproject.toml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 493a8e45..a1fa2f51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,9 @@ name: CI on: push: - branches: [ master, pypi_version ] + branches: + - master + - pypi_version pull_request: branches: [ master ] diff --git a/python/pyproject.toml b/python/pyproject.toml index d2c1cfcb..e8dac8ca 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -16,6 +16,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [project.urls] From b39a653b359dc2c359e3a4ffd4641dc3f70d9d17 Mon Sep 17 00:00:00 2001 From: eparshut Date: Tue, 3 Feb 2026 17:02:40 +0100 Subject: [PATCH 4/6] debug gh action run --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1fa2f51..98ac8411 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,7 @@ name: CI on: push: - branches: - - master - - pypi_version + branches: [ pypi_version ] pull_request: branches: [ master ] From 8e65113c13123ab00757103556585ccf03855be3 Mon Sep 17 00:00:00 2001 From: eparshut Date: Tue, 3 Feb 2026 18:50:38 +0100 Subject: [PATCH 5/6] skipping free-threaded builds for now --- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98ac8411..34e4d501 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -122,9 +122,9 @@ jobs: matrix: include: - os: ubuntu-latest - cibw_skip_args: "*_i686 *-musllinux_*" + cibw_skip_args: "*_i686 *-musllinux_* cp*t-*" - os: windows-latest - cibw_skip_args: "*-win32 *_i686" + cibw_skip_args: "*-win32 *_i686 cp*t-*" steps: - name: Checkout sources uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee20f10e..722069bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,9 +52,9 @@ jobs: matrix: include: - os: ubuntu-latest - cibw_skip_args: "*_i686 *-musllinux_*" + cibw_skip_args: "*_i686 *-musllinux_* cp*t-*" - os: windows-latest - cibw_skip_args: "*-win32 *_i686" + cibw_skip_args: "*-win32 *_i686 cp*t-*" steps: - name: Checkout sources uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 From fb3867d9444047c36d2553c6294900d4b0dc71c2 Mon Sep 17 00:00:00 2001 From: eparshut Date: Tue, 3 Feb 2026 18:53:46 +0100 Subject: [PATCH 6/6] cleanup --- .github/workflows/main.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 34e4d501..bb5d8b08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ pypi_version ] + branches: [ master ] pull_request: branches: [ master ] @@ -113,26 +113,3 @@ jobs: - name: Run unit tests run: python -m unittest discover -s utest -t utest - # Temporary job to test wheel builds for all Python versions - python_wheel_build: - name: Build ittapi wheels (test) - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - os: ubuntu-latest - cibw_skip_args: "*_i686 *-musllinux_* cp*t-*" - - os: windows-latest - cibw_skip_args: "*-win32 *_i686 cp*t-*" - steps: - - name: Checkout sources - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: Install cibuildwheels - run: python -m pip install cibuildwheel==3.3.1 - - name: Build ittapi python wheels - run: python -m cibuildwheel python --output-dir python_dist - env: - CIBW_BUILD: cp3* - CIBW_SKIP: ${{ matrix.cibw_skip_args }} -