Skip to content

Updating pyproject to remove force-include#7

Merged
anky98ai merged 2 commits intomainfrom
updating_pyproject_build
May 2, 2026
Merged

Updating pyproject to remove force-include#7
anky98ai merged 2 commits intomainfrom
updating_pyproject_build

Conversation

@sanket-mendapara
Copy link
Copy Markdown
Collaborator

@sanket-mendapara sanket-mendapara commented May 1, 2026

Summary

  • Remove redundant [tool.hatch.build.targets.wheel.force-include] from pyproject.toml. The packages = ["src/provenancekit"] directive already includes everything under src/provenancekit/data/, so the force-include was duplicating 195 files in the wheel ZIP archive. PyPI rejects wheels with duplicate local headers, causing the publish workflow to fail with a 400 Bad Request.

Impact

  • Fixes PyPI upload (Duplicate filename in local headers error)
  • Wheel size reduced from 646 KB to 369 KB (no duplicate entries)
  • No functional change and all data files are still included in the package

@sanket-mendapara sanket-mendapara requested a review from anky98ai May 1, 2026 23:24
Copy link
Copy Markdown
Collaborator

@anky98ai anky98ai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anky98ai anky98ai merged commit 32409f4 into main May 2, 2026
7 checks passed
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