Skip to content

Upgrade to python 3.12 in pre-commit test.#1360

Open
raytomato wants to merge 4 commits intoapple:mainfrom
raytomato:cliu74/python312
Open

Upgrade to python 3.12 in pre-commit test.#1360
raytomato wants to merge 4 commits intoapple:mainfrom
raytomato:cliu74/python312

Conversation

@raytomato
Copy link
Copy Markdown
Contributor

Update pre-commit setup following axlearn Python upgrade.

@raytomato raytomato requested a review from a team as a code owner February 9, 2026 21:32
@raytomato raytomato force-pushed the cliu74/python312 branch 2 times, most recently from 80749a6 to 63e1145 Compare February 10, 2026 01:04
Copy link
Copy Markdown
Collaborator

@wangkuiyi wangkuiyi left a comment

Choose a reason for hiding this comment

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

Could @changlan plase also take a look?

Comment thread .github/workflows/pre-commit.yml Outdated
- run: pip install uv
# TODO(markblee): Remove gcp,vertexai_tensorboard from CI. (needed by pytype)
- run: pip install '.[core,audio,orbax,dev,gcp,vertexai_tensorboard,open_api]'
- run: uv pip install --system '.[core,audio,orbax,dev,gcp,vertexai_tensorboard,open_api]'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should create a uv venv following https://github.com/apple/axlearn/blob/main/docs/01-start.md#installation before running uv pip install. In this way, I expect that we will not need --system.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, @changlan is aware of it.

Let's continue the discussion in the existing thread I just sent you.
This copy is more for testing purpose, showing that the fix could work.

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has been inactive for 60 days. It will be closed in 7 days if no further activity occurs. If you would like to continue working on this, please remove the stale label or leave a comment.

@github-actions github-actions bot added the stale label Apr 12, 2026
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.

2 participants