Skip to content

Conversation

@andrewfulton9
Copy link
Contributor

Adds a CI workflow for building wheel and pushing metadata to pypi. Note that for this to work, the tensorflow/metadata repo will need to be setup as a trusted publisher on the relevant pypi account.

I tested this workflow with the testpypi artifactory. You can see the results here of the CI run here.

Copy link
Contributor

@peytondmurray peytondmurray left a comment

Choose a reason for hiding this comment

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

A few things to remove. Also, I think this can be done in a single step - this is pure python (once the protocol buffers are built). So you should be able to change python -m build --wheel to python -m build, and get both the sdist and wheel in one go.

@peytondmurray
Copy link
Contributor

Thanks for this!

@peytondmurray peytondmurray merged commit 383edcf into tensorflow:master Aug 4, 2025
11 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.

3 participants