Skip to content

Nuitka build is buggy #1

@felsenhower

Description

@felsenhower

There seem to be some issues surrounding nuitka and uv on Arch Linux [1][2].

The following workaround can be used to build the nuitka variant:

$ cd nuitka
$ uv export --no-hashes -o requirements.txt
$ rm -rf .venv
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ nuitka --output-filename=partdiff main.py

When aiming for better performance, it makes sense to pass --standalone --lto=yes --clang to nuitka.

If this is fixed in the future, this should possibly work:

$ cd nuitka
$ uv run nuitka --output-filename=partdiff main.py

or maybe even this (probably won't happen though):

$ cd nuitka
$ uv run main.py # <-- nuitka automatically started by uv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions