-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
OpenVINO Version
2025.2.0 - c01cd93
Operating System
macOS Systems for Apple Silicon
Device used for inference
CPU
Framework
None
Model used
No response
Issue description
I've been trying to compile OpenVINO's python3 distwheel but it seems that the checks for a python tag are faulty on the latest version of wheel (0.46.0+). wheel.vendored.*
got removed on this commit and now the checks for the python tag that we do here and here don't work anymore
Step-by-step reproduction
$ docker run --rm -it cgr.dev/chainguard/wolfi-base:latest
# inside the container:
# apk add python3 py3-pip git cmake build-base scons python3-dev patchelf
# pip install wheel==0.46.0
# git clone https://github.com/openvinotoolkit/openvino.git -b 2025.2.0 --recurse-submodules # commit should be c01cd93e24d1cd78bfbb401eed51c08fb93e0816
# cmake -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DPython3_EXECUTABLE=$(which python3)
Relevant log output
5cf5006d0d57:~/openvino# cmake -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DPython3_EXECUTABLE=$(which python3)
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- OpenVINO version is 2025.2.0 (Build 19140)
CMake Warning at cmake/developer_package/clang_format/clang_format.cmake:22 (message):
Supported clang-format-15 is not found!
Call Stack (most recent call first):
cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:310 (include)
CMakeLists.txt:58 (find_package)
CMake Warning at cmake/developer_package/ncc_naming_style/ncc_naming_style.cmake:38 (message):
Cannot suggest clang package for python 3.13
Call Stack (most recent call first):
cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:312 (include)
CMakeLists.txt:58 (find_package)
CMake Warning at cmake/developer_package/ncc_naming_style/ncc_naming_style.cmake:91 (message):
clang- libclang--dev are not found (required for ncc naming style check)
Call Stack (most recent call first):
cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:312 (include)
CMakeLists.txt:58 (find_package)
-- OpenVINO Runtime enabled features:
--
-- CI_BUILD_NUMBER: 2025.2.0-19140-c01cd93e24d
-- ENABLE_LTO = OFF
-- OS_FOLDER = OFF
-- USE_BUILD_TYPE_SUBFOLDER = ON
-- CMAKE_COMPILE_WARNING_AS_ERROR = OFF
-- ENABLE_QSPECTRE = OFF
-- ENABLE_INTEGRITYCHECK = OFF
-- ENABLE_SANITIZER = OFF
-- ENABLE_UB_SANITIZER = OFF
-- ENABLE_THREAD_SANITIZER = OFF
-- ENABLE_COVERAGE = OFF
-- ENABLE_API_VALIDATOR = OFF
-- ENABLE_PDB_IN_RELEASE = OFF
-- ENABLE_SSE42 = OFF
-- ENABLE_AVX2 = OFF
-- ENABLE_AVX512F = OFF
-- ENABLE_NEON_FP16 = ON
-- ENABLE_SVE = ON
-- BUILD_SHARED_LIBS = ON
-- ENABLE_LIBRARY_VERSIONING = ON
-- ENABLE_FASTER_BUILD = OFF
-- ENABLE_CPPLINT = ON
-- ENABLE_CPPLINT_REPORT = OFF
-- ENABLE_CLANG_FORMAT = OFF
-- ENABLE_CLANG_TIDY = OFF
-- ENABLE_NCC_STYLE = OFF
-- ENABLE_UNSAFE_LOCATIONS = OFF
-- ENABLE_FUZZING = OFF
-- ENABLE_PROXY = ON
-- ENABLE_INTEL_CPU = ON
-- ENABLE_ARM_COMPUTE_CMAKE = OFF
-- ENABLE_TESTS = OFF
-- ENABLE_INTEL_GPU = OFF
-- ENABLE_ONEDNN_FOR_GPU = OFF
-- ENABLE_INTEL_NPU = OFF
-- ENABLE_INTEL_NPU_INTERNAL = OFF
-- ENABLE_DEBUG_CAPS = OFF
-- ENABLE_NPU_DEBUG_CAPS = OFF
-- ENABLE_GPU_DEBUG_CAPS = OFF
-- ENABLE_CPU_DEBUG_CAPS = OFF
-- ENABLE_SNIPPETS_DEBUG_CAPS = OFF
-- ENABLE_SNIPPETS_LIBXSMM_TPP = OFF
-- ENABLE_PROFILING_ITT = OFF
-- ENABLE_PROFILING_FILTER = ALL
-- ENABLE_PROFILING_FIRST_INFERENCE = ON
-- SELECTIVE_BUILD = OFF
-- ENABLE_DOCS = OFF
-- ENABLE_PKGCONFIG_GEN = ON
-- THREADING = TBB
-- ENABLE_INTEL_OPENMP = OFF
-- ENABLE_TBBBIND_2_5 = ON
-- ENABLE_TBB_RELEASE_ONLY = ON
-- ENABLE_MULTI = ON
-- ENABLE_AUTO = ON
-- ENABLE_AUTO_BATCH = ON
-- ENABLE_HETERO = ON
-- ENABLE_TEMPLATE = ON
-- ENABLE_PLUGINS_XML = OFF
-- ENABLE_FUNCTIONAL_TESTS = OFF
-- ENABLE_SAMPLES = ON
-- ENABLE_OV_ONNX_FRONTEND = ON
-- ENABLE_OV_PADDLE_FRONTEND = ON
-- ENABLE_OV_IR_FRONTEND = ON
-- ENABLE_OV_PYTORCH_FRONTEND = ON
-- ENABLE_OV_JAX_FRONTEND = ON
-- ENABLE_OV_IR_FRONTEND = ON
-- ENABLE_OV_TF_FRONTEND = ON
-- ENABLE_OV_TF_LITE_FRONTEND = ON
-- ENABLE_SNAPPY_COMPRESSION = ON
-- ENABLE_STRICT_DEPENDENCIES = OFF
-- ENABLE_SYSTEM_TBB = OFF
-- ENABLE_SYSTEM_PUGIXML = OFF
-- ENABLE_SYSTEM_FLATBUFFERS = ON
-- ENABLE_SYSTEM_OPENCL = OFF
-- ENABLE_SYSTEM_PROTOBUF = OFF
-- ENABLE_SYSTEM_SNAPPY = OFF
-- ENABLE_SYSTEM_LEVEL_ZERO = OFF
-- ENABLE_JS = ON
-- ENABLE_OPENVINO_DEBUG = OFF
--
-- CMAKE_VERSION ......................... 4.0.3
-- CMAKE_CROSSCOMPILING .................. FALSE
-- OpenVINO_SOURCE_DIR ................... /root/openvino
-- OpenVINO_BINARY_DIR ................... /root/openvino
-- CMAKE_GENERATOR ....................... Unix Makefiles
-- CPACK_GENERATOR ....................... TGZ
-- CMAKE_C_COMPILER_ID ................... GNU
-- CMAKE_CXX_COMPILER_ID ................. GNU
-- CMAKE_CXX_STANDARD .................... 17
-- CMAKE_BUILD_TYPE ...................... Release
-- LIBC_VERSION .......................... 2.41
-- STDLIB ................................ GNU
-- Protocol Buffers Configuring...
--
-- 3.21.12.0
-- Configuration script parsing status [
-- Description : Protocol Buffers
-- Version : 3.21.12.0 (3.21.12)
-- Contact : [email protected]
-- ]
-- Protocol Buffers Configuring done
-- Proceeding with version: 24.3.25.0
-- CMAKE_CXX_FLAGS: -Wsuggest-override -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override
CMake Warning (dev) at thirdparty/onnx/onnx/CMakeLists.txt:106 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
Generated: /root/openvino/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.proto
Generated: /root/openvino/thirdparty/onnx/onnx/onnx/onnx-operators_openvino_onnx-ml.proto
Generated: /root/openvino/thirdparty/onnx/onnx/onnx/onnx-data_openvino_onnx.proto
--
-- ******** Summary ********
-- CMake version : 4.0.3
-- CMake command : /usr/bin/cmake
-- System : Linux
-- C++ compiler : /usr/local/bin/c++
-- C++ compiler version : 15.1.0
-- CXX flags : -Wsuggest-override -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override -Wnon-virtual-dtor
-- Build type : Release
-- Compile definitions : OV_BUILD_POSTFIX="";OV_NATIVE_PARENT_PROJECT_ROOT_DIR="openvino";__STDC_FORMAT_MACROS
-- CMAKE_PREFIX_PATH :
-- CMAKE_INSTALL_PREFIX : /usr/local
-- CMAKE_MODULE_PATH :
--
-- ONNX version : 1.17.0
-- ONNX NAMESPACE : openvino_onnx
-- ONNX_USE_LITE_PROTO : ON
-- USE_PROTOBUF_SHARED_LIBS : OFF
-- Protobuf_USE_STATIC_LIBS : ON
-- ONNX_DISABLE_EXCEPTIONS : OFF
-- ONNX_DISABLE_STATIC_REGISTRATION : OFF
-- ONNX_WERROR : OFF
-- ONNX_BUILD_TESTS : OFF
-- ONNX_BUILD_SHARED_LIBS :
-- BUILD_SHARED_LIBS : OFF
--
-- Protobuf compiler :
-- Protobuf includes :
-- Protobuf libraries :
-- BUILD_ONNX_PYTHON : OFF
-- Using the multi-header code from /root/openvino/thirdparty/json/nlohmann_json/include/
-- TBB (2021.13.0) is found at /root/openvino/temp/tbb/lib/cmake/TBB
-- Static tbbbind_2_5 package usage is disabled, since oneTBB (ver. 2021.13.0) provides dynamic TBBBind 2.5+
-- DNNL_TARGET_ARCH: AARCH64
-- DNNL_LIBRARY_NAME: openvino_onednn_cpu
-- Configure to build /root/openvino/src/plugins/intel_cpu/thirdparty/ComputeLibrary
-- Arm Compute Library: arm_compute::arm_compute;arm_compute::half
-- Arm Compute Library headers: $<TARGET_PROPERTY:arm_compute::arm_compute,INTERFACE_INCLUDE_DIRECTORIES>;$<TARGET_PROPERTY:arm_compute::half,INTERFACE_INCLUDE_DIRECTORIES>
-- Enabled testing coverage: CI
-- Enabled workload: INFERENCE
-- Enabled primitives: CONVOLUTION;DECONVOLUTION;CONCAT;LRN;INNER_PRODUCT;MATMUL;POOLING;REDUCTION;REORDER;RNN;SOFTMAX
-- Enabled primitive CPU ISA: ALL
-- Enabled primitive GPU ISA: ALL
-- Enabled GeMM kernels ISA: SSE41
-- Primitive cache is enabled
-- Python3 executable: /usr/bin/python3
-- Python3 version: 3.13.5
-- Python3 interpreter ID: Python
-- Python3 SOABI: cpython-313-aarch64-linux-gnu
-- Python3 include dirs: /usr/include/python3.13
-- Python3 libraries:
CMake Warning at cmake/developer_package/python_requirements.cmake:118 (message):
Python requirement file
/root/openvino/src/bindings/python/wheel/requirements-dev.txt is not
installed,
Call Stack (most recent call first):
src/bindings/python/CMakeLists.txt:143 (ov_check_pip_packages)
-- pybind11 v2.13.5
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
Traceback (most recent call last):
File "<string>", line 1, in <module>
import wheel.vendored.packaging.tags as tags ; print(f'{tags.interpreter_name()}{tags.interpreter_version()}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'wheel.vendored'
CMake Error at src/bindings/python/wheel/CMakeLists.txt:12 (message):
Failed to detect Python Tag via wheel.vendored.packaging.tags. Please,
check 'wheel' dependency version update
-- Configuring incomplete, errors occurred!
Issue submission checklist
- I'm reporting an issue. It's not a question.
- I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
- There is reproducer code and related data files such as images, videos, models, etc.