Skip to content

python dependency for az on mac#42

Open
shodiBoy1 wants to merge 2 commits into
devonfw:masterfrom
shodiBoy1:feature/865-az-mac-install
Open

python dependency for az on mac#42
shodiBoy1 wants to merge 2 commits into
devonfw:masterfrom
shodiBoy1:feature/865-az-mac-install

Conversation

@shodiBoy1
Copy link
Copy Markdown

Microsoft's Azure CLI macOS tarball is a bash launcher that requires Python 3.13 to run.
This adds az/az/dependencies.json so IDEasy installs Python 3.13 automatically before installing az on macOS.

Full effect requires the companion PR lowering the default PYTHON_VERSION in devonfw/ide-settings.

@shodiBoy1 shodiBoy1 self-assigned this May 13, 2026
@shodiBoy1 shodiBoy1 added the enhancement New feature or request label May 13, 2026
Copy link
Copy Markdown
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

Comment thread az/az/dependencies.json Outdated
Co-authored-by: Jörg Hohwiller <hohwille@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants