Open krystian-w-fabres opened 11 months ago
Hi @krystian-w-fabres Find similar issue https://github.com/Azure/azure-cli/issues/25188. | ||
---|---|---|
Issue title | rdbms-connect install fails with pip status code 2 | |
Create time | 2023-01-20 | |
Comment number | 5 |
Possible solution:
The issue is that the rdbms-connect
extension fails to install with pip status code 2. The error message indicates that the module poetry
was not found. Manually installing poetry with pip install poetry
fixed the bug.
However, it seems that this issue is not reproducible on all environments. One user reported that they were able to install the extension without error on MacOS 13.1 ARM64, and they did not have poetry
installed in Python.
Therefore, if you encounter this issue, you can try installing poetry
with pip install poetry
as a workaround.
Please confirm if this resolves your issue.
Thank you for opening this issue, we will look into it.
The bundled Python is bumped to 3.11 in 2.54.0.
rdbms-connect 1.0.3
requires setproctitle (~=1.2.2)
, which does not provide a wheel for python 3.11.
I think it should update the dependency to setproctitle~=1.3.3
.
I can't find a workaround for this.
@alanenriqueo for awareness. rdbms-connect
does not work on Windows.
The bundled Python is bumped to 3.11 in 2.54.0.
rdbms-connect 1.0.3
requiressetproctitle (~=1.2.2)
, which does not provide a wheel for python 3.11. I think it should update the dependency tosetproctitle~=1.3.3
.I can't find a workaround for this.
@alanenriqueo for awareness.
rdbms-connect
does not work on Windows.
Fix for this https://github.com/Azure/azure-cli-extensions/pull/7138, is currently blocked due to https://github.com/dbcli/mycli/issues/1139.
@ambrahma Is this still blocked as noted above? I'm experiencing the same issue with Azure CLI 2.59.0 (on Windows). I'm not specifying a version in the command.
@ambrahma Is this still blocked as noted above? I'm experiencing the same issue with Azure CLI 2.59.0 (on Windows). I'm not specifying a version in the command.
My PR to fix this has been checked-in https://github.com/Azure/azure-cli-extensions/pull/7138, and will be released as part of upcoming milestone
The issue is present in: azure-cli 2.61.0
core 2.61.0 telemetry 1.1.0
Dependencies: msal 1.28.0 azure-mgmt-resource 23.1.1
on macos
I guess I'm facing a related problem. Windows 11, az 2.62.0
az extension add --name azure-devops
An error occurred. Pip failed with status code 1. Use --debug for more information.
Describe the bug
Adding the extension
rdbms-connect
fails in an Azure CLI task in a release pipeline.Related command
az extension add --name rdbms-connect --version 1.0.3
Errors
Issue script & Debug output
Expected behavior
Extension should add without fail.
Environment Summary
Additional context
The command ran fine with Azure CLI version 2.53.1. The error seems the simillar to those described here:
25869
25067
However the workarounds provided either don't work (install
setuptools
) or were already present (specify version ofrdbms-connect
). Our hotfix was to install a previous version of Azure CLI before running any commands:python -m pip install azure-cli==2.50.0
(trying to install version 2.53.1 returned an error message that the newest available version was 2.50.0 for some reason?). This is not something we would like to have in our pipeline obviously, also it increases the time it takes to run the pipeline by around 5 minutes.