Skip to content

fix: publish tagged releases with the current graph cache layout - #401

Merged
pengzhendong merged 1 commit into
masterfrom
fix/pypi-release-workflow
Nov 5, 2026
Merged

pengzhendong merged 1 commit into
masterfrom
fix/pypi-release-workflow

Conversation

@pengzhendong

Copy link
Copy Markdown
Member

Summary

  • Build the exact existing release tag supplied to the workflow, so package contents and setuptools_scm versions match the release.
  • Build FST bundles directly into the graph artifact directory instead of copying obsolete package-local cache files.
  • Validate the requested version, distribution metadata, and all production TSV/FAR resources before uploading to PyPI. Keep the existing secret and master-only publishing condition.

Test plan

  • Reproduced the missing release-tag checkout and obsolete graph paths before editing.
  • Verified YAML structure, shell syntax, Python verification syntax, tag pinning, and all four graph cache arguments.
  • Built wheel and sdist from exact v1.3.0 contents; verified version 1.3.0 and all 902 production resources.
  • Both distributions pass twine check; git diff --check passes.

@pengzhendong
pengzhendong merged commit 41a3236 into master Nov 5, 2026
1 check passed
@pengzhendong
pengzhendong deleted the fix/pypi-release-workflow branch November 5, 2026 06:26
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