From bc6ff28003416e8d9bac2c9a1a09ffd590dc93fa Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 7 Aug 2026 07:04:58 -0700 Subject: [PATCH 1/2] update pybind11 versions --- CMakeLists.txt | 4 ++-- examples/pybind11/external_usm_allocation/CMakeLists.txt | 4 ++-- examples/pybind11/onemkl_gemv/CMakeLists.txt | 4 ++-- examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt | 4 ++-- examples/pybind11/use_dpctl_sycl_queue/CMakeLists.txt | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f84348251..0d27c9d6c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,8 +125,8 @@ include(FetchContent) FetchContent_Declare( pybind11 - URL https://github.com/pybind/pybind11/archive/refs/tags/v3.0.1.tar.gz - URL_HASH SHA256=741633da746b7c738bb71f1854f957b9da660bcd2dce68d71949037f0969d0ca + URL https://github.com/pybind/pybind11/archive/refs/tags/v3.1.0.tar.gz + URL_HASH SHA256=ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 FIND_PACKAGE_ARGS NAMES pybind11 ) FetchContent_MakeAvailable(pybind11) diff --git a/examples/pybind11/external_usm_allocation/CMakeLists.txt b/examples/pybind11/external_usm_allocation/CMakeLists.txt index b2462852cf..e3ef19d199 100644 --- a/examples/pybind11/external_usm_allocation/CMakeLists.txt +++ b/examples/pybind11/external_usm_allocation/CMakeLists.txt @@ -14,8 +14,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) include(FetchContent) FetchContent_Declare( pybind11 - URL https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz - URL_HASH SHA256=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20 + URL https://github.com/pybind/pybind11/archive/refs/tags/v3.1.0.tar.gz + URL_HASH SHA256=ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 FIND_PACKAGE_ARGS NAMES pybind11 ) FetchContent_MakeAvailable(pybind11) diff --git a/examples/pybind11/onemkl_gemv/CMakeLists.txt b/examples/pybind11/onemkl_gemv/CMakeLists.txt index 08dda0b288..5a41b021b2 100644 --- a/examples/pybind11/onemkl_gemv/CMakeLists.txt +++ b/examples/pybind11/onemkl_gemv/CMakeLists.txt @@ -18,8 +18,8 @@ include(GNUInstallDirs) include(FetchContent) FetchContent_Declare( pybind11 - URL https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz - URL_HASH SHA256=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20 + URL https://github.com/pybind/pybind11/archive/refs/tags/v3.1.0.tar.gz + URL_HASH SHA256=ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 FIND_PACKAGE_ARGS NAMES pybind11 ) FetchContent_MakeAvailable(pybind11) diff --git a/examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt b/examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt index 5d8129581e..6d4ec45893 100644 --- a/examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt +++ b/examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt @@ -15,8 +15,8 @@ set(CMAKE_BUILD_TYPE Debug) include(FetchContent) FetchContent_Declare( pybind11 - URL https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz - URL_HASH SHA256=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20 + URL https://github.com/pybind/pybind11/archive/refs/tags/v3.1.0.tar.gz + URL_HASH SHA256=ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 FIND_PACKAGE_ARGS NAMES pybind11 ) FetchContent_MakeAvailable(pybind11) diff --git a/examples/pybind11/use_dpctl_sycl_queue/CMakeLists.txt b/examples/pybind11/use_dpctl_sycl_queue/CMakeLists.txt index 1534efd13e..b3a16c6f62 100644 --- a/examples/pybind11/use_dpctl_sycl_queue/CMakeLists.txt +++ b/examples/pybind11/use_dpctl_sycl_queue/CMakeLists.txt @@ -14,8 +14,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) include(FetchContent) FetchContent_Declare( pybind11 - URL https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz - URL_HASH SHA256=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20 + URL https://github.com/pybind/pybind11/archive/refs/tags/v3.1.0.tar.gz + URL_HASH SHA256=ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 FIND_PACKAGE_ARGS NAMES pybind11 ) FetchContent_MakeAvailable(pybind11) From 5a009de59073292dd0a7acdb384ccb47d7996705 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 7 Aug 2026 07:05:19 -0700 Subject: [PATCH 2/2] add gh-2357 to the changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 686d06eed7..c033895c19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +### Maintenance +* Updated pybind11 version used by `dpctl` and examples [gh-2357](https://github.com/IntelPython/dpctl/pull/2357) + ## [0.22.1] - Apr. 24, 2026 This is a bug-fix release which fixes a memory leak in `dpctl.RawKernelArg`.