From b13776c1abf5d159cac15dc39ffb51abb7d7a9a7 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Wed, 11 Dec 2024 16:53:43 +0100 Subject: [PATCH] use uv --- .github/workflows/pages.yml | 8 +++++--- Makefile | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 8d99d88..3ec5777 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -32,10 +32,12 @@ jobs: uses: actions/checkout@v3 - name: Setup Pages uses: actions/configure-pages@v1 - - name: Setup Python - uses: actions/setup-python@v4 + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v4 with: - python-version: '3.11' + version: "latest" + python-version: 3.13 + enable-cache: true - name: Install dependencies run: | make install diff --git a/Makefile b/Makefile index 49628e3..d09a3c8 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ PYTHON_PACKAGE_INSTALLER?=uv # Flag whether to use a global installed 'uv' or install # it in the virtual environment. # Default: false -MXENV_UV_GLOBAL?=false +MXENV_UV_GLOBAL?=true # Flag whether to use virtual environment. If `false`, the # interpreter according to `PRIMARY_PYTHON` found in `PATH` is used.