Skip to content

[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

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

fhanau
Copy link
Contributor

@fhanau fhanau commented Oct 21, 2024

  • 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

@fhanau fhanau requested review from npaun and hoodmane October 21, 2024 19:17
@fhanau fhanau requested review from a team as code owners October 21, 2024 19:17
@@ -19,9 +19,6 @@ jobs:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-python@v5
Copy link
Contributor Author

@fhanau fhanau Oct 21, 2024

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).

Copy link
Contributor

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
Copy link
Contributor Author

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
@fhanau fhanau force-pushed the felix/python-ts-cleanup branch from c97ce2a to fec9b38 Compare October 21, 2024 19:29
@fhanau fhanau changed the title [nfc] Update to python 3.13, minor clean up python and TS cleanup [nfc] Update to python 3.13, minor python and TS cleanup Oct 21, 2024
Copy link
Contributor

@hoodmane hoodmane left a 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!

@fhanau fhanau merged commit 72e7929 into main Oct 21, 2024
13 checks passed
@fhanau fhanau deleted the felix/python-ts-cleanup branch October 21, 2024 20:13
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.

2 participants