Skip to content

Python reset tests use stale _native.pyd in repo checkout #75

@zackees

Description

@zackees

The ESP32-S3 reset integration is blocked in a clean checkout because python/fbuild/_native.pyd is stale relative to crates/fbuild-python/src/lib.rs.

Repro on the attached COM13 board:

  1. cargo build -p fbuild-python
  2. python -m pytest tests/test_serial_reset.py -q
  3. The import resolves to python/fbuild/_native.pyd, which in this checkout does not expose SerialMonitor.reset_device.
  4. If I stage the fresh target/debug/_native.dll into a temp package and rerun, the method exists and the HTTP reset returns success.

Observed behavior:

  • Plain python -m pytest tests/test_serial_reset.py -q fails with ModuleNotFoundError or AttributeError depending on the import path.
  • The repo docs imply the Python package should re-export the Rust _native extension, but the checked-in binary is out of sync with the source.

This blocks physical-board validation unless the package is rebuilt/installed first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions