Files
esp-idf/tools/requirements/requirements.core.txt
Marek Fiala 8c08c75f48 feat(tools): adopt esp-pylib for idf.py logging and errors
Migrate idf.py and its actions to the shared esp-pylib library:
- add esp-pylib (and esp-pylib[ide]) to the core/ide requirements
- base FatalError on esp_pylib.errors.FatalError, keeping the idf.py ctx cleanup
- replace the local raw-ANSI helpers (red_print/yellow_print/print_warning/
  color_print) with esp_pylib.logger.log (warn/err/note/hint) across the
  idf.py actions
- install esp_pylib exception reporting at the idf.py entry point and silence
  the logger during shell completion
- update affected tests for the new prefixes/line wrapping
- add normalize_output() helper and unify terminal env in conftest to handle
  Rich line-wrapping in CI assertions

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 20:19:07 +08:00

38 lines
776 B
Plaintext

# Python package requirements for ESP-IDF. These are the so called core features which are installed in all systems.
#
# This file lists Python packages without version specifiers. Version details
# are stored in a separate constraints file. For more information, visit:
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/tools/idf-tools.html
setuptools
packaging
click
rich-click
pyserial
cryptography
pyparsing
pyelftools
idf-component-manager>=2.2
esp-coredump
esp-pylib[cli]
esptool
esp-idf-kconfig
esp-idf-monitor
esp-idf-nvs-partition-gen
esp-idf-size
esp-idf-diag
esp-idf-panic-decoder
esp-idf-sbom
pyclang
construct
rich
psutil
# ble's compressed log testing tool
tree_sitter
tree_sitter_c
# gdb extensions dependencies
freertos_gdb
idf_drivers_gdb