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
745 stars 313 forks source link

samples/vsphere/common/sso.py broken with pyVmomi version 8.0.0.1 #349

Closed crashingmotorbikes closed 1 year ago

crashingmotorbikes commented 1 year ago

Describe the bug

Line 31 of samples/vsphere/common/sso.py performs an import of ThumbprintMismatchException from pyVmomi. In the latest version of pyVmomi, this cannot be found for import.

Reproduction steps

1.pip install pyVmomi 2.Set PYTHONPATH to reference samples 3.Try to import sso from samples.vsphere.common ...

Expected behavior

Would expect sso to import fine.

Additional context

No response

crashingmotorbikes commented 1 year ago

350

shwetapurohit commented 1 year ago

Hi @crashingmotorbikes : This is an incompatibility problem with pyvmomi 8.0.0.1. The SDK will only be compatible with versions of pyVmomi up to 7.0.3 while we are working on the pyVmomi fix.

Thanks!

kunal-pmj commented 1 year ago

Issues has been fixed with release : https://github.com/vmware/vsphere-automation-sdk-python/releases/tag/v8.0.1.0