Bug#917271: yamllint: requires module pkg_resources but does not depend on it

2018-12-28 Thread Philipp Huebner
Hi,

Am 25.12.18 um 11:15 schrieb Jack Henschel:
> I just installed the `yamllint` package on a pretty fresh Debian Stretch
> system. When running it for the first time the following error occured:
[...]
> Please add the package `python3-pkg-resources` to the Depends-field of
> `yamllint`.

thanks a lot for your report, you're spot on - but not the first.

This has been reported several times already (#860075, #908114) and is
fixed in newer versions of the package - to be part of the next stable
release.

Best wishes,
-- 
 .''`.   Philipp Huebner 
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`
  `-



signature.asc
Description: OpenPGP digital signature


Bug#917271: yamllint: requires module pkg_resources but does not depend on it

2018-12-25 Thread Jack Henschel
Package: yamllint
Version: 1.5.0-1
Severity: important
Tags: patch

Dear maintainer,

I just installed the `yamllint` package on a pretty fresh Debian Stretch
system. When running it for the first time the following error occured:

> yamllint etc/hiera.yaml
> Traceback (most recent call last):
>   File "/usr/bin/yamllint", line 6, in 
> from pkg_resources import load_entry_point
> ImportError: No module named 'pkg_resources'

Apparently the package requires the `pkg_resources` module, but the
package is missing the appropriate dependency.
From `/usr/bin/yamllint`:
> from pkg_resources import load_entry_point

The error was resolved after manually installing the
`python3-pkg-resources` package.

Please add the package `python3-pkg-resources` to the Depends-field of
`yamllint`.

Thanks!

Greetings
Jack



signature.asc
Description: OpenPGP digital signature