From 5888b4cbdf5db59c1b48b500495f20ec607c3836 Mon Sep 17 00:00:00 2001 From: singhk Date: Wed, 30 Nov 2022 14:56:07 +0530 Subject: [PATCH] Restrict pyvmomi dependency to 7.0.3 in setup.py and requirements files Signed-off-by: singhk --- requirements.txt | 2 +- requirements_pypi.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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()),