Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
# wheel version 0.31 has removed metadata.json file
# https://github.com/pypa/wheel/issues/195
# so sticking to 0.30 for now. Could upgrade to wheel 0.31 with code changes
option_requirements = [('pip==24.0', []), ('wheel==0.30', []), ('pyzmq==22.2.1', ['--zmq=bundled'])]
option_requirements = [('pip==24.0', []), ('wheel==0.30', []), ('pyzmq==26.0.2', ['--zmq=bundled'])]


install_requires = ['gevent==21.12.0',
'grequests==0.6.0',
'requests==2.23.0',
install_requires = ['gevent==24.2.1',
'grequests==0.7.0',
'requests==2.31.0',
'idna<3,>=2.5',
'ply==3.11',
'psutil==5.9.1',
Expand Down
7 changes: 6 additions & 1 deletion volttron/platform/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,12 @@ def _take(n):
cli_args.append(arg_string)
continue
# Some kind of option was encountered, so deal with it
action, option_string, explicit_arg = option_tuple
if len(option_tuple) == 3: # Argparse behavior on Python versions < 3.11.9 and < 3.12.3
action, option_string, explicit_arg = option_tuple
elif len(option_tuple) == 4: # Argparse behavior on Python versions >= 3.11.9 and >= 3.12.3
action, option_string, _, explicit_arg = option_tuple
else:
raise ValueError(f'Unable to parse options: "{arg_strings}".')
if explicit_arg is not None:
args = [explicit_arg]
elif action.nargs in [_argparse.REMAINDER, _argparse.PARSER]:
Expand Down