fix: exclude test fixtures from package build to resolve Git LFS issues - #16
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes Git LFS installation errors when installing
arisas a dependency by excluding test fixtures from the package build.Problem
When installing
arisas a dependency, Git LFS was attempting to download test fixture files (65MB ARIS file) that were missing from LFS remote storage, causing installation failures: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
tool.hatch.build.targets.wheelexclude configurationtool.hatch.build.targets.sdistexclude configurationVerification
Built and inspected the wheel package - confirmed 0 test files are included.
Test plan