From a2fb7c5bb82c040c94dfbdb8b527291f8736e2c3 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 15 Apr 2024 07:09:45 -0600 Subject: [PATCH 1/5] debug python brew issues --- .github/workflows/macos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5244f8741..65519385e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -73,6 +73,8 @@ jobs: # https://github.com/actions/runner-images/issues/6507 # https://github.com/actions/runner-images/issues/2322 # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. + brew list -1 | grep python + ls -l /usr/bin | grep python brew install ninja brew install docbook docbook-xsl fop gnu-sed # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies. From 98d68974d1d686afedf041c5e979b545dad16744 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 15 Apr 2024 07:12:20 -0600 Subject: [PATCH 2/5] dbg2 --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 65519385e..719079f3b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -74,7 +74,7 @@ jobs: # https://github.com/actions/runner-images/issues/2322 # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. brew list -1 | grep python - ls -l /usr/bin | grep python + ls -l /usr/local/bin | grep python brew install ninja brew install docbook docbook-xsl fop gnu-sed # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies. From 07c7522f261efe28f53653dcf0043844f263749d Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 15 Apr 2024 07:22:58 -0600 Subject: [PATCH 3/5] dbg3 --- .github/workflows/macos.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 719079f3b..39eb5fd37 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -75,6 +75,10 @@ jobs: # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. brew list -1 | grep python ls -l /usr/local/bin | grep python + # workaround for https://github.com/actions/setup-python/issues/577 + brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done + brew list -1 | grep python + ls -l /usr/local/bin | grep python brew install ninja brew install docbook docbook-xsl fop gnu-sed # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies. From b4812bf520a89844b04b1257a3b888f4463960f4 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 15 Apr 2024 07:27:55 -0600 Subject: [PATCH 4/5] dbg4 --- .github/workflows/macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 39eb5fd37..e28a3b6f8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -74,11 +74,11 @@ jobs: # https://github.com/actions/runner-images/issues/2322 # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. brew list -1 | grep python - ls -l /usr/local/bin | grep python + ls -l /usr/local/bin | grep -i python # workaround for https://github.com/actions/setup-python/issues/577 brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done brew list -1 | grep python - ls -l /usr/local/bin | grep python + ls -l /usr/local/bin | grep -i python brew install ninja brew install docbook docbook-xsl fop gnu-sed # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies. From 9bdcbcf4353be0f85849e5bd2d7b201956b01b83 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Tue, 16 Apr 2024 07:23:10 -0600 Subject: [PATCH 5/5] insulate workflow from homebrew location. --- .github/workflows/macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e28a3b6f8..3538c98fa 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -74,11 +74,11 @@ jobs: # https://github.com/actions/runner-images/issues/2322 # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. brew list -1 | grep python - ls -l /usr/local/bin | grep -i python + ls -l $(brew --prefix)/bin | grep -i python # workaround for https://github.com/actions/setup-python/issues/577 brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done brew list -1 | grep python - ls -l /usr/local/bin | grep -i python + ls -l $(brew --prefix)/bin | grep -i python brew install ninja brew install docbook docbook-xsl fop gnu-sed # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies.