-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to install by poetry
.
#326
Comments
Installation using Poetry is currently not tested/supported. |
I hit the same issue. I can avoid it by the following command
|
Any chance of getting this to be supported?? |
Sorry! Not in immediate future. I'm closing this issue as not planned. Can you please try the workaround mentioned by @ttanigaki and see if it helps? |
Closing this, as there is no near term plan to fix this issue. |
@ttanigaki @jobingeo
I search this module and found out that I can only get the newer one. (link here)
Will this have any effect? |
The vapi-client-bindings lib you see in pypi repo is a dummy one. We just reserved it in PyPi for the future onboarding of SDK libs. For now, please don't rely on these libs from PyPi. Please use these libs locally following the SDK installation instruction here. |
Maybe this can be useful for other poetry users. For me, with poetry 1.3 I can do For poetry 1.1 I have to do add all the dependencies using In my [tool.poetry.dependencies]
# vsphere-automation-sdk work around
vsphere-automation-sdk = {url = "https://github.com/vmware/vsphere-automation-sdk-python/archive/refs/tags/v8.0.0.1.tar.gz"}
vmc-draas-client-bindings = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-draas-client-bindings/vmc_draas_client_bindings-1.20.0-py2.py3-none-any.whl"}
vapi-runtime = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.37.0-py2.py3-none-any.whl"}
vapi-common-client = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.37.0-py2.py3-none-any.whl"}
nsx-policy-python-sdk = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-4.0.1.0.0-py2.py3-none-any.whl"}
nsx-python-sdk = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-4.0.1.0.0-py2.py3-none-any.whl"}
nsx-vmc-aws-integration-python-sdk = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-4.0.1.0.0-py2.py3-none-any.whl"}
nsx-vmc-policy-python-sdk = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-4.0.1.0.0-py2.py3-none-any.whl"}
vapi-client-bindings = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-4.0.0-py2.py3-none-any.whl"}
vmc-client-bindings = {url = "https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.61.0-py2.py3-none-any.whl"} |
For those interested, I added a script in this related issue to generate this dependency list. |
Describe the bug
I have tried to add and install
vsphere-automation-sdk-python
by usingpoetry
.poetry add "git+https://github.com/vmware/vsphere-automation-sdk-python.git"
However, the following error was raised:
As a result, I checked the
requirements.txt
and find out that if I addvapi-client-bindings==3.9.0
, I get the same error message.Reproduction steps
- Run poetry add. poetry add "git+https://github.com/vmware/vsphere-automation-sdk-python.git"
Expected behavior
Expected to install successful without error raised.
Additional context
No response
The text was updated successfully, but these errors were encountered: