[Python-modules-team] Bug#922880: :path: parameter fails for subcommands with aliases

Hanno Stock opensource at hanno-stock.de
Thu Feb 21 17:41:00 GMT 2019


Package: python3-sphinx-argparse
Version: 0.1.15-2
Severity: normal
Tags: upstream

Dear Maintainer,

sphinx-argparse fails when trying to document a subcommand for a
subcommand which has aliases defined.

It will throw an Exception in the parser_navigate function and
therefore fail the entire generation process.

I have already reported this bug upstream, see
https://github.com/ribozz/sphinx-argparse/issues/108

This problem is not fixed upstream, yet - so it does apply to
versions in unstable and testing as well.

As soon as upstream has fixed the problem, I'll supply a patch
- I suggest fixing this in stable as well.

The problem does only affect the Python3 version, as subcommand
aliases are not available in Python2.7.

Best regards
  Hanno Stock

-- System Information:
Debian Release: 9.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-sphinx-argparse depends on:
ii  libjs-sphinxdoc          1.4.9-2
ii  python3                  3.5.3-1
ii  python3-sphinx           1.4.9-2
ii  sphinx-rtd-theme-common  0.1.9-1

python3-sphinx-argparse recommends no packages.

python3-sphinx-argparse suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list