From 664c196a138dea83f13dd5cf5de9543ef7b75071 Mon Sep 17 00:00:00 2001 From: Jan Iwaszkiewicz Date: Sat, 5 Nov 2022 13:01:45 +0100 Subject: [PATCH] [PyOV] Fix wheel requirements for new package versions (#13871) * Bump pybind11 to v2.10.1 release tag * [PyOV] Fix wheel requirements for new package versions --- src/bindings/python/requirements_test.txt | 2 +- src/bindings/python/wheel/CMakeLists.txt | 2 +- src/bindings/python/wheel/requirements-dev.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bindings/python/requirements_test.txt b/src/bindings/python/requirements_test.txt index d43922864a5..415511b3c49 100644 --- a/src/bindings/python/requirements_test.txt +++ b/src/bindings/python/requirements_test.txt @@ -32,5 +32,5 @@ radon retrying tox types-pkg_resources -wheel>=0.36.2 +wheel>=0.38.1 protobuf~=3.18.1 diff --git a/src/bindings/python/wheel/CMakeLists.txt b/src/bindings/python/wheel/CMakeLists.txt index 9d4e385393d..e6ab5358d42 100644 --- a/src/bindings/python/wheel/CMakeLists.txt +++ b/src/bindings/python/wheel/CMakeLists.txt @@ -59,7 +59,7 @@ execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import wheel.vendored.packaging OUTPUT_VARIABLE PYTHON_TAG OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import wheel.bdist_wheel ; print(f'{wheel.bdist_wheel.get_abi_tag()}')" OUTPUT_VARIABLE ABI_TAG OUTPUT_STRIP_TRAILING_WHITESPACE) -execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import wheel.vendored.packaging.tags as tags ; print(f'{next(tags._platform_tags())}')" +execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import wheel.vendored.packaging.tags as tags ; print(f'{next(tags.platform_tags())}')" OUTPUT_VARIABLE PLATFORM_TAG OUTPUT_STRIP_TRAILING_WHITESPACE) # defines wheel architecture part of `PLATFORM_TAG` diff --git a/src/bindings/python/wheel/requirements-dev.txt b/src/bindings/python/wheel/requirements-dev.txt index d853941633f..780102df154 100644 --- a/src/bindings/python/wheel/requirements-dev.txt +++ b/src/bindings/python/wheel/requirements-dev.txt @@ -1,3 +1,3 @@ setuptools>=53.0.0 -wheel>=0.36.2 +wheel>=0.38.1 patchelf; sys_platform == 'linux' and platform_machine == 'x86_64'