Skip to content

fix: remove redundant force-include that breaks newer hatchling#140

Merged
gargrahul merged 1 commit into
cem/rocmvfrom
fix/hatchling-duplicate-file
Jun 2, 2026
Merged

fix: remove redundant force-include that breaks newer hatchling#140
gargrahul merged 1 commit into
cem/rocmvfrom
fix/hatchling-duplicate-file

Conversation

@Cemberk
Copy link
Copy Markdown

@Cemberk Cemberk commented Jun 2, 2026

The scripts directory is already auto-included since it's under src/madengine/. The force-include was causing 'duplicate file' errors with newer hatchling versions that are stricter about this.

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

The scripts directory is already auto-included since it's under
src/madengine/. The force-include was causing 'duplicate file' errors
with newer hatchling versions that are stricter about this.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 2, 2026 12:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the Hatchling wheel-build configuration to avoid packaging failures with newer Hatchling versions by removing a redundant force-include mapping for src/madengine/scripts.

Changes:

  • Removed [tool.hatch.build.targets.wheel.force-include] that was duplicating files already included in the wheel build.
  • Added an inline note in pyproject.toml documenting why force-include should not be reintroduced.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Cemberk Cemberk requested a review from gargrahul June 2, 2026 13:49
@gargrahul gargrahul merged commit 2341f1e into cem/rocmv Jun 2, 2026
1 check 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.

3 participants