Skip to content

Commit c919288

Browse files
committed
Remove workaround for brew/setup-python conflict
1 parent 5a80f9b commit c919288

File tree

6 files changed

+0
-66
lines changed

6 files changed

+0
-66
lines changed

.github/workflows/cmake_installed.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,6 @@ jobs:
1212
steps:
1313
- name: checkout
1414
uses: actions/checkout@v5
15-
# See issue https://github.com/actions/setup-python/issues/577. There is
16-
# some kind of environment conflict between the symlinks found in the
17-
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
18-
# refuses to overwrite symlinks. The cause for our runs is not clear,
19-
# we do not use that action, but if that issue is closed this section
20-
# can be removed.
21-
- name: sanitize GHA / brew python environment
22-
run: |
23-
# Remove the symlinks that cause issues.
24-
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
25-
sudo rm -rf /Library/Frameworks/Python.framework/
2615
- name: setup
2716
working-directory: drake_cmake_installed
2817
run: |

.github/workflows/pip.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ jobs:
1414
steps:
1515
- name: checkout
1616
uses: actions/checkout@v5
17-
# See issue https://github.com/actions/setup-python/issues/577. There is
18-
# some kind of environment conflict between the symlinks found in the
19-
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
20-
# refuses to overwrite symlinks. The cause for our runs is not clear,
21-
# we do not use that action, but if that issue is closed this section
22-
# can be removed.
23-
- name: sanitize GHA / brew python environment
24-
run: |
25-
# Remove the symlinks that cause issues.
26-
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
27-
sudo rm -rf /Library/Frameworks/Python.framework/
2817
- name: python setup
2918
uses: actions/setup-python@v6
3019
with:

.github/workflows/poetry.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ jobs:
1414
steps:
1515
- name: checkout
1616
uses: actions/checkout@v5
17-
# See issue https://github.com/actions/setup-python/issues/577. There is
18-
# some kind of environment conflict between the symlinks found in the
19-
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
20-
# refuses to overwrite symlinks. The cause for our runs is not clear,
21-
# we do not use that action, but if that issue is closed this section
22-
# can be removed.
23-
- name: sanitize GHA / brew python environment
24-
run: |
25-
# Remove the symlinks that cause issues.
26-
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
27-
sudo rm -rf /Library/Frameworks/Python.framework/
2817
- name: python setup
2918
uses: actions/setup-python@v6
3019
with:

drake_cmake_installed/.github/workflows/ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@ jobs:
3131
steps:
3232
- name: checkout
3333
uses: actions/checkout@v5
34-
# See issue https://github.com/actions/setup-python/issues/577. There is
35-
# some kind of environment conflict between the symlinks found in the
36-
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
37-
# refuses to overwrite symlinks. The cause for our runs is not clear,
38-
# we do not use that action, but if that issue is closed this section
39-
# can be removed.
40-
- name: sanitize GHA / brew python environment
41-
run: |
42-
# Remove the symlinks that cause issues.
43-
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
44-
sudo rm -rf /Library/Frameworks/Python.framework/
4534
- name: setup
4635
working-directory: drake_cmake_installed
4736
run: |

drake_pip/.github/workflows/ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ jobs:
3333
steps:
3434
- name: checkout
3535
uses: actions/checkout@v5
36-
# See issue https://github.com/actions/setup-python/issues/577. There is
37-
# some kind of environment conflict between the symlinks found in the
38-
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
39-
# refuses to overwrite symlinks. The cause for our runs is not clear,
40-
# we do not use that action, but if that issue is closed this section
41-
# can be removed.
42-
- name: sanitize GHA / brew python environment
43-
run: |
44-
# Remove the symlinks that cause issues.
45-
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
46-
sudo rm -rf /Library/Frameworks/Python.framework/
4736
- name: python setup
4837
uses: actions/setup-python@v6
4938
with:

drake_poetry/.github/workflows/ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ jobs:
3333
steps:
3434
- name: checkout
3535
uses: actions/checkout@v5
36-
# See issue https://github.com/actions/setup-python/issues/577. There is
37-
# some kind of environment conflict between the symlinks found in the
38-
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
39-
# refuses to overwrite symlinks. The cause for our runs is not clear,
40-
# we do not use that action, but if that issue is closed this section
41-
# can be removed.
42-
- name: sanitize GHA / brew python environment
43-
run: |
44-
# Remove the symlinks that cause issues.
45-
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
46-
sudo rm -rf /Library/Frameworks/Python.framework/
4736
- name: python setup
4837
uses: actions/setup-python@v6
4938
with:

0 commit comments

Comments
 (0)