diff --git a/samples/python/classification_sample_async/requirements.txt b/samples/python/classification_sample_async/requirements.txt index 15a866656e2b..2eeaf8621e5b 100644 --- a/samples/python/classification_sample_async/requirements.txt +++ b/samples/python/classification_sample_async/requirements.txt @@ -1 +1,2 @@ -opencv-python>=4.5 +opencv-python>=4.5; python_version != "3.11" +opencv-python>=4.6; python_version == "3.11" \ No newline at end of file diff --git a/samples/python/hello_classification/requirements.txt b/samples/python/hello_classification/requirements.txt index 15a866656e2b..e3f526286792 100644 --- a/samples/python/hello_classification/requirements.txt +++ b/samples/python/hello_classification/requirements.txt @@ -1 +1,2 @@ -opencv-python>=4.5 +opencv-python>=4.5; python_version != "3.11" +opencv-python>=4.6; python_version == "3.11" diff --git a/samples/python/hello_reshape_ssd/requirements.txt b/samples/python/hello_reshape_ssd/requirements.txt index 15a866656e2b..e3f526286792 100644 --- a/samples/python/hello_reshape_ssd/requirements.txt +++ b/samples/python/hello_reshape_ssd/requirements.txt @@ -1 +1,2 @@ -opencv-python>=4.5 +opencv-python>=4.5; python_version != "3.11" +opencv-python>=4.6; python_version == "3.11" diff --git a/tests/constraints.txt b/tests/constraints.txt index 5f1d59bc9015..0dd63df35b86 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -12,7 +12,8 @@ wheel>=0.38.1 defusedxml>=0.7.1 tensorflow>=2.5,<2.21.0 requests>=2.25.1 -opencv-python>=4.5 +opencv-python>=4.5; python_version != "3.11" +opencv-python>=4.6; python_version == "3.11" paddlepaddle==2.6.2 protobuf>=3.18.1,<7.0.0 py>=1.9.0