[Bug 263033] sysutils/py-ansible-lint @py38 6.0.2 fails to run - No module named 'ansible_compat'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Apr 2022 11:28:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263033
Bug ID: 263033
Summary: sysutils/py-ansible-lint @py38 6.0.2 fails to run - No
module named 'ansible_compat'
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: matthew@FreeBSD.org
Reporter: vikashb@where-ever.za.net
Assignee: matthew@FreeBSD.org
Flags: maintainer-feedback?(matthew@FreeBSD.org)
after upgrade to 6.0.2
ansible-lint --version
Traceback (most recent call last):
File "/usr/local/bin/ansible-lint", line 33, in <module>
sys.exit(load_entry_point('ansible-lint==6.0.2', 'console_scripts',
'ansible-lint')())
File "/usr/local/bin/ansible-lint", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.8/site-packages/ansiblelint/__main__.py", line
33, in <module>
from ansible_compat.config import ansible_version
ModuleNotFoundError: No module named 'ansible_compat'
% pkg info | grep ansible
py38-ansible-5.5.0 Radically simple IT automation
py38-ansible-core-2.12.4 Radically simple IT automation
py38-ansible-lint-6.0.2 Checks playbooks for sub-optimal practices and
behaviour
downgrading to 5.2.0 works:
% pkg info | grep ansible
py38-ansible-5.5.0 Radically simple IT automation
py38-ansible-core-2.12.4 Radically simple IT automation
py38-ansible-lint-5.2.0 Checks playbooks for sub-optimal practices and
behaviour
% ansible-lint --version
ansible-lint 5.2.0 using ansible 2.12.4
--
You are receiving this mail because:
You are the assignee for the bug.