#865: az mac install#1945
Conversation
Coverage Report for CI Build 26787096297Coverage decreased (-0.03%) to 71.064%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions20 previously-covered lines in 4 files lost coverage.
Coverage Stats💛 - Coveralls |
|
The fix needs changes in 3 repos:
Microsoft's Mac tarball needs Python 3.13 exactly it ships pre-compiled binaries built for that version, they won't load with 3.14. With the current default
Before proposing the default change I checked: So 3.13 as default looks like the simplest fix that makes Verified locally on Mac arm64: |
…Boy1/IDEasy into feature/865-az-mac-install
hohwille
left a comment
There was a problem hiding this comment.
@shodiBoy1 thanks for your PR. The UrlUpdater change looks ready for merge. The Azure change looks also fine but I added some review comments to further improve 👍
Co-authored-by: Jörg Hohwiller <hohwille@users.noreply.github.com>
|
I think I need some help testing this on my mac; When im running |
@laim2003 this PR needs two other PRs that are not merged yet:
Until they get merged, you can fake them on your laptop. Steps:
gh pr checkout 1945
mkdir -p ~/tmp/az-test && cd ~/tmp/az-test
echo 'PYTHON_VERSION=3.13.*' >> ide.properties
URLS=$(ide context | grep urlsPath | awk '{print $2}') arm64 for Apple Silicon. Use the x86_64 file if your Mac is Intel. IDEasy reads download links from a local copy of the ide-urls repo. These four files are the same ones PR #42 will add.
cd ~/tmp/az-test/az-test |
|
export PATH="$PWD/cli/target/ide/bin:$PATH" this should probably be /cli/target/package/bin/ right? and I think i need to create native images for this step as well? Tried some stuff but the zsh terminal wont use the executable from /cli/target/package/bin/, maybe because the build creates a .bat file which wont work on mac. I'll try out building native images and then see from there. also, even after building, it cant find the command |
This PR fixes #865
Implemented changes:
AzureUrlUpdaternow registers macOSarm64andx86_64tarballs published by Microsoft on GitHub releases starting at azure-cli 2.85.0.Azurecommandlet sets theAZ_PYTHONenvironment variable on macOS, pointing to IDEasy's installed Python. Required by Microsoft's tarball launcher script.CHANGELOG.adocentry under2026.05.001.Checklist for this PR
mvn clean testlocally all tests pass and build is successful#«issue-id»: «brief summary»(e.g.#921: fixed setup.bat). If no issue ID exists, title only.In Progressand assigned to you or there is no issue (might happen for very small PRs)with
internal