Skip to content

Nuitka has extras, wheel, onefile, standalone, all that should be put to use in the docsΒ #125

@kdeldycke

Description

@kdeldycke

Bug Report

πŸ› Bug Description

To make my dependency on Nuitka future-proof, I am declaring it in a requirements.txt file as:

nuitka [onefile] == 2.7.16

Unfortunately the onefile extra group doesn't seems to be recognized.

πŸ–₯️ Environment

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

$ uv run -- nuitka --version                                                                                             
2.7.16
Commercial: None
Python: 3.13.7 (main, Aug 14 2025, 11:12:11) [Clang 17.0.0 (clang-1700.0.13.3)]
Flavor: Homebrew Python
GIL: yes
Executable: ~/code/workflows/.venv/bin/python3
OS: Darwin
Arch: arm64
macOSRelease: 26.0.1
Version C compiler: /usr/bin/clang (clang 17.0.0).
$ uv run python --version   
Python 3.13.7
$ uv --version                                     
uv 0.9.0 (39b688653 2025-10-07)

πŸ› οΈ To Reproduce

Just create an empty venv with uv:

$ mkdir test

$ cd test

$ pip install uv

$ uv venv
Using CPython 3.11.11
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate

$ source .venv/bin/activate

And then try to install Nuitka:

$ uv pip install "nuitka [onefile] == 2.7.16"
Resolved 3 packages in 4ms
Installed 3 packages in 15ms
 + nuitka==2.7.16
 + ordered-set==4.1.0
 + zstandard==0.25.0
warning: The package `nuitka==2.7.16` does not have an extra named `onefile`

πŸ“‰ Expected Behavior

I expect Nuitka to be installed with the extra dependencies from the onefile group, as defined by:

https://github.com/Nuitka/Nuitka/blob/8c24828a20a665d98132cb373562598b3729d743/setup.py#L481

πŸ“„ Actual Behavior & Output

uv warn that onefile does not exist:

warning: The package `nuitka==2.7.16` does not have an extra named `onefile`

πŸ’‘ Additional Context

These new extra groups where added in Nuitka/Nuitka@80102e6

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions