diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1df89ec..3c73e48 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ Changelog for package python_qt_binding ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2.2.1 (2024-05-13) +------------------ +* Suppress warning from Shiboken2. (backport `#137 `_) (`#138 `_) + Co-authored-by: Chris Lalancette + Co-authored-by: Alejandro Hernández Cordero +* Contributors: mergify[bot] + 2.2.0 (2024-03-28) ------------------ * Switch to C++17 for SIP and Shiboken (`#135 `_) diff --git a/CODEOWNERS b/CODEOWNERS deleted file mode 100644 index 2a976b9..0000000 --- a/CODEOWNERS +++ /dev/null @@ -1,2 +0,0 @@ -# This file was generated by https://github.com/audrow/update-ros2-repos -* @sloretz diff --git a/cmake/shiboken_helper.cmake b/cmake/shiboken_helper.cmake index 14dae5e..7624157 100644 --- a/cmake/shiboken_helper.cmake +++ b/cmake/shiboken_helper.cmake @@ -21,6 +21,12 @@ if(__PYTHON_QT_BINDING_SHIBOKEN_HELPER_INCLUDED) endif() set(__PYTHON_QT_BINDING_SHIBOKEN_HELPER_INCLUDED TRUE) +# In CMake 3.27 and later, FindPythonInterp and FindPythonLibs are deprecated. +# However, Shiboken2 as packaged in Ubuntu 24.04 still use them, so set CMP0148 to +# "OLD" to silence this warning. +if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.27.0") + cmake_policy(SET CMP0148 OLD) +endif() find_package(Shiboken2 QUIET) if(Shiboken2_FOUND) message(STATUS "Found Shiboken2 version ${Shiboken2_VERSION}") diff --git a/package.xml b/package.xml index 0993696..80c6fc0 100644 --- a/package.xml +++ b/package.xml @@ -1,6 +1,6 @@ python_qt_binding - 2.2.0 + 2.2.1 This stack provides Python bindings for Qt. There are two providers: pyside and pyqt. PySide2 is available under