diff --git a/README.md b/README.md index ed82f034..6957c62f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The samples have been developed to work with python 3.8+ ## Supported OnPrem vCenter Releases vCenter 6.5, 6.7, 7.0, 7.0U1, 7.0U2 and 7.0U2 mp1, 7.0U3, 7.0.3.2 -Certain APIs and samples that are introduced in 6.5 release, such as vCenter, Virtual Machine and Appliance Management. Please refer to the notes in each sample for detailed compatibility information. +Certain APIs and samples that are introduced in 6.5 release, such as vCenter, Virtual Machine and Appliance Management. Please refer to the notes in each sample for detailed compatibility information. ## Supported NSX-T Releases NSX-T 2.2 - 4.0 and VMC 1.7 - 1.20 @@ -34,15 +34,13 @@ VMC M20 (1.20) ([Release Notes](https://docs.vmware.com/en/VMware-Cloud-on-AWS/0 ### Prepare a Python Development Environment -We recommend you to install latest [Python](http://docs.python-guide.org/en/latest/starting/installation/) and -[pip](https://pypi.python.org/pypi/pip/) on your system. +We recommend you to install latest [Python](http://docs.python-guide.org/en/latest/starting/installation/) and [pip](https://pypi.python.org/pypi/pip/) on your system. A Python virtual environment is also highly recommended. -* [Install a virtual env for Python 2](https://virtualenv.pypa.io/en/stable/) * [Install a virtual env for Python 3](https://docs.python.org/3/tutorial/venv.html) ### Installing Required Python Packages -SDK package installation commands may differ depending on the environment where it is being installed. The three installation options provided below are for different environments. +SDK package installation commands may differ depending on the environment where it is being installed. The three installation options provided below are for different environments. *pip* and *setuptools* are common requirements for these installation types, upgrade to the latest *pip* and *setuptools*. **NOTE:** The SDK also requires OpenSSL 1.0.1+ in order to support TLS1.1 & 1.2 @@ -54,14 +52,10 @@ Install/Update latest pip from PyPI ```cmd pip install --upgrade pip ``` -Install/Update setuptools to version 62.0.0 for python version > 3.6 +Install/Update setuptools to version 62.0.0 ```cmd pip install --upgrade setuptools==62.0.0 ``` -for older python versions Install/Update setuptools to version 36.2.0 -```cmd -pip install --upgrade setuptools==36.2.0 -``` Install SDK packages from Github. ```cmd pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git diff --git a/lib/src/vapi-client-bindings/vapi_client_bindings-4.0.0.zip b/lib/src/vapi-client-bindings/vapi_client_bindings-4.0.0.zip index 61a0714e..251e6c15 100644 Binary files a/lib/src/vapi-client-bindings/vapi_client_bindings-4.0.0.zip and b/lib/src/vapi-client-bindings/vapi_client_bindings-4.0.0.zip differ diff --git a/lib/src/vmc-client-bindings/vmc_client_bindings-1.61.0.zip b/lib/src/vmc-client-bindings/vmc_client_bindings-1.61.0.zip index a268895b..0571daf9 100644 Binary files a/lib/src/vmc-client-bindings/vmc_client_bindings-1.61.0.zip and b/lib/src/vmc-client-bindings/vmc_client_bindings-1.61.0.zip differ diff --git a/lib/src/vmc-draas-client-bindings/vmc_draas_client_bindings-1.20.0.zip b/lib/src/vmc-draas-client-bindings/vmc_draas_client_bindings-1.20.0.zip index 40933a1b..99ccd074 100644 Binary files a/lib/src/vmc-draas-client-bindings/vmc_draas_client_bindings-1.20.0.zip and b/lib/src/vmc-draas-client-bindings/vmc_draas_client_bindings-1.20.0.zip differ diff --git a/requirements.txt b/requirements.txt index 426fc0e3..5f45f676 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,17 +2,11 @@ lxml >= 4.3.0 pyVmomi >= 6.7 six (>=1.12) -###### Different dependency requirements for different python version ###### -pyOpenSSL (==19.1.0); python_version <= "3.6" -cryptography (<3.0,>=2.8); python_version <= "3.6" -setuptools (==36.2.0); python_version <= "3.6" -requests (==2.21.0); python_version <= "3.6" -idna (>=2.5,<2.9); python_version <= "3.6" -requests (==2.27.1); python_version > "3.6" -pyOpenSSL (==22.0.0); python_version > "3.6" -cryptography (==36.0.0); python_version > "3.6" -setuptools (==62.0.0); python_version > "3.6" +requests (==2.27.1) +pyOpenSSL (==22.0.0) +cryptography (==36.0.0) +setuptools (==62.0.0) ###### SDK requirements ###### vapi-client-bindings == 4.0.0 vmc-client-bindings diff --git a/requirements_pypi.txt b/requirements_pypi.txt index f2041fd0..0cc201d3 100644 --- a/requirements_pypi.txt +++ b/requirements_pypi.txt @@ -3,14 +3,7 @@ lxml >= 4.3.0 pyVmomi >= 6.7 six (>=1.12) -###### Different dependency requirements for different python version ###### -pyOpenSSL (==19.1.0); python_version <= "3.6" -cryptography (<3.0,>=2.8); python_version <= "3.6" -setuptools (==36.2.0); python_version <= "3.6" -requests (==2.21.0); python_version <= "3.6" -idna (>=2.5,<2.9); python_version <= "3.6" - -requests (==2.27.1); python_version > "3.6" -pyOpenSSL (==22.0.0); python_version > "3.6" -cryptography (==36.0.0); python_version > "3.6" -setuptools (==62.0.0); python_version > "3.6" +requests (==2.27.1) +pyOpenSSL (==22.0.0) +cryptography (==36.0.0) +setuptools (==62.0.0)