From 23df264243da733fa7264f71095f244d76e2cf5b Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 08:47:21 +0100 Subject: [PATCH 01/13] typo in ci --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c502380..f63fe93 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -44,7 +44,7 @@ jobs: # Workaround: Use `--env ci` to load mise.ci.toml which contains constant tools (uv). # This allows us to override only the Python version via install-args without duplicating # tool definitions. - install-args: "python@${{ matrix.python-version }} --env ci" + install_args: "python@${{ matrix.python-version }} --env ci" - name: Run unit tests run: mise run ci:test:unit From 79ca3f12086fdaebd44ff3adbfd6e296ecfc79f6 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 08:47:35 +0100 Subject: [PATCH 02/13] update renovate --- renovate.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index d860981..feb6a64 100644 --- a/renovate.json +++ b/renovate.json @@ -13,8 +13,7 @@ "matchPackageNames": [ "uv", "uv_build", - "astral-sh/uv", - "astral-sh/setup-uv" + "astral-sh/uv" ] } ] From 25e866c4938ddd80bcbd617082c37ad0e264f084 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 08:49:48 +0100 Subject: [PATCH 03/13] more --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f63fe93..0aa24cf 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -42,7 +42,7 @@ jobs: uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3 with: # Workaround: Use `--env ci` to load mise.ci.toml which contains constant tools (uv). - # This allows us to override only the Python version via install-args without duplicating + # This allows us to override only the Python version via install_args without duplicating # tool definitions. install_args: "python@${{ matrix.python-version }} --env ci" From 039f8b6fce43805169c197f103bbbd76963c1abe Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 08:54:26 +0100 Subject: [PATCH 04/13] try suggestions --- .github/workflows/cd.yml | 7 ++----- mise.ci.toml | 3 --- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 mise.ci.toml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0aa24cf..7a745d0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -40,11 +40,8 @@ jobs: - name: Install mise uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3 - with: - # Workaround: Use `--env ci` to load mise.ci.toml which contains constant tools (uv). - # This allows us to override only the Python version via install_args without duplicating - # tool definitions. - install_args: "python@${{ matrix.python-version }} --env ci" + env: + MISE_PYTHON_VERSION: ${{ matrix.python-version }} - name: Run unit tests run: mise run ci:test:unit diff --git a/mise.ci.toml b/mise.ci.toml deleted file mode 100644 index f8be079..0000000 --- a/mise.ci.toml +++ /dev/null @@ -1,3 +0,0 @@ -[tools] -# only include constant tools here, dynamic versions are handled by the CI workflow -uv = "0.9.21" \ No newline at end of file From 7148b2e961f5036bd27ffee29212fcb315e1a62b Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 08:58:58 +0100 Subject: [PATCH 05/13] fix --- .github/workflows/cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7a745d0..870f7cd 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -45,6 +45,8 @@ jobs: - name: Run unit tests run: mise run ci:test:unit + env: + MISE_PYTHON_VERSION: ${{ matrix.python-version }} e2e-tests: runs-on: ubuntu-latest From 8c5a1e303de2af3d5c3e6625dc17a6722f70823d Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 08:59:54 +0100 Subject: [PATCH 06/13] try --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 870f7cd..bf4bcb7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -44,9 +44,9 @@ jobs: MISE_PYTHON_VERSION: ${{ matrix.python-version }} - name: Run unit tests - run: mise run ci:test:unit env: MISE_PYTHON_VERSION: ${{ matrix.python-version }} + run: mise run ci:test:unit e2e-tests: runs-on: ubuntu-latest From 3b17a64c57bb3dca282114a0c1efef8582b030d5 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:00:07 +0100 Subject: [PATCH 07/13] one more --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bf4bcb7..095a3e0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -45,7 +45,7 @@ jobs: - name: Run unit tests env: - MISE_PYTHON_VERSION: ${{ matrix.python-version }} + PYTHON_VERSION: ${{ matrix.python-version }} run: mise run ci:test:unit e2e-tests: From 46736c5f000ed0ed229be929d529edcbd93fa697 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:04:48 +0100 Subject: [PATCH 08/13] last --- .github/workflows/cd.yml | 8 ++++---- mise.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 095a3e0..f3554f6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,6 +26,10 @@ jobs: permissions: contents: write pull-requests: write + env: + # `mise.toml` reads PYTHON_VERSION via `get_env(...)`. Set it at the job level so it applies + # to both `mise install` (setup) and `mise run ...` (tasks), preventing fallback installs. + PYTHON_VERSION: ${{ matrix.python-version }} strategy: fail-fast: false @@ -40,12 +44,8 @@ jobs: - name: Install mise uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3 - env: - MISE_PYTHON_VERSION: ${{ matrix.python-version }} - name: Run unit tests - env: - PYTHON_VERSION: ${{ matrix.python-version }} run: mise run ci:test:unit e2e-tests: diff --git a/mise.toml b/mise.toml index e9082b5..8ac4b1e 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -python = "3.14.2" +python = "{{ get_env(name='PYTHON_VERSION', default='3.14.2') }}" uv = "0.9.21" # https://mise.jdx.dev/mise-cookbook/python.html#mise-uv From 7b050eefc13a89f9dfae0c92c8fffb761ffbca97 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:08:25 +0100 Subject: [PATCH 09/13] this --- .python-version | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .python-version diff --git a/.python-version b/.python-version deleted file mode 100644 index 6324d40..0000000 --- a/.python-version +++ /dev/null @@ -1 +0,0 @@ -3.14 From 1b6513923d177286d69238bb2a85030da352f236 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:09:19 +0100 Subject: [PATCH 10/13] Revert "this" This reverts commit 7b050eefc13a89f9dfae0c92c8fffb761ffbca97. --- .python-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..6324d40 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.14 From 3671aeb87aefeb344beeecb7e211282578d18ae6 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:13:56 +0100 Subject: [PATCH 11/13] other one --- .github/workflows/cd.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f3554f6..e14cbf3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,9 +27,7 @@ jobs: contents: write pull-requests: write env: - # `mise.toml` reads PYTHON_VERSION via `get_env(...)`. Set it at the job level so it applies - # to both `mise install` (setup) and `mise run ...` (tasks), preventing fallback installs. - PYTHON_VERSION: ${{ matrix.python-version }} + UV_PYTHON: ${{ matrix.python-version }} strategy: fail-fast: false From bbe23ed71a61464ee7c41630bb647fbf5ca4515d Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:16:53 +0100 Subject: [PATCH 12/13] check --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 8ac4b1e..0d009d4 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -python = "{{ get_env(name='PYTHON_VERSION', default='3.14.2') }}" +python = "{{ get_env(name='UV_PYTHON', default='3.14.2') }}" uv = "0.9.21" # https://mise.jdx.dev/mise-cookbook/python.html#mise-uv From a486eb342af0c46c3faad47349b8af5270e71773 Mon Sep 17 00:00:00 2001 From: timonrieger Date: Tue, 13 Jan 2026 09:18:25 +0100 Subject: [PATCH 13/13] comment --- mise.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/mise.toml b/mise.toml index 0d009d4..6cd7aa6 100644 --- a/mise.toml +++ b/mise.toml @@ -1,4 +1,5 @@ [tools] +# reuse UV_PYTHON from the CI environment to avoid installing two versions of Python (performance) python = "{{ get_env(name='UV_PYTHON', default='3.14.2') }}" uv = "0.9.21"