Skip to content

Add PyPI publish workflow - #114

Merged
caterryan merged 2 commits into
mainfrom
codex/publish-influxdata-plugin-utils
Jul 10, 2026
Merged

Add PyPI publish workflow#114
caterryan merged 2 commits into
mainfrom
codex/publish-influxdata-plugin-utils

Conversation

@caterryan

Copy link
Copy Markdown
Collaborator

Summary

  • add tag-triggered workflow for publishing influxdata-plugin-utils to PyPI
  • build and validate wheel/sdist before publishing
  • use PyPI Trusted Publishing with the pypi environment

Validation

  • actionlint .github/workflows/publish-influxdata-plugin-utils.yml
  • python -m build
  • twine check

- pin all actions to commit SHAs; publish job holds id-token: write,
  mutable refs there are a supply-chain risk
- gate publish on new test-influxdata-plugin-utils workflow: pytest on
  3.11/3.13, build + twine check, change-detection so the always-on
  result job is safe to require on unrelated PRs
- rename release tags pkg-v* -> utils-v* and verify tag/package
  versions via packaging (PEP 440), failing if __version__ is missing
- add parsing and package smoke tests (54 tests)

Refs #114
@caterryan
caterryan merged commit fa187f1 into main Jul 10, 2026
5 checks passed
@caterryan
caterryan deleted the codex/publish-influxdata-plugin-utils branch July 10, 2026 17:21
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