Bug#882066: ansible-lint fails with ansible 2.4

2018-01-30 Thread Louis-Philippe Véronneau
Yeah, I can confirm this bug too. It is documented here:
https://github.com/willthames/ansible-lint/issues/278

If it can help, here's two CI jobs trying to do the same thing, one with
the Debian Sid package (fail) and one with the the latest pip version
(working):

Sid (3.4.13): https://salsa.debian.org/pollo-guest/ansible/-/jobs/5503
Pip (3.4.20): https://salsa.debian.org/pollo-guest/ansible/-/jobs/5507

Thanks for packaging this!

-- 
pollo



signature.asc
Description: OpenPGP digital signature


Bug#882066: ansible-lint fails with ansible 2.4

2017-12-30 Thread Víctor Cuadrado Juan
severity 882066 grave
thanks


Bumping severity to RC bug; the package is broken and unusable with the
ansible version both in Testing and Unstable. It could work against Stretch's
ansible package, but ansible-lint isn't available in backports.

Kind regards.

-- 
Víctor Cuadrado Juan   m...@viccuad.me

PGP key ID: 4096R: 0xA2591E231E251F36
Key fingerprint: E3C5 114C 0C5B 4C49 BA03  0991 A259 1E23 1E25 1F36
My signed E-Mails are trustworthy.



signature.asc
Description: OpenPGP digital signature


Bug#882066: ansible-lint fails with ansible 2.4

2017-11-18 Thread Hannes von Haugwitz
Package: ansible-lint
Version: 3.4.13+git.20170811-1-1
Severity: important

Hi,

ansible-lint fails with ansible 2.4:

$ ansible-lint
Traceback (most recent call last):
  File "/usr/bin/ansible-lint", line 11, in 
load_entry_point('ansible-lint==3.4.13', 'console_scripts', 
'ansible-lint')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 572, 
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2769, 
in load_entry_point
return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2422, 
in load
return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2428, 
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/ansiblelint/__init__.py", line 28, in 

import ansiblelint.utils
  File "/usr/lib/python2.7/dist-packages/ansiblelint/utils.py", line 53, in 

from ansible.plugins import module_loader
ImportError: cannot import name module_loader
$

The issue is fixed upstream since 3.4.15.

So please update the package to the latest upstream version.

Thanks and best regards

Hannes


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (900, 'testing'), (200, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages ansible-lint depends on:
ii  ansible  2.4.0.0+dfsg-1
ii  python   2.7.14-1
ii  python-six   1.11.0-1
ii  python-yaml  3.12-1+b1

ansible-lint recommends no packages.

ansible-lint suggests no packages.