From 0a6e8782e77173d15814b8c2826f6e53892fc6ec Mon Sep 17 00:00:00 2001 From: Morgan Epp <60796713+epmog@users.noreply.github.com> Date: Thu, 27 Nov 2025 12:25:05 -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 23dd7e9b..74f2db33 100644 --- a/hatch.toml +++ b/hatch.toml @@ -23,9 +23,6 @@ lint = [ [[envs.all.matrix]] python = ["3.9", "3.10", "3.11", "3.12"] -[envs.codebuild.scripts] -build = "hatch build" - [envs.container.env-vars] [envs.release] diff --git a/pipeline/build.sh b/pipeline/build.sh index e8014f30..5ec09cbe 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