Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Commit c4db763

Browse files
committed
add reproduction code
1 parent 8a6ddb6 commit c4db763

6 files changed

Lines changed: 64 additions & 1 deletion

File tree

.github/workflows/mise.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test mise
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
test:
9+
name: Test mise with uv and automatic virtualenv activation
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v6
17+
with:
18+
enable-cache: true
19+
20+
- name: Install mise
21+
uses: jdx/mise-action@v2
22+
with:
23+
cache: true
24+
25+
- run: which python
26+
27+
- run: python --version

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13.5

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
# mise-github-action-debug
1+
# mise-github-action-debug
2+
3+
Reproduction for
4+
5+
## Context
6+
7+
Using `mise` + `uv` in GitHub workflows with automatic Python virtualenv
8+
activation doesn't work. Running `python` causes the workflow hangs and memory
9+
leak.
10+
11+
## Current behavior
12+
13+
The step `python --version` in `.github/workflows/mise.yaml` hangs.
14+
15+
## Expected behavior
16+
17+
`mise` automatically activates `uv` virtualenv without any issues.

mise.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[settings]
2+
experimental = true
3+
python.uv_venv_auto = true
4+
idiomatic_version_file_enable_tools = [ "python" ]

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
name = "mise-github-action-debug"
3+
version = "0.1.0"
4+
requires-python = ">=3.13.5"
5+
6+
[tool.uv]
7+
required-version = ">=0.7.21"

uv.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)