python dependency for az on mac#42
Conversation
hohwille
left a comment
There was a problem hiding this comment.
@shodiBoy1 thanks for your PR. I understand the solution and your PR looks correct to me. 👍
However, for awareness I have to mention that we have the following problem children that suck:
- node (npm/yarn/...)
- python (pip/...)
These local tools cannot be installed and kept pristine due to design flaws of the tool ecosystem itself (see #352 and tool-vendor-plea).
Therefore, we cannot have multiple parallel versions of node or python for the same project.
This means that projects using az are automatically tied to python 3.13 forever.
Can you please test if az does not work with newer versions of python?
If not, we can merge this PR and live with the limitation.
Also note that we do not have support for OS specific dependencies.
Windows already supports az without python dependency.
Merging this PR could break IDEasy usage on existing projects that currently work fine using az in combination with python in a version other than 3.13.
If you find any way to refactor python/uv/pip in IDEasy to work with software repo please go ahead but we gave up at some point after fighting against windmills.
Co-authored-by: Jörg Hohwiller <hohwille@users.noreply.github.com>
Microsoft's Azure CLI macOS tarball is a bash launcher that requires Python 3.13 to run.
This adds
az/az/dependencies.jsonso IDEasy installs Python 3.13 automatically before installingazon macOS.Full effect requires the companion PR lowering the default
PYTHON_VERSIONin devonfw/ide-settings.