Skip to content

Commit 849ecd8

Browse files
committed
Remove Python 2.x reference.
Signed-off-by: Ankit Agrawal <[email protected]>
1 parent 635750b commit 849ecd8

File tree

6 files changed

+12
-31
lines changed

6 files changed

+12
-31
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The samples have been developed to work with python 3.8+
2222

2323
## Supported OnPrem vCenter Releases
2424
vCenter 6.5, 6.7, 7.0, 7.0U1, 7.0U2 and 7.0U2 mp1, 7.0U3, 7.0.3.2
25-
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.
25+
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.
2626

2727
## Supported NSX-T Releases
2828
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
3434

3535
### Prepare a Python Development Environment
3636

37-
We recommend you to install latest [Python](http://docs.python-guide.org/en/latest/starting/installation/) and
38-
[pip](https://pypi.python.org/pypi/pip/) on your system.
37+
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.
3938

4039
A Python virtual environment is also highly recommended.
41-
* [Install a virtual env for Python 2](https://virtualenv.pypa.io/en/stable/)
4240
* [Install a virtual env for Python 3](https://docs.python.org/3/tutorial/venv.html)
4341

4442
### Installing Required Python Packages
45-
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.
43+
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.
4644
*pip* and *setuptools* are common requirements for these installation types, upgrade to the latest *pip* and *setuptools*.
4745

4846
**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
5452
```cmd
5553
pip install --upgrade pip
5654
```
57-
Install/Update setuptools to version 62.0.0 for python version > 3.6
55+
Install/Update setuptools to version 62.0.0
5856
```cmd
5957
pip install --upgrade setuptools==62.0.0
6058
```
61-
for older python versions Install/Update setuptools to version 36.2.0
62-
```cmd
63-
pip install --upgrade setuptools==36.2.0
64-
```
6559
Install SDK packages from Github.
6660
```cmd
6761
pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git
Binary file not shown.
Binary file not shown.
Binary file not shown.

requirements.txt

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22
lxml >= 4.3.0
33
pyVmomi >= 6.7
44
six (>=1.12)
5-
###### Different dependency requirements for different python version ######
6-
pyOpenSSL (==19.1.0); python_version <= "3.6"
7-
cryptography (<3.0,>=2.8); python_version <= "3.6"
8-
setuptools (==36.2.0); python_version <= "3.6"
9-
requests (==2.21.0); python_version <= "3.6"
10-
idna (>=2.5,<2.9); python_version <= "3.6"
115

12-
requests (==2.27.1); python_version > "3.6"
13-
pyOpenSSL (==22.0.0); python_version > "3.6"
14-
cryptography (==36.0.0); python_version > "3.6"
15-
setuptools (==62.0.0); python_version > "3.6"
6+
requests (==2.27.1)
7+
pyOpenSSL (==22.0.0)
8+
cryptography (==36.0.0)
9+
setuptools (==62.0.0)
1610
###### SDK requirements ######
1711
vapi-client-bindings == 4.0.0
1812
vmc-client-bindings

requirements_pypi.txt

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@
33
lxml >= 4.3.0
44
pyVmomi >= 6.7
55
six (>=1.12)
6-
###### Different dependency requirements for different python version ######
7-
pyOpenSSL (==19.1.0); python_version <= "3.6"
8-
cryptography (<3.0,>=2.8); python_version <= "3.6"
9-
setuptools (==36.2.0); python_version <= "3.6"
10-
requests (==2.21.0); python_version <= "3.6"
11-
idna (>=2.5,<2.9); python_version <= "3.6"
12-
13-
requests (==2.27.1); python_version > "3.6"
14-
pyOpenSSL (==22.0.0); python_version > "3.6"
15-
cryptography (==36.0.0); python_version > "3.6"
16-
setuptools (==62.0.0); python_version > "3.6"
6+
requests (==2.27.1)
7+
pyOpenSSL (==22.0.0)
8+
cryptography (==36.0.0)
9+
setuptools (==62.0.0)

0 commit comments

Comments
 (0)