From d57cfdcd756f94f2b3986191c021dd900116cc8d Mon Sep 17 00:00:00 2001 From: Morgan Epp <60796713+epmog@users.noreply.github.com> Date: Thu, 27 Nov 2025 12:22:26 -0600 Subject: [PATCH] chore(dev): as of hatch 1.16.0, 'hatch build' can't be run in non-builder envs Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com> --- hatch.toml | 3 --- pipeline/build.sh | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/hatch.toml b/hatch.toml index a54f89e..519557d 100644 --- a/hatch.toml +++ b/hatch.toml @@ -23,9 +23,6 @@ lint = [ [[envs.all.matrix]] python = ["3.9", "3.10", "3.11", "3.12", "3.13"] -[envs.codebuild.scripts] -build = "hatch build" - [envs.release] detached = true diff --git a/pipeline/build.sh b/pipeline/build.sh index e8014f3..5ec09cb 100755 --- a/pipeline/build.sh +++ b/pipeline/build.sh @@ -5,6 +5,6 @@ set -e pip install --upgrade pip pip install --upgrade hatch pip install --upgrade twine -hatch run codebuild:lint -hatch run codebuild:test -hatch run codebuild:build \ No newline at end of file +hatch run lint +hatch run test +hatch build