You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python 3.14 the output of the help produced by argparse is changed, causing 3 esptool tests to fail.
In tests, there's expected: 'usage: __main__.py [-h]', and actual: usage: python3 -m espefuse [-h], see: https://docs.python.org/dev/whatsnew/3.14.html#argparse
github-actionsbot
changed the title
Python 3.14: new argparse output shows module name instead of __main__.py - causing 3 tests to fail
Python 3.14: new argparse output shows module name instead of __main__.py - causing 3 tests to fail (ESPTOOL-996)
Jan 20, 2025
Operating System
Fedora Linux 43
Esptool Version
4.8.1
Python Version
3.14.0a4
Full Esptool Command Line that Was Run
No response
Esptool Output
What is the Expected Behaviour?
No response
More Information
In Python 3.14 the output of the help produced by argparse is changed, causing 3 esptool tests to fail.
In tests, there's expected:
'usage: __main__.py [-h]'
, and actual:usage: python3 -m espefuse [-h]
, see: https://docs.python.org/dev/whatsnew/3.14.html#argparseFailed tests:
FAILED test/test_espefuse.py::TestReadCommands::test_help
FAILED test/test_espefuse.py::TestReadCommands::test_help2
FAILED test/test_espefuse.py::TestMultipleCommands::test_multiple_cmds_help
Other Steps to Reproduce
No response
The text was updated successfully, but these errors were encountered: