Mise panic in Initializing phase when project has its own mise config

Site: missing-style.netlify.app (https://missing.style)

Source code: GitHub - bigskysoftware/missing: The classless-ish CSS library you've been missing

We recently adopted mise-en-place to manage tasks and dependencies for our project. This seems to conflict with Netlify’s internal use of mise in a way that causes it to panic with an opaque error message.

7:26:06 PM: build-image version: 235a96ed6c11cbdf942eed7e70e6802956f9b464 (focal)
7:26:06 PM: buildbot version: 72ba091da8478e084b7407a21cd8435e7ecab808
7:26:06 PM: Fetching cached dependencies
7:26:06 PM: Failed to fetch cache, continuing with build
7:26:06 PM: Starting to prepare the repo for build
7:26:06 PM: No cached dependencies found. Cloning fresh repo
7:26:06 PM: git clone --filter=blob:none https://github.com/bigskysoftware/missing
7:26:06 PM: Preparing Git Reference refs/heads/prod
7:26:07 PM: Custom build path detected. Proceeding with the specified path: ''
7:26:07 PM: Custom publish path detected. Proceeding with the specified path: 'www/_site'
7:26:07 PM: Custom build command detected. Proceeding with the specified command: 'mise run build:www'
7:26:08 PM: Starting to install dependencies
7:26:08 PM: mise python@3.13.6   install
7:26:08 PM: mise python@3.13.6   download cpython-3.13.6+20250807-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
7:26:09 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
7:26:09 PM: mise python@3.13.6   extract cpython-3.13.6+20250807-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
7:26:09 PM: mise python@3.13.6   python --version
7:26:09 PM: mise python@3.13.6   Python 3.13.6
7:26:09 PM: mise python@3.13.6 ✓ installed
7:26:09 PM: === Async Backtrace (panic occurred in tokio runtime) ===
7:26:09 PM:   0: Location { name: Some("mise::toolset::Toolset::resolve::{{closure}}"), rest: ("src/toolset/mod.rs", 152, 5) }
7:26:09 PM: ------- TASK DUMP TREE -------
7:26:09 PM: ╼ mise::toolset::Toolset::resolve::{{closure}} at src/toolset/mod.rs:152:5
7:26:09 PM: === End Async Backtrace ===
7:26:09 PM: The application panicked (crashed).
7:26:09 PM: Message:  task 62 was cancelled
7:26:09 PM: Location: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/join_set.rs:439
7:26:09 PM: Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
7:26:09 PM: Run with RUST_BACKTRACE=full to include source snippets.
7:26:09 PM: Error setting python version from the PYTHON_VERSION environment variable
7:26:09 PM: Failing build: Failed to install dependencies
7:26:09 PM: Finished processing build request in 3.844s

netlify.toml:

[build]
publish = "www/_site"
command = "mise run build:www"

PLEASE help us help you by writing a good post!

  • We need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app
  • DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
  • Build problems? Link or paste the FULL build log & build settings screenshot
  • Did you try Ask Netlify, our generative AI chatbot, before posting? It pulls info from Support Guides and recent solved forums posts.

The better the post - the faster the answer.

Hi,

Based on the error log you provided, The panic occurs during mise’s async task execution (tokio runtime) when trying to resolve Python 3.13.6.

You can try using the pre installed python since Netlify’s Ubuntu Focal image has Python 3.8 by default.

Would also recommend opening an issue in the mise repo with the backtrace if issue still persists. Hope this helps!

I tried a very miminal repo: GitHub - hrishikesh-k/f-155472 and that worked fine. Even when I tried your repo, that went past the stage where you got a failure as well: Deploy details | Deploys | f-155472 | Netlify