Describe the bug
Changes in the internal APIs of argparse have happened in multiple recent versions of python which break the subclasses of this stdlib module in VOLTTRON. Argparse is more featureful than it was 10 years ago, and it is likely to be unnecessary to continue subclassing the standard library for our functionality to work. Removing this dependency would improve the future stability of the platform.
Additional context
The subclasses for ArgumentParser are found in:
- volttron/utils/argparser.py
- volttron/server/server_argparser.py
Describe the bug
Changes in the internal APIs of argparse have happened in multiple recent versions of python which break the subclasses of this stdlib module in VOLTTRON. Argparse is more featureful than it was 10 years ago, and it is likely to be unnecessary to continue subclassing the standard library for our functionality to work. Removing this dependency would improve the future stability of the platform.
Additional context
The subclasses for ArgumentParser are found in: