metaflow icon indicating copy to clipboard operation
metaflow copied to clipboard

CI: add consistency check for packaging metadata files

Open Vaishnav88sk opened this issue 7 months ago • 1 comments

Problem

Metaflow has both setup.py and setup.cfg; over time dependency/version metadata can diverge.

Proposal

Add a lightweight CI validation step that checks consistency of key metadata across both files, including where applicable:

  • Package name
  • Version source / version declaration
  • Install requirements sections
  • Other duplicated metadata fields if relevant

Acceptance criteria

  • CI fails on mismatch
  • Clear error message pointing to conflicting keys
  • Docs note in contributing/testing section

Scope

  • Validation logic only
  • CI wiring only
  • No packaging model change

Contribution

I’d be happy to work on this issue and contribute a PR if this approach sounds good.

Vaishnav88sk avatar Apr 14 '26 20:04 Vaishnav88sk

Hi, I’d like to work on this issue.

I’ve recently contributed a documentation PR and am now exploring CI-related contributions. This looks like a great opportunity to implement a lightweight validation for packaging metadata consistency.

My initial idea is to add a small script that compares key fields between setup.py and setup.cfg and integrate it into CI.

Please let me know if this approach aligns with expectations.

AshishPadala avatar Apr 18 '26 19:04 AshishPadala