Package: python3-klaus
Version: 1.3.0-2
Severity: important

Dear Maintainer,

the package `python3-klaus' does not list `python3-distutils' as a
dependency, although klaus depends on that library. Trying to start
klaus via uwsgi without `python3-distutils' installed results in this:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/klaus/contrib/wsgi.py", line 2, in 
<module>
        from .app_args import get_args_from_env
      File "/usr/lib/python3/dist-packages/klaus/contrib/app_args.py", line 2, 
in <module>
        from distutils.util import strtobool

This makes klaus unusable until python3-distutils is manually
installed.  Installing `python3-distutils' fixes the problem, so
`python3-klaus' should list it as a dependency.

1. What led up to the situation?
  - I wanted to set up klaus for my Git repositories.
2. What exactly did I do?
  - I installed python3-klaus on a Debian buster system
    freshly set up with debootstrap
  - I installed uwsgi and uwsgi-plugin-python3
  - I configured klaus for uwsgi
  - I started uwsgi
3. What was the outcome of this action?
  - I received the above exception in uwsgi's logfile.
4. What outcome did you expect instead?
  - No exception, but klaus starting properly.

My /etc/uwsg/apps-enabled/klaus.ini, with personal data removed:

    [uwsgi]
    http-socket = 127.0.0.1:5000
    uid = klaus
    gid = klaus
    master = true
    cheaper = 2
    processes = 4
    module = klaus.contrib.wsgi
    plugin = python3
    env = KLAUS_SITE_NAME=[[redacted]]
    env = KLAUS_REPOS=[[redacted]]

Thank you for consideration.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 4.19.34-v7+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
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-klaus depends on:
ii  python3           3.7.2-1
ii  python3-dulwich   0.19.11-2
ii  python3-flask     1.0.2-3
ii  python3-humanize  0.5.1-3
ii  python3-pygments  2.3.1+dfsg-1
ii  python3-six       1.12.0-1
ii  python3-werkzeug  0.14.1+dfsg1-4

Versions of packages python3-klaus recommends:
ii  python3-chardet   3.0.4-3
ii  python3-docutils  0.14+dfsg-4
ii  python3-markdown  3.0.1-3

Versions of packages python3-klaus suggests:
pn  exuberant-ctags       <none>
ii  uwsgi-plugin-python3  2.0.18-1

-- no debconf information

Reply via email to