Skip to content

Add PyPI trusted publishing workflow#2

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/pypi-trusted-publishing
Jul 8, 2026
Merged

Add PyPI trusted publishing workflow#2
Xuanwo merged 1 commit into
mainfrom
xuanwo/pypi-trusted-publishing

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

This adds a dedicated GitHub Actions workflow for publishing lance-tensorflow to PyPI through Trusted Publishing.

The workflow builds source and wheel distributions on v* tag pushes, uploads the built artifacts, and publishes them from a separate pypi environment using GitHub OIDC with id-token: write. It does not require a long-lived PyPI API token.

A matching pending publisher has been registered on PyPI for lance-format/lance-tensorflow, workflow publish.yml, environment pypi.

Validation performed locally:

  • uv build
  • uv run ruff format --check .
  • uv run ruff check .
  • uv run pytest

@Xuanwo Xuanwo marked this pull request as ready for review July 8, 2026 17:45
@Xuanwo Xuanwo merged commit cd3b898 into main Jul 8, 2026
1 check passed
@Xuanwo Xuanwo deleted the xuanwo/pypi-trusted-publishing branch July 8, 2026 17:46
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.

1 participant