diff --git a/requirements.txt b/requirements.txt index 5f45f676..91a54bd2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ ###### Common requirements ###### lxml >= 4.3.0 -pyVmomi >= 6.7 +pyVmomi (<=7.0.3,>=6.7) six (>=1.12) requests (==2.27.1) diff --git a/requirements_pypi.txt b/requirements_pypi.txt index 0cc201d3..cceeebe7 100644 --- a/requirements_pypi.txt +++ b/requirements_pypi.txt @@ -1,7 +1,7 @@ ###### This requirements file is used for local installation where access to GitHub is restricted ###### ###### Common requirements ###### lxml >= 4.3.0 -pyVmomi >= 6.7 +pyVmomi (<=7.0.3,>=6.7) six (>=1.12) requests (==2.27.1) pyOpenSSL (==22.0.0) diff --git a/setup.py b/setup.py index 7ee44780..e29e6d43 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup(name='vSphere Automation SDK', packages=[], install_requires=[ 'lxml >= 4.3.0', - 'pyVmomi >= 6.7', + 'pyVmomi <=7.0.3,>=6.7', 'vapi-runtime @ file://localhost/{}/lib/vapi-runtime/vapi_runtime-2.37.0-py2.py3-none-any.whl'.format(os.getcwd()), 'vapi-client-bindings @ file://localhost/{}/lib/vapi-client-bindings/vapi_client_bindings-4.0.0-py2.py3-none-any.whl'.format(os.getcwd()), 'vapi-common-client @ file://localhost/{}/lib/vapi-common-client/vapi_common_client-2.37.0-py2.py3-none-any.whl'.format(os.getcwd()),