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

setup.py still referenced non existing file nsx_python_sdk-3.1.5.0.0-py2.py3-none-any.whl #324

Closed sleif closed 2 years ago

sleif commented 2 years ago

Describe the bug

setup.py still referenced non existing file nsx_python_sdk-3.1.5.0.0-py2.py3-none-any.whl

But nsx_python_sdk-3.1.5.0.0-py2.py3-none-any.whl no longer exists in the repo.

The new file is: lib/nsx-python-sdk/nsx_python_sdk-4.0.0.0.0-py2.py3-none-any.whl

Best regards, Sebastian

Reproduction steps

# pip3 install git+https://github.com/vmware/vsphere-automation-sdk-python.git
Collecting git+https://github.com/vmware/vsphere-automation-sdk-python.git
  Cloning https://github.com/vmware/vsphere-automation-sdk-python.git to /tmp/pip-req-build-qr_11prt
  Running command git clone -q https://github.com/vmware/vsphere-automation-sdk-python.git /tmp/pip-req-build-qr_11prt
Collecting lxml>=4.3.0
  Using cached lxml-4.9.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.4 MB)
Collecting pyVmomi>=6.7
  Using cached pyvmomi-7.0.3.tar.gz (592 kB)
Processing //tmp/pip-req-build-qr_11prt/lib/vapi-runtime/vapi_runtime-2.34.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-qr_11prt/lib/vapi-client-bindings/vapi_client_bindings-3.9.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-qr_11prt/lib/vapi-common-client/vapi_common_client-2.34.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-qr_11prt/lib/vmc-client-bindings/vmc_client_bindings-1.60.0-py2.py3-none-any.whl
Processing //tmp/pip-req-build-qr_11prt/lib/nsx-python-sdk/nsx_python_sdk-3.1.5.0.0-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/tmp/pip-req-build-qr_11prt/lib/nsx-python-sdk/nsx_python_sdk-3.1.5.0.0-py2.py3-none-any.whl'

Expected behavior

working pip install

Additional context

No response

aagrawal3 commented 2 years ago

https://github.com/vmware/vsphere-automation-sdk-python/pull/325