Skip to content

chore: unify packaging metadata, set Apache-2.0, add packaging CI#294

Open
DhanashreePetare wants to merge 1 commit intoHSF:masterfrom
DhanashreePetare:fix/packaging-metadata
Open

chore: unify packaging metadata, set Apache-2.0, add packaging CI#294
DhanashreePetare wants to merge 1 commit intoHSF:masterfrom
DhanashreePetare:fix/packaging-metadata

Conversation

@DhanashreePetare
Copy link

Summary:
Align packaging metadata so pyproject.toml is the canonical source of truth, unify license to Apache-2.0, update Python requirement to >=3.8, and add a CI workflow to validate built package metadata during PRs.

Changes:
Updated pyproject.toml (added requires-python + classifiers), updated setup.py to mirror metadata, added packaging note to README.md, and added GitHub Actions workflow at .github/workflows/validate-packaging.yml.
Why: Current repository had conflicting license and Python-support fields between pyproject.toml and setup.py, which causes legal/tooling ambiguity and can lead to incorrect metadata being published.

Verification:
Build the package and inspect METADATA locally:
python -m pip install --upgrade pip build
python -m build
unzip -p dist/.whl '/METADATA' > METADATA && grep -E 'License:|Requires-Python:' METADATA

Notes for reviewers:
If the project intends a different license (e.g., GPL), please confirm and I will update pyproject.toml and LICENSE accordingly. After merge we can simplify or remove setup.py once maintainers are comfortable with pyproject.toml as authoritative.

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