Skip to content

Commit ebfe32f

Browse files
committed
feat(esp): compatible with esptool 5
1 parent a281684 commit ebfe32f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pytest-embedded-idf/tests/test_idf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def test_idf_serial_flash_with_erase_nvs(testdir):
197197
import pytest
198198
199199
def test_idf_serial_flash_with_erase_nvs(dut):
200-
dut.expect('Erasing region') # from "erase-nvs"
200+
dut.expect('region') # from "erase-nvs"
201201
dut.expect('Hash of data verified.') # from flash
202202
dut.expect('Hello world!')
203203
dut.expect('Restarting')

pytest-embedded-serial-esp/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ requires-python = ">=3.7"
3232

3333
dependencies = [
3434
"pytest-embedded-serial~=1.16.1",
35-
"esptool~=4.9",
35+
"esptool>=4.9,<5; python_version<'3.10'",
36+
"esptool>=5.1.dev1,<6; python_version>='3.10'",
3637
]
3738

3839
[project.urls]

0 commit comments

Comments
 (0)