Skip to content

uv fails to install Nuitka>=4 but works for Nuitka<4 - pip can install both #18010

@kdeldycke

Description

@kdeldycke

Summary

Nuitka 4.0 has just been released, but cannot be installed with uv, while its previous versions are working fine.

See how it picks v2.8.10 as the latest available:

$ uv pip install --dry-run "Nuitka[onefile]"
Resolved 3 packages in 2ms
Would download 1 package
Would install 3 packages
 + nuitka==2.8.10
 + ordered-set==4.1.0
 + zstandard==0.25.0

But cannot find the v4.0 published on PyPi:

$ uv pip install --dry-run "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.

A workaround consist in relying on pip to install Nuitka 4.0:

$ uv pip install pip                          
Resolved 1 package in 1.20s
Prepared 1 package in 870ms
Installed 1 package in 9ms
 + pip==26.0

$ uv --no-progress run python -m pip install "Nuitka[onefile]==4.0" 

Collecting Nuitka==4.0 (from Nuitka[onefile]==4.0)
  Using cached nuitka-4.0-cp314-cp314-macosx_11_0_arm64.whl
Collecting zstandard>=0.15 (from Nuitka[onefile]==4.0)
  Downloading zstandard-0.25.0-cp314-cp314-macosx_11_0_arm64.whl.metadata (3.3 kB)
Downloading zstandard-0.25.0-cp314-cp314-macosx_11_0_arm64.whl (640 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 640.7/640.7 kB 980.3 kB/s  0:00:00
Installing collected packages: Nuitka, zstandard
Successfully installed Nuitka-4.0 zstandard-0.25.0

Given that pip is capable of installing this package in the same venv, is it reasonable to expect uv pip install to also works?

This issue had also been reported to Nuitka project at: Nuitka/Nuitka#3749

Platform

macOS Tahoe 26.3 (25D125)

Version

uv 0.10.2 (Homebrew 2026-02-10)

Python version

Python 3.14.3 (main, Feb 4 2026, 01:51:49) [Clang 21.1.4 ] on darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-mreNeeds more information for reproduction, see #9452

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions