Amend cython changes (#19514)

This commit is contained in:
Przemyslaw Wysocki
2023-08-31 14:43:28 +00:00
committed by GitHub
parent ebe1d52e31
commit d3ac00c6d2
2 changed files with 8 additions and 7 deletions
@@ -21,12 +21,13 @@ endif()
include (cmake/UseCython.cmake)
# Check Cython version
if(CYTHON_VERSION VERSION_LESS "0.29")
message(FATAL_ERROR "OpenVINO Python API needs at least Cython version 0.29, found version ${CYTHON_VERSION}")
else()
message(STATUS "Found Cython version ${CYTHON_VERSION}")
endif()
# Ticket 119312
# # Check Cython version
# if(CYTHON_VERSION VERSION_LESS "0.29")
# message(FATAL_ERROR "OpenVINO Python API needs at least Cython version 0.29, found version ${CYTHON_VERSION}")
# else()
# message(STATUS "Found Cython version ${CYTHON_VERSION}")
# endif()
set(pyversion python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
@@ -1 +1 @@
cython>=0.29.32,<=3.0.0
cython>=3.0.2