-
Notifications
You must be signed in to change notification settings - Fork 358
[nfc] Update to python 3.13, minor python and TS cleanup #2965
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
Conversation
fhanau
commented
Oct 21, 2024
•
edited
Loading
edited
- Update rules_python, facilitating python 3.13 update
- Remove actions/setup-python from lint.yml – python 3.12 already ships on the Ubuntu 24.04 runner.
- Update python deps (markupsafe)
- Refactor wd_test macro and tsconfig so that we can define TypeScript-based JS tests without having to manually define a ts_project
@@ -19,9 +19,6 @@ jobs: | |||
- uses: actions/checkout@v4 | |||
with: | |||
show-progress: false | |||
- uses: actions/setup-python@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hoodmane I know this was added intentionally, but the Ubuntu 24.04 image already comes with python 3.12. I'm open to keeping this if you see a need for it despite that, or if the lint script would benefit from python 3.13 (developers won't have access to 3.13 for now so I guess that's a reason to not depend on it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing seems fine to me, no strong feelings.
@@ -11,7 +11,8 @@ | |||
}, | |||
"composite": true, | |||
"declaration": true, | |||
"skipLibCheck": true | |||
"skipLibCheck": true, | |||
"allowJs": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowJs added to match ts_project in wd_test – this is not needed now but we might have wd_tests using both JS + TS in the future.
- Update rules_python, facilitating python 3.13 update - Remove actions/setup-python from lint.yml – python 3.12 already ships on the Ubuntu 24.04 runner. - Update python deps (markupsafe) - Refactor wd_test macro and tsconfig so that we can define TypeScript-based JS tests without having to manually define a ts_project
c97ce2a
to
fec9b38
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks @fhanau!