Skip to content

Install pyyaml through actions/setup-python instead of installing it system-wide#1066

Merged
Icohedron merged 1 commit intollvm:mainfrom
Icohedron:pyyaml
Apr 8, 2026
Merged

Install pyyaml through actions/setup-python instead of installing it system-wide#1066
Icohedron merged 1 commit intollvm:mainfrom
Icohedron:pyyaml

Conversation

@Icohedron
Copy link
Copy Markdown
Contributor

This PR makes the CI workflow install pyyaml instead of hoping that the system has pyyaml installed globally.

Installing python packages globally on a system is discouraged, and there are barriers to try to do so.
For example on mac, it requires:
Saving the following text to ~/.config/pip/pip.conf

[global] 
break-system-packages = true 

and then running: sudo pip3 install pyyaml

After this PR, installing pyyaml globally should no longer be required.

@Icohedron Icohedron merged commit 0297c8f into llvm:main Apr 8, 2026
11 of 13 checks passed
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.

4 participants