Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

update Makefile

thomashebrardbc256b5b9214
diff --git a/.github/scripts/get_uv_version.sh b/.github/scripts/get_uv_version.sh
deleted file mode 100644
index 6fb9d7af4..000000000
--- a/.github/scripts/get_uv_version.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-UV_VERSION=$(awk '/^\[tool.uv\]/{f=1;next} f==1&&/^version/{print $3;exit}' pyproject.toml | tr -d '"')
-if [ -z "$UV_VERSION" ]; then
- echo "Error: UV version not found in pyproject.toml"
- exit 1
-fi
-echo "UV_VERSION=$UV_VERSION" >> $GITHUB_ENV
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 19acc66f5..bb69cb69c 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ LOCAL_PYRIGHT := $(VIRTUAL_ENV)/bin/pyright
LOCAL_RUFF := $(VIRTUAL_ENV)/bin/ruff
define GET_UV_VERSION
-$(shell awk '/^\[tool.uv\]/{f=1;next} f==1&&/^version/{print $$3;exit}' pyproject.toml | tr -d '"')
+$(shell awk '/^\[tool.uv\]/{f=1;next} f==1&&/^required-version/{print $$3;exit}' pyproject.toml | tr -d '"')
endef
define PRINT_TITLE
diff --git a/pyproject.toml b/pyproject.toml
index a13cd76f0..cdb11ccb5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -244,4 +244,5 @@ select = [
]
[tool.uv]
-version = "0.7.2"
+required-version = "0.7.2"
+