Skip to content

Commit ab7505f

Browse files
malfethuydhn
andauthored
Fix broken PyYAML 6.0 on MacOS x86 (#115956) (#116551)
May be we should just get rid of x86 jobs, but that's for another day. This one should fix the broken build in trunk, i.e. https://github.com/pytorch/pytorch/actions/runs/7227220153/job/19694420117. I guess that the failure looks flaky depending on the version of default python3 on the GitHub x86 runner. The issue from PyYAML yaml/pyyaml#601 Pull Request resolved: #115956 Approved by: https://github.com/malfet (cherry picked from commit 94d2816) Co-authored-by: Huy Do <[email protected]>
1 parent 953c9c0 commit ab7505f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/filter-test-configs/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ runs:
4646
retry_wait_seconds: 30
4747
command: |
4848
set -eux
49-
python3 -m pip install requests==2.26.0 pyyaml==6.0
49+
# PyYAML 6.0 doesn't work with MacOS x86 anymore
50+
python3 -m pip install requests==2.26.0 pyyaml==6.0.1
5051
5152
- name: Parse ref
5253
id: parse-ref

0 commit comments

Comments
 (0)