From 416d12d7ac5dc751ebcfeaadfccf98ab05e45b9f Mon Sep 17 00:00:00 2001 From: Chouffe Date: Thu, 23 Oct 2025 16:21:10 +0200 Subject: [PATCH] fix: exclude test fixtures from package build to resolve Git LFS dependency 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. --- pyproject.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 247d969..b9e1852 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "aris" -version = "0.1.0" +version = "0.1.1" description = "Process ARIS files with Python" readme = "README.md" license = { text = "MIT" } @@ -56,6 +56,19 @@ aris-stabilize-preprocess = "aris.scripts.stabilize_and_preprocess_sonar_video:m requires = ["hatchling"] build-backend = "hatchling.build" +[tool.hatch.build.targets.wheel] +packages = ["src/aris"] +exclude = [ + "tests/", + "tests/**/*", +] + +[tool.hatch.build.targets.sdist] +exclude = [ + "tests/", + "tests/**/*", +] + [dependency-groups] dev = [ "ruff>=0.8.0",