Open porunov opened 1 year ago
I have the same issue with ubuntu 22.04
ccm create t-c1 -v 3.11.1 -n 3 -s
Traceback (most recent call last):
File "/usr/local/bin/ccm", line 107, in <module>
parser = cmd.get_parser()
File "/usr/local/lib/python3.10/dist-packages/ccmlib/cmds/command.py", line 60, in get_parser
get_remote_usage()
File "/usr/local/lib/python3.10/dist-packages/ccmlib/remote.py", line 32, in get_remote_usage
return RemoteOptionsParser().usage()
File "/usr/local/lib/python3.10/dist-packages/ccmlib/remote.py", line 497, in usage
usage = self.parser.format_help().split("optional arguments:")[1]
IndexError: list index out of range
argparse
3.10 changed "optional arguments" to "options" (this commit). Changing the script locally worked.
Check this PR: https://github.com/python/cpython/pull/23858
ccm
doesn't seems to be working on Fedora 37.Installation steps:
pip install ccm
Run test:
ccm create test -v 4.0.0 -n 3 -s