-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Describe the bug
On macOS 26, unable to install rdbms-connect extension.
Related command
az extension add --name rdbms-connect --debug
Errors
cli.azure.cli.core.azclierror: An error occurred. Pip failed with status code 1. Use --debug for more information.
az_command_data_logger: An error occurred. Pip failed with status code 1. Use --debug for more information.
Issue script & Debug output
cli.knack.cli: Command arguments: ['extension', 'add', '--name', 'rdbms-connect', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x1074d1d00>, <function OutputProducer.on_global_arguments at 0x107754180>, <function CLIQuery.on_global_arguments at 0x10777e520>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'extension': ['azure.cli.command_modules.extension']
cli.azure.cli.core: Loading command modules...
cli.azure.cli.core: Loaded command modules in parallel:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: extension 0.001 1 7
cli.azure.cli.core: Total (1) 0.002 1 7
cli.azure.cli.core: Loaded 1 groups, 7 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : extension add
cli.azure.cli.core: Command table: extension add
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x10871af20>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/Users/dscreve/.azure/commands/2026-03-21.16-08-54.extension_add.19567.log'.
az_command_data_logger: command args: extension add --name {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x108763380>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x108763420>, <function register_cache_arguments..add_cache_arguments at 0x108763600>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x1087636a0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x107754220>, <function CLIQuery.handle_query_parameter at 0x10777e5c0>, <function register_ids_argument..parse_ids_arguments at 0x1087634c0>]
urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
urllib3.connectionpool: https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 0
urllib3.connectionpool: Starting new HTTPS connection (1): azcliextensionsync.blob.core.windows.net:443
urllib3.connectionpool: https://azcliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 4614322
cli.azure.cli.core.extension._resolve: Candidates ['rdbms_connect-0.1.0-py2.py3-none-any.whl', 'rdbms_connect-0.1.1-py2.py3-none-any.whl', 'rdbms_connect-0.1.2-py2.py3-none-any.whl', 'rdbms_connect-0.1.3-py2.py3-none-any.whl', 'rdbms_connect-0.1.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.0-py2.py3-none-any.whl', 'rdbms_connect-1.0.1-py2.py3-none-any.whl', 'rdbms_connect-1.0.2-py2.py3-none-any.whl', 'rdbms_connect-1.0.3-py2.py3-none-any.whl', 'rdbms_connect-1.0.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.5-py2.py3-none-any.whl', 'rdbms_connect-1.0.6-py2.py3-none-any.whl', 'rdbms_connect-1.0.7-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['rdbms_connect-0.1.0-py2.py3-none-any.whl', 'rdbms_connect-0.1.1-py2.py3-none-any.whl', 'rdbms_connect-0.1.2-py2.py3-none-any.whl', 'rdbms_connect-0.1.3-py2.py3-none-any.whl', 'rdbms_connect-0.1.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.0-py2.py3-none-any.whl', 'rdbms_connect-1.0.1-py2.py3-none-any.whl', 'rdbms_connect-1.0.2-py2.py3-none-any.whl', 'rdbms_connect-1.0.3-py2.py3-none-any.whl', 'rdbms_connect-1.0.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.5-py2.py3-none-any.whl', 'rdbms_connect-1.0.6-py2.py3-none-any.whl', 'rdbms_connect-1.0.7-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['rdbms_connect-1.0.1-py2.py3-none-any.whl', 'rdbms_connect-1.0.2-py2.py3-none-any.whl', 'rdbms_connect-1.0.3-py2.py3-none-any.whl', 'rdbms_connect-1.0.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.5-py2.py3-none-any.whl', 'rdbms_connect-1.0.6-py2.py3-none-any.whl', 'rdbms_connect-1.0.7-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['rdbms_connect-1.0.1-py2.py3-none-any.whl', 'rdbms_connect-1.0.2-py2.py3-none-any.whl', 'rdbms_connect-1.0.3-py2.py3-none-any.whl', 'rdbms_connect-1.0.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.5-py2.py3-none-any.whl', 'rdbms_connect-1.0.6-py2.py3-none-any.whl', 'rdbms_connect-1.0.7-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['rdbms_connect-1.0.1-py2.py3-none-any.whl', 'rdbms_connect-1.0.2-py2.py3-none-any.whl', 'rdbms_connect-1.0.3-py2.py3-none-any.whl', 'rdbms_connect-1.0.4-py2.py3-none-any.whl', 'rdbms_connect-1.0.5-py2.py3-none-any.whl', 'rdbms_connect-1.0.6-py2.py3-none-any.whl', 'rdbms_connect-1.0.7-py2.py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Chosen {'downloadUrl': 'https://azcliprod.blob.core.windows.net/cli-extensions/rdbms_connect-1.0.7-py2.py3-none-any.whl', 'filename': 'rdbms_connect-1.0.7-py2.py3-none-any.whl', 'metadata': {'azext.minCliCoreVersion': '2.19.0', 'classifiers': ['Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'License :: OSI Approved :: MIT License'], 'extensions': {'python.details': {'contacts': [{'email': 'azpycli@microsoft.com', 'name': 'Microsoft Corporation', 'role': 'author'}], 'document_names': {'description': 'DESCRIPTION.rst'}, 'project_urls': {'Home': 'https://github.com/Azure/azure-cli-extensions/tree/main/src/rdbms-connect'}}}, 'extras': [], 'generator': 'bdist_wheel (0.30.0)', 'license': 'MIT', 'metadata_version': '2.0', 'name': 'rdbms-connect', 'run_requires': [{'requires': ['mycli (=1.27.0)', 'mycli=1.27.0', 'pgcli (==4.0.1)', 'pgcli==4.0.1', 'psycopg2 (=2.9.3)', 'psycopg2=2.9.3', 'setproctitle (=1.3.3)', 'setproctitle=1.3.3']}], 'summary': 'Support for testing connection to Azure Database for MySQL & PostgreSQL servers.', 'version': '1.0.7'}, 'sha256Digest': 'eba997d4ad5acd0bdbb80a72281c2f56e88a09b2daa9ecc20ddaefd2586f543d'}
cli.azure.cli.core.extension.operations: Extension source is url? True
cli.azure.cli.core.extension.operations: Downloading https://azcliprod.blob.core.windows.net/cli-extensions/rdbms_connect-1.0.7-py2.py3-none-any.whl to /var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl
urllib3.connectionpool: Starting new HTTPS connection (1): azcliprod.blob.core.windows.net:443
urllib3.connectionpool: https://azcliprod.blob.core.windows.net:443 "GET /cli-extensions/rdbms_connect-1.0.7-py2.py3-none-any.whl HTTP/1.1" 200 13076
cli.azure.cli.core.extension.operations: Downloaded to /var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl
cli.azure.cli.core.extension.operations: Validating the extension /var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl
cli.azure.cli.core.extension.operations: Checksum of /var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl is OK
cli.azure.cli.core.extension.operations: Validation successful on /var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl
cli.azure.cli.core.extension.operations: Linux distro check: Reading from: /etc/apt/sources.list.d/azure-cli.list
cli.azure.cli.core.extension.operations: Linux distro check: An error occurred while checking linux distribution version source list consistency.
cli.azure.cli.core.extension.operations: [Errno 2] No such file or directory: '/etc/apt/sources.list.d/azure-cli.list'
cli.azure.cli.core.extension.operations: Executing pip with args: ['install', '--target', '/Users/dscreve/.azure/cliextensions/rdbms-connect', '/var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl']
cli.azure.cli.core.extension.operations: Running: ['/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/bin/python', '-m', 'pip', 'install', '--target', '/Users/dscreve/.azure/cliextensions/rdbms-connect', '/var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl', '--disable-pip-version-check', '--no-cache-dir']
cli.azure.cli.core.extension.operations: Processing /var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl
Collecting setproctitle~=1.3.3 (from rdbms-connect==1.0.7)
Downloading setproctitle-1.3.7-cp313-cp313-macosx_11_0_arm64.whl.metadata (10 kB)
Collecting psycopg2~=2.9.3 (from rdbms-connect==1.0.7)
Downloading psycopg2-2.9.11.tar.gz (379 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting mycli~=1.27.0 (from rdbms-connect==1.0.7)
Downloading mycli-1.27.2-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting pgcli==4.0.1 (from rdbms-connect==1.0.7)
Downloading pgcli-4.0.1-py3-none-any.whl.metadata (13 kB)
Collecting pgspecial>=2.0.0 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading pgspecial-2.2.1-py3-none-any.whl.metadata (2.9 kB)
Collecting click>=4.1 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
Collecting Pygments>=2.0 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB)
Collecting prompt-toolkit<4.0.0,>=2.0.6 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading prompt_toolkit-3.0.52-py3-none-any.whl.metadata (6.4 kB)
Collecting psycopg>=3.0.14 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading psycopg-3.3.3-py3-none-any.whl.metadata (4.3 kB)
Collecting sqlparse<0.5,>=0.3.0 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading sqlparse-0.4.4-py3-none-any.whl.metadata (4.0 kB)
Collecting configobj>=5.0.6 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading configobj-5.0.9-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting pendulum>=2.1.0 (from pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading pendulum-3.2.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (6.8 kB)
Collecting cli-helpers>=2.2.1 (from cli-helpers[styles]>=2.2.1->pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading cli_helpers-2.12.0-py3-none-any.whl.metadata (2.5 kB)
Collecting cryptography>=1.0.0 (from mycli~=1.27.0->rdbms-connect==1.0.7)
Downloading cryptography-46.0.5-cp311-abi3-macosx_10_9_universal2.whl.metadata (5.7 kB)
Collecting PyMySQL>=0.9.2 (from mycli~=1.27.0->rdbms-connect==1.0.7)
Downloading pymysql-1.1.2-py3-none-any.whl.metadata (4.3 kB)
Collecting sqlglot>=5.1.3 (from mycli~=1.27.0->rdbms-connect==1.0.7)
Downloading sqlglot-30.0.3-py3-none-any.whl.metadata (24 kB)
Collecting pyperclip>=1.8.1 (from mycli~=1.27.0->rdbms-connect==1.0.7)
Downloading pyperclip-1.11.0-py3-none-any.whl.metadata (2.4 kB)
Collecting pyaes>=1.6.1 (from mycli~=1.27.0->rdbms-connect==1.0.7)
Downloading pyaes-1.6.1.tar.gz (28 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting wcwidth (from prompt-toolkit<4.0.0,>=2.0.6->pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading wcwidth-0.6.0-py3-none-any.whl.metadata (30 kB)
Collecting tabulate~=0.10.0 (from tabulate[widechars]=0.10.0->cli-helpers>=2.2.1->cli-helpers[styles]>=2.2.1->pgcli==4.0.1->rdbms-connect==1.0.7)=1.27.0->rdbms-connect==1.0.7)
Downloading tabulate-0.10.0-py3-none-any.whl.metadata (40 kB)
Collecting cffi>=2.0.0 (from cryptography>=1.0.0->mycli
Downloading cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (2.6 kB)
Collecting pycparser (from cffi>=2.0.0->cryptography>=1.0.0->mycli~=1.27.0->rdbms-connect==1.0.7)
Downloading pycparser-3.0-py3-none-any.whl.metadata (8.2 kB)
Collecting python-dateutil>=2.6 (from pendulum>=2.1.0->pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting tzdata>=2020.1 (from pendulum>=2.1.0->pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading tzdata-2025.3-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.6->pendulum>=2.1.0->pgcli==4.0.1->rdbms-connect==1.0.7)
Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Downloading pgcli-4.0.1-py3-none-any.whl (83 kB)
Downloading mycli-1.27.2-py2.py3-none-any.whl (68 kB)
Downloading prompt_toolkit-3.0.52-py3-none-any.whl (391 kB)
Downloading setproctitle-1.3.7-cp313-cp313-macosx_11_0_arm64.whl (13 kB)
Downloading sqlparse-0.4.4-py3-none-any.whl (41 kB)
Downloading cli_helpers-2.12.0-py3-none-any.whl (21 kB)
Downloading tabulate-0.10.0-py3-none-any.whl (39 kB)
Downloading click-8.3.1-py3-none-any.whl (108 kB)
Downloading configobj-5.0.9-py2.py3-none-any.whl (35 kB)
Downloading cryptography-46.0.5-cp311-abi3-macosx_10_9_universal2.whl (7.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.2/7.2 MB 263.1 MB/s 0:00:00
Downloading cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl (181 kB)
Downloading pendulum-3.2.0-cp313-cp313-macosx_11_0_arm64.whl (327 kB)
Downloading pgspecial-2.2.1-py3-none-any.whl (35 kB)
Downloading psycopg-3.3.3-py3-none-any.whl (212 kB)
Downloading pygments-2.19.2-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 160.0 MB/s 0:00:00
Downloading pymysql-1.1.2-py3-none-any.whl (45 kB)
Downloading pyperclip-1.11.0-py3-none-any.whl (11 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Downloading sqlglot-30.0.3-py3-none-any.whl (651 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 651.9/651.9 kB 944.3 MB/s 0:00:00
Downloading tzdata-2025.3-py2.py3-none-any.whl (348 kB)
Downloading pycparser-3.0-py3-none-any.whl (48 kB)
Downloading wcwidth-0.6.0-py3-none-any.whl (94 kB)
Building wheels for collected packages: psycopg2, pyaes
Building wheel for psycopg2 (pyproject.toml): started
Building wheel for psycopg2 (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for psycopg2 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
/private/var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/pip-build-env-581l4w93/overlay/lib/python3.13/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/_json.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/extras.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/errorcodes.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/tz.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/_range.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/_ipaddress.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/__init__.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/extensions.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/errors.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/sql.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
copying lib/pool.py -> build/lib.macosx-26.0-arm64-cpython-313/psycopg2
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.macosx-26.0-arm64-cpython-313/psycopg
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall "-DPSYCOPG_VERSION=2.9.11 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/include -I/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -I. -I/opt/homebrew/include/postgresql@18 -I/opt/homebrew/include/postgresql@18/server -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/krb5/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/lz4/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/opt/icu4c@78/include -c psycopg/adapter_asis.c -o build/temp.macosx-26.0-arm64-cpython-313/psycopg/adapter_asis.o
In file included from psycopg/adapter_asis.c:28:
In file included from ./psycopg/psycopg.h:36:
/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/Python.h:20:10: fatal error: 'assert.h' file not found
20 | #include <assert.h> // assert()
| ^~~~~~~~~~
1 error generated.
It appears you are missing some prerequisite to build the package from source.
You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.
For further information please check the 'doc/src/install.rst' file (also at
<https://www.psycopg.org/docs/install.html>).
error: command '/Users/dscreve/.swiftly/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psycopg2
Building wheel for pyaes (pyproject.toml): started
Building wheel for pyaes (pyproject.toml): finished with status 'done'
Created wheel for pyaes: filename=pyaes-1.6.1-py3-none-any.whl size=26422 sha256=a7f112c1b63dd68d8e228fae60d80a1af0e3011daa63c231e505b34d9acc9b7e
Stored in directory: /private/var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/pip-ephem-wheel-cache-56jofffh/wheels/cf/2b/cc/2cd1fc992150692e118eb782ca44536ebc2b566823353085ba
Successfully built pyaes
Failed to build psycopg2
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> psycopg2
cli.azure.cli.core.extension.operations: Command '['/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/bin/python', '-m', 'pip', 'install', '--target', '/Users/dscreve/.azure/cliextensions/rdbms-connect', '/var/folders/5g/66jfcrrd1875s200dh2spk540000gn/T/tmpyeo66us5/rdbms_connect-1.0.7-py2.py3-none-any.whl', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 1.
cli.azure.cli.core.extension.operations: Pip failed so deleting anything we might have installed at /Users/dscreve/.azure/cliextensions/rdbms-connect
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/commands/init.py", line 682, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/commands/init.py", line 812, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/commands/init.py", line 781, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/commands/init.py", line 336, in call
return self.handler(*args, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
return op(**command_args)
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/command_modules/extension/custom.py", line 16, in add_extension_cmd
return add_extension(cli_ctx=cmd.cli_ctx, source=source, extension_name=extension_name, index_url=index_url,
yes=yes, pip_extra_index_urls=pip_extra_index_urls, pip_proxy=pip_proxy, system=system,
version=version, upgrade=upgrade, allow_preview=allow_preview)
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/extension/operations.py", line 343, in add_extension
extension_name = _add_whl_ext(cli_ctx=cmd_cli_ctx, source=source, ext_sha256=ext_sha256,
pip_extra_index_urls=pip_extra_index_urls, pip_proxy=pip_proxy, system=system)
File "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/core/extension/operations.py", line 172, in _add_whl_ext
raise CLIError('An error occurred. Pip failed with status code {}. '
'Use --debug for more information.'.format(pip_status_code))
knack.util.CLIError: An error occurred. Pip failed with status code 1. Use --debug for more information.
cli.azure.cli.core.azclierror: An error occurred. Pip failed with status code 1. Use --debug for more information.
az_command_data_logger: An error occurred. Pip failed with status code 1. Use --debug for more information.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x10871b1a0>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 8.555 seconds (init: 0.090, invoke: 8.465)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 4194 in cache file under /Users/dscreve/.azure/telemetry/20260321160902989
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/opt/homebrew/Cellar/azure-cli/2.84.0/libexec/bin/python /opt/homebrew/Cellar/azure-cli/2.84.0/libexec/lib/python3.13/site-packages/azure/cli/telemetry/init.py /Users/dscreve/.azure /Users/dscreve/.azure/telemetry/20260321160902989"
telemetry.process: Return from creating process 19841
telemetry.main: Finish creating telemetry upload process.
Expected behavior
Command should work-k
Environment Summary
azure-cli 2.84.0
core 2.84.0
telemetry 1.1.0
Dependencies:
msal 1.35.0b1
azure-mgmt-resource 24.0.0
Additional context
No response