Skip to content

Commit 162abd3

Browse files
authored
Merge pull request #370 from espressif/revert-esptool
revert: esptool 5 requirements. will do it in pytest-embedded 2.x
2 parents 0e40709 + 884c581 commit 162abd3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pytest-embedded-idf/pytest_embedded_idf/serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def flash(self, app: Optional[IdfApp] = None) -> None:
156156
elif v:
157157
_args.append(f'--{k}')
158158
else:
159-
_args.append(f'--{k.replace("_", "-")}')
159+
_args.append(f'--{k}')
160160
if k == 'after':
161161
_args.append('hard_reset')
162162
else:

pytest-embedded-serial-esp/pyproject.toml

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

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

3938
[project.urls]

0 commit comments

Comments
 (0)