-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Operating System
Arch linux
Esptool Version
v5.0.0, v5.0.1
Python Version
3.13.5
Full Esptool Command Line that Was Run
python espefuse.py, python esptool.py
Esptool Output
~/g/esptool ((v5.0.1))> python esptool.py
Traceback (most recent call last):
File "/home/petrkr/git/esptool/esptool.py", line 34, in <module>
import esptool
File "/home/petrkr/git/esptool/esptool/__init__.py", line 306, in <module>
@click.option(
~~~~~~~~~~~~^
"--port-filter",
^^^^^^^^^^^^^^^^
...<4 lines>...
"serial=SUBSTRING.",
^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/click/decorators.py", line 374, in decorator
_param_memo(f, cls(param_decls, **attrs))
~~~^^^^^^^^^^^^^^^^^^^^^^
File "/home/petrkr/git/esptool/esptool/cli_util.py", line 279, in __init__
self.metavar = f"[{self.type.get_metavar(None) or self.type.name.upper()}]"
~~~~~~~~~~~~~~~~~~~~~^^^^^^
TypeError: ParamType.get_metavar() missing 1 required positional argument: 'ctx'
What is the Expected Behaviour?
Working command
More Information
Version v4.9.0 works fine
-
26e86e9 (HEAD) docs(logger): Fix custom logger example code
this is last working commit -
d40fefa feat(cli): Add click-based CLI interface
this commit breaks it
Other Steps to Reproduce
No response