Skip to content

fix: exclude test fixtures from package build to resolve Git LFS issues - #16

Merged
Chouffe merged 1 commit into
mainfrom
arthur/lfs-smudge-issue
Oct 23, 2025
Merged

Chouffe merged 1 commit into
mainfrom
arthur/lfs-smudge-issue

Conversation

@Chouffe

@Chouffe Chouffe commented Oct 23, 2025 •

Copy link
Copy Markdown
Contributor

Summary

Fixes Git LFS installation errors when installing aris as a dependency by excluding test fixtures from the package build.

Problem

When installing aris as a dependency, Git LFS was attempting to download test fixture files (65MB ARIS file) that were missing from LFS remote storage, causing installation failures:

Error downloading object: tests/fixtures/aris/2025-05-13_092300.aris (727d074): Smudge error
fatal: tests/fixtures/aris/2025-05-13_092300.aris: smudge filter lfs failed

Solution

Configured Hatchling to exclude the tests/ directory from both wheel and source distributions. Test fixtures are not needed when using the library as a dependency - they're only needed for development.

Changes

  • Add tool.hatch.build.targets.wheel exclude configuration
  • Add tool.hatch.build.targets.sdist exclude configuration
  • Bump version from 0.1.0 to 0.1.1

Verification

Built and inspected the wheel package - confirmed 0 test files are included.

Test plan

  • Merge and tag v0.1.1
  • Test installation as dependency in another project
  • Verify no Git LFS errors occur during installation

…ndency installation issues

When installing aris as a dependency, Git LFS was attempting to download
test fixture files (65MB ARIS file) that were missing from LFS remote storage,
causing installation failures.

This change configures Hatchling to exclude the tests/ directory from both
wheel and source distributions, preventing LFS from attempting to fetch
test fixtures during package installation.

Changes:
- Add tool.hatch.build.targets.wheel exclude configuration
- Add tool.hatch.build.targets.sdist exclude configuration
- Bump version from 0.1.0 to 0.1.1

Resolves Git LFS smudge errors when installing as dependency.
@Chouffe
Chouffe merged commit 7bdf4f5 into main Oct 23, 2025
2 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.

1 participant