Skip to content

Editable source install does not stage fbuild._native #829

Description

@zackees

A local editable/source install can leave the Python API unusable even though the native fbuild CLI installs successfully.

Repro on Windows from a clean fbuild worktree at merged PR #828 / commit ba50fc5:

uv pip install -e C:\Users\niteris\dev\fbuild\.claude\worktrees\fix-nested-runtime-blocking-subprocess
.venv\Scripts\fbuild.exe --version
.venv\Scripts\python.exe -c "import fbuild"

Result:

fbuild 2.3.13
ModuleNotFoundError: No module named 'fbuild._native'

Expected: editable/source installs should build or stage the PyO3 extension from crates/fbuild-python into python/fbuild/_native.pyd, or otherwise fail the install if the Python API cannot work. FastLED imports from fbuild.api.SerialMonitor, so CLI-only success is insufficient for downstream tests that are correctly using fbuild serial instead of pyserial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions