Skip to content

Conversation

@dsame
Copy link
Contributor

@dsame dsame commented Aug 29, 2022

issue: https://github.com/actions/runner-images-internal/issues/4053

  1. key changes of builders/macos-python-builder.psm1 is to replace build from the source with installing from the .pkg file for python >= 3.11.1 and generate setup.sh from macos-pkg-setup-template.sh

  2. key features of new installers/macos-pkg-setup-template.sh
    - runs pkg installer
    - remove the python directories with the same major.minor from /opt/hostedtoolcache(*)
    - create major.minor.path in /opt/hostedtoolcache and add links to the default python installation

    • unfortunately all the patch-versions use the same default major.minor default installation path

python-3.10.6 is installed into /Library/Frameworks/Python.framework/Versions/3.10 and python-3.10.5 is installed under the same /Library/Frameworks/Python.framework/Versions/3.10 root. This is why the links created into /opt/hostedtoolcache must be removed if antother major.minor.patch version installed

@dsame dsame marked this pull request as ready for review August 31, 2022 14:06
@dsame dsame requested a review from a team August 31, 2022 14:06
@dsame dsame force-pushed the v-sedoli/osx branch 4 times, most recently from f154c80 to 61d6cbb Compare September 6, 2022 11:45
@vsafonkin vsafonkin merged commit 3b05f53 into actions:main Sep 15, 2022
@vsafonkin vsafonkin deleted the v-sedoli/osx branch September 15, 2022 08:31
jmarrec added a commit to jmarrec/python-versions that referenced this pull request Mar 14, 2024
jmarrec added a commit to jmarrec/python-versions that referenced this pull request May 28, 2024
jmarrec added a commit to jmarrec/python-versions that referenced this pull request Jun 10, 2024
jmarrec added a commit to jmarrec/python-versions that referenced this pull request Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants