Skip to content

CI: add consistency check for packaging metadata files #3108

@Vaishnav88sk

Description

@Vaishnav88sk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions