cal-itp/data-infra

Add pyproject.toml Files to Valid Precursors of PyPI Package Publication

Closed this issue · 0 comments

User story / feature request

As a contributor to Cal-ITP's published Python packages (calitp-data-infra and calitp-data-analysis), I would like to release a new version of the package when attribution information changes. Since that attribution information is stored in a pyproject.toml file one folder above the package itself, it isn't currently picked up by the GitHub Action that detects package changes.

Acceptance Criteria

When somebody changes information about package authorship, supported Python versions, etc. in the relevant pyproject.toml file, it should be considered a publication-relevant change and cause the associated publication workflow to run in CI for that package.

Notes

This can be achieved by adding a new filepath filter on the existing publication workflows, looking specifically for changes to pyproject.toml for the given package.