antlr4-python3-runtime is being installed using the legacy 'setup.py install' #26969
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
Installation
Milestone
Describe the bug
Installing azure-cli using pip outputs Warning about using outdated installation method for one of the components -
antlr4-python3-runtime
.And it is going to completely fail with the future pip versions.
Related command
pip install -U azure-cli==2.50.0
Errors
DEPRECATION: antlr4-python3-runtime is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Issue script & Debug output
N/A
Expected behavior
Clean installation without using deprecated ancient methods and techniques.
Environment Summary
azure-cli 2.50.0
core 2.50.0
telemetry 1.0.8
Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2
Python location '/Users/den/projects/azure/.direnv/python-3.10/bin/python'
Extensions directory '/Users/den/.azure/cliextensions'
Python (Darwin) 3.10.12 (main, Jul 22 2023, 21:22:22) [Clang 14.0.0 (clang-1400.0.29.202)]
Additional context
No response
The text was updated successfully, but these errors were encountered: