Skip to content

Cannot install Nuitka 4.0 with uvΒ #3749

@kdeldycke

Description

@kdeldycke

πŸ› Bug Description

The brand new release of Nuitka 4.0 cannot be installed with uv:

$ uv pip install "nuitka[onefile]==4.0" 
  Γ— No solution found when resolving dependencies:
  ╰─▢ Because there is no version of nuitka[onefile]==4.0 and you require nuitka[onefile]==4.0, we can conclude that your requirements are unsatisfiable.

πŸ–₯️ Environment

1. Nuitka Version, Python Version, OS, and Platform

Python version:

$ uv run python          
Python 3.14.3 (main, Feb  4 2026, 01:51:49) [Clang 21.1.4 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

macOS Tahoe 26.2:

$ uname --all
Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:40 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6000 arm64 Darwin

2. How Nuitka and Python were Installed

Python was installed by uv:

$ uv venv --python cpython-3.14.3-macos-aarch64-none
Using CPython 3.14.3
Creating virtual environment at: .venv
βœ” A virtual environment already exists at `.venv`. Do you want to replace it? Β· yes
Activate with: source .venv/bin/activate

3. Relevant PyPI Packages and Versions

$ uv --version
uv 0.10.0 (Homebrew 2026-02-05)

πŸ› οΈ To Reproduce

$ brew install uv
$ mkdir ./test-venv
$ cd ./test-venv
$ uv venv --python 3.14
$ source .venv/bin/activate
$ uv pip install "nuitka[onefile]==4.0"

πŸ“‰ Expected Behavior

The Nuitka 4.0 package that was just published on PyPI should be installed.

πŸ“„ Actual Behavior & Output

$ uv pip install "nuitka[onefile]==4.0" 
  Γ— No solution found when resolving dependencies:
  ╰─▢ Because there is no version of nuitka[onefile]==4.0 and you require nuitka[onefile]==4.0, we can conclude that your requirements are unsatisfiable.

πŸ’‘ Additional Context (Optional)

Looks like pip is capable of installing it:

$ python -m pip install --dry-run "Nuitka[onefile]==4.0"
Collecting Nuitka==4.0 (from Nuitka[onefile]==4.0)
  Using cached nuitka-4.0.tar.gz (4.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Would install Nuitka-4.0

uv also skips 4.0 entirely but is capable of resolving to 2.8.10 and install it:

$ uv pip install "nuitka>=2.0"
Resolved 3 packages in 2ms
Installed 1 package in 20ms
 + nuitka==2.8.10

Workaround is to leverage pip via uv:

$ uv --no-progress run python -m pip install "Nuitka[onefile]==4.0.0" 
Collecting Nuitka==4.0.0 (from Nuitka[onefile]==4.0.0)
  Using cached nuitka-4.0.tar.gz (4.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: zstandard>=0.15 in ./.venv/lib/python3.14/site-packages (from Nuitka[onefile]==4.0.0) (0.25.0)
Building wheels for collected packages: Nuitka
  Building wheel for Nuitka (pyproject.toml) ... done
  Created wheel for Nuitka: filename=nuitka-4.0-cp314-cp314-macosx_11_0_arm64.whl size=3585274 sha256=37abb47dd6d95aca53eb249b83c113694b90ec1d7ddeefebda45002cb44c2a65
Successfully built Nuitka
Installing collected packages: Nuitka
  Attempting uninstall: Nuitka
    Found existing installation: Nuitka 2.8.10
    Uninstalling Nuitka-2.8.10:
      Successfully uninstalled Nuitka-2.8.10
Successfully installed Nuitka-4.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions