Skip to content

Simplify wheel build configuration and bump version to 1.3.4#37

Merged
jamesbconner merged 1 commit intomainfrom
v1.3.4
Feb 22, 2026
Merged

Simplify wheel build configuration and bump version to 1.3.4#37
jamesbconner merged 1 commit intomainfrom
v1.3.4

Conversation

@jamesbconner
Copy link
Copy Markdown
Owner

@jamesbconner jamesbconner commented Feb 22, 2026

  • Remove only-include directive from pyproject.toml wheel build config that was unnecessarily restricting file inclusion
  • Simplify build-release Makefile target to remove .gitkeep preservation logic since placeholder is not needed in distribution builds
  • Clear .gitkeep file content as it's only required for development and editable installs
  • Update version to 1.3.4 in about.py
  • Update CHANGELOG.md with release notes documenting the build configuration fixes The only-include directive was causing CI/CD issues by conflicting with the force-include directive for web artifacts. Removing it allows the standard wheel build process to work correctly while still including the necessary web UI files through force-include.

Note

Low Risk
Packaging/build-script changes only; risk is limited to release/wheel contents and CI build behavior.

Overview
Updates the release packaging to fix CI/PyPI wheel build issues by removing Hatch wheel only-include restrictions while continuing to bundle the web UI via force-include.

Simplifies the Makefile build-release flow by removing .gitkeep preservation and clears the tracked .gitkeep placeholder content, then bumps the library version to 1.3.4 and documents the release in CHANGELOG.md.

Written by Cursor Bugbot for commit 1bf36ee. This will update automatically on new commits. Configure here.

- Remove `only-include` directive from pyproject.toml wheel build config that was unnecessarily restricting file inclusion
- Simplify `build-release` Makefile target to remove `.gitkeep` preservation logic since placeholder is not needed in distribution builds
- Clear `.gitkeep` file content as it's only required for development and editable installs
- Update version to 1.3.4 in __about__.py
- Update CHANGELOG.md with release notes documenting the build configuration fixes
The `only-include` directive was causing CI/CD issues by conflicting with the `force-include` directive for web artifacts. Removing it allows the standard wheel build process to work correctly while still including the necessary web UI files through `force-include`.
@jamesbconner jamesbconner merged commit 5029f66 into main Feb 22, 2026
4 checks passed
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

packages = ["src/SVG2DrawIOLib"]
only-include = [
"SVG2DrawIOLib/**/*.py",
"SVG2DrawIOLib/**/*.typed",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Removing only-include reintroduces duplicate wheel file entries

Medium Severity

Removing only-include while keeping force-include for the same web directory reintroduces the duplicate file issue fixed in v1.3.3. The empty .gitkeep file is explicitly un-ignored in .gitignore (!src/SVG2DrawIOLib/web/.gitkeep), so packages discovers it, while force-include also includes it — creating a duplicate entry in the wheel. Hatchling has a documented issue where overlapping force-include and packages paths produce invalid wheels with duplicate entries that fail PyPI upload. This only affects builds without running build-release first (which deletes .gitkeep), but matches the exact regression from v1.3.2.

Additional Locations (1)

Fix in Cursor Fix in Web

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