Skip to content

Conversation

@hfudev
Copy link
Member

@hfudev hfudev commented Aug 4, 2025

closes #361

@hfudev hfudev force-pushed the feat/esptool-5-compatible branch from a6ddf2d to b8bf288 Compare August 6, 2025 14:02
@hfudev hfudev requested a review from Copilot August 7, 2025 11:37
@hfudev
Copy link
Member Author

hfudev commented Aug 7, 2025

I'll merge this PR and release a dev version for testing in esp-idf

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to be compatible with esptool version 5 while maintaining backwards compatibility. The changes include conditional dependency management based on Python version and test adjustments to accommodate new esptool behavior.

  • Updates esptool dependency to support version 5 for Python 3.10+ while keeping version 4 for older Python versions
  • Adjusts test expectations to work with both esptool versions
  • Configures pytest to handle warnings and adds CI workflow improvements

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
pytest-embedded-serial-esp/pyproject.toml Splits esptool dependency by Python version to support both v4 and v5
pytest-embedded-idf/tests/test_idf.py Updates test expectation to match new esptool output format
pyproject.toml Adds pytest configuration for warnings and junit format
.github/workflows/test-python.yml Extends CI trigger to include pyproject.toml changes

@hfudev hfudev marked this pull request as ready for review August 7, 2025 11:37
@hfudev hfudev merged commit 77cc926 into main Aug 7, 2025
3 of 5 checks passed
@hfudev hfudev deleted the feat/esptool-5-compatible branch August 7, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

**esp**: Compatible with Esptool 5.x. (RDT-1398)

2 participants