vmware / vsphere-automation-sdk-python

Python samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
MIT License
748 stars 311 forks source link

setup.py version number != release version #200

Closed JosephHobbs closed 8 months ago

JosephHobbs commented 4 years ago

While installing the SDK for Python I noticed that the 'release' version here (v6.9.1) does not match the version reported via pip (1.5.0). Is this intentional?

# pip list | grep vSphere
vSphere-Automation-SDK             1.5.0              /opt/ansible/venv/blah/src/vsphere-automation-sdk

contents of setup.py within tag v6.9.1.

setup(name='vSphere Automation SDK',
      version='1.5.0',

Should these versions be kept in sync?

Thanks!

anusha94 commented 3 years ago

@JosephHobbs

I think they should be in sync. Are you seeing a mismatch? I am not sure if I understood this correctly.

gpettey-ercot commented 2 years ago

The mismatch in 2019-12 was v6.9.1 -> 1.5.0.

# pip install git+https://github.com/vmware/vsphere-automation-sdk-python.git@v7.0.3.0
# pip list | grep vSp
vSphere-Automation-SDK             1.69.0

Is the git tag intentionally not aligned with the pip-reported version?

kunalpmj commented 8 months ago

The installed versions match the version listed from pip