From 8de0b24a91a97f7faac4eeb4fda22ae0bb58d5e6 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Sun, 21 Jul 2024 20:35:30 +0100 Subject: [PATCH] devenv: Install the latest hatch --- .devcontainer/tools.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.devcontainer/tools.mk b/.devcontainer/tools.mk index 5ecbfe782..d61b1df1a 100644 --- a/.devcontainer/tools.mk +++ b/.devcontainer/tools.mk @@ -5,7 +5,6 @@ ifeq ($(strip $(ARCH)),) $(error Unable to determine platform architecture) endif -HATCH_VERSION = 1.10.0 NODE_VERSION := 18.20.4 # The versions of Python we support @@ -17,12 +16,12 @@ PY_INTERPRETERS = HATCH ?= $(or $(shell command -v hatch), $(BIN)/hatch) $(HATCH): - curl -L --output /tmp/hatch.tar.gz https://github.com/pypa/hatch/releases/download/hatch-v$(HATCH_VERSION)/hatch-$(HATCH_VERSION)-$(ARCH)-unknown-linux-gnu.tar.gz + curl -L --output /tmp/hatch.tar.gz https://github.com/pypa/hatch/releases/latest/download/hatch-$(ARCH)-unknown-linux-gnu.tar.gz tar -xf /tmp/hatch.tar.gz -C /tmp rm /tmp/hatch.tar.gz test -d $(BIN) || mkdir -p $(BIN) - mv /tmp/hatch-$(HATCH_VERSION)-$(ARCH)-unknown-linux-gnu $(HATCH) + mv /tmp/hatch $(HATCH) $@ --version touch $@