#1 rust-update-set does not work on Python 3.11
Closed by salimma. Opened by salimma.

On Fedora 36 (Python 3.10):

 [fedora-toolbox:36]  python3 -m rust-update-set
Unknown or missing command, please use correct command [update] [push] [build] [check]

On Fedora 37 (Python 3.11):

rust-update-set on  main 
 [fedora-toolbox:37]  python3 -m rust-update-set
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/michel/src/github/yizhengx/rust-update-set/rust-update-set/__main__.py", line 191, in <module>
    main()
  File "/home/michel/src/github/yizhengx/rust-update-set/rust-update-set/__main__.py", line 90, in main
    parser_request_branches = subparsers.add_parser("request-repos", help="Request release branches for all new packages and compat packages")
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/argparse.py", line 1185, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument command: conflicting subparser: request-repos

Metadata Update from @salimma:
- Issue status updated to: Closed (was: Open)

Metadata
Related Pull Requests