diff --git a/docs/source/conf.py b/docs/source/conf.py index 32bc942b667..61741e262b6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,6 +11,13 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # +import os +import sys + +sys.path.insert(0, os.path.abspath("../../src")) + +from otx import __version__ + # ruff: noqa # -- Project information ----------------------------------------------------- # @@ -18,7 +25,7 @@ project = 'OpenVINO™ Training Extensions' copyright = '2023, OpenVINO™ Training Extensions Contributors' author = 'OpenVINO™ Training Extensions Contributors' -release = '1.4.2' +release = __version__ # -- General configuration --------------------------------------------------- # diff --git a/src/otx/__init__.py b/src/otx/__init__.py index 1eb8b4ec35d..78cf2f8eb22 100644 --- a/src/otx/__init__.py +++ b/src/otx/__init__.py @@ -3,5 +3,5 @@ # Copyright (C) 2021-2023 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -__version__ = "1.4.2rc4" +__version__ = "1.4.2rc5" # NOTE: Sync w/ src/otx/api/usecases/exportable_code/demo/requirements.txt on release diff --git a/src/otx/api/usecases/exportable_code/demo/requirements.txt b/src/otx/api/usecases/exportable_code/demo/requirements.txt index 449be47c3ed..c6a0e4f6396 100644 --- a/src/otx/api/usecases/exportable_code/demo/requirements.txt +++ b/src/otx/api/usecases/exportable_code/demo/requirements.txt @@ -1,4 +1,4 @@ openvino==2023.0 openvino-model-api==0.1.3 -otx==1.4.2rc4 +otx==1.4.2rc5 numpy>=1.21.0,<=1.23.5 # np.bool was removed in 1.24.0 which was used in openvino runtime