Skip to content

[libc][newheadergen]: PyYaml Version Update #100463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

aaryanshukla
Copy link
Contributor

@aaryanshukla aaryanshukla commented Jul 24, 2024

  • a lot of builds had an issue using new headergen because they do not have PyYaml installed.

@llvmbot
Copy link
Member

llvmbot commented Jul 24, 2024

@llvm/pr-subscribers-libc

Author: None (aaryanshukla)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/100463.diff

1 Files Affected:

  • (modified) libc/docs/dev/header_generation.rst (+1)
diff --git a/libc/docs/dev/header_generation.rst b/libc/docs/dev/header_generation.rst
index 89036f1277b96..3b0fe50a91774 100644
--- a/libc/docs/dev/header_generation.rst
+++ b/libc/docs/dev/header_generation.rst
@@ -23,6 +23,7 @@ Instructions
 
 Required Versions:
   - Python Version: 3.11.8
+  - PyYaml Version: 5.1
 
 1. Keep full-build mode on when building, otherwise headers will not be
    generated.

Copy link
Contributor

@RoseZhang03 RoseZhang03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -23,6 +23,7 @@ Instructions

Required Versions:
- Python Version: 3.11.8
- PyYaml Version: 5.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, change this to PyYAML

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any luck bringing down the Python version? Python 3.8 worked previously, so increasing that is a lot of the problems.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we support 3.6 as min version now if that works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@petrhosek let me know if this is good for Fuchsia

@aaryanshukla aaryanshukla merged commit 8b094c9 into llvm:main Jul 24, 2024
5 of 6 checks passed
yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
Summary:
- a lot of builds had an issue using new headergen because they do not
have PyYaml installed.

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D60250677
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants