openSUSE Bugs
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
June 2024
- 1 participants
- 2251 discussions
01 Jun '24
https://bugzilla.suse.com/show_bug.cgi?id=1225781
Bug ID: 1225781
Summary: ansible lint dependency issues.
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Python
Assignee: python-maintainers(a)suse.com
Reporter: monkeyboyted(a)yahoo.com
QA Contact: qa-bugs(a)suse.de
Target Milestone: ---
Found By: ---
Blocker: ---
I believe I am experience errors with ansible lint. These errors seems like
dependency issues.
Software versions
lsb_release -a
LSB Version: n/a
Distributor ID: openSUSE
Description: openSUSE Tumbleweed
Release: 20240524
Codename: n/a
Information for package ansible-lint:
-------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ansible-lint
Version : 24.5.0-1.1
Arch : noarch
Vendor : openSUSE
Installed Size : 1.9 MiB
Installed : Yes
Status : up-to-date
Source package : ansible-lint-24.5.0-1.1.src
Upstream URL : https://github.com/ansible-community/ansible-lint
Summary : Best practices checker for Ansible
Description :
Checks playbooks for practices and behavior that could potentially be
improved.
python3 --version
Python 3.11.9
ansible-lint .
Traceback (most recent call last):
File "/usr/bin/ansible-lint", line 5, in <module>
from ansiblelint.__main__ import _run_cli_entrypoint
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 49, in
<module>
from ansiblelint import cli
File "/usr/lib/python3.11/site-packages/ansiblelint/cli.py", line 30, in
<module>
from ansiblelint.yaml_utils import clean_json
File "/usr/lib/python3.11/site-packages/ansiblelint/yaml_utils.py", line 34,
in <module>
from ansiblelint.utils import Task
File "/usr/lib/python3.11/site-packages/ansiblelint/utils.py", line 62, in
<module>
from ansiblelint.app import App, get_app
File "/usr/lib/python3.11/site-packages/ansiblelint/app.py", line 25, in
<module>
from ansiblelint.requirements import Reqs
File "/usr/lib/python3.11/site-packages/ansiblelint/requirements.py", line 3,
in <module>
import importlib_metadata
ModuleNotFoundError: No module named 'importlib_metadata'
doof@localhost:~/gitrepo/ansible-docker-keycloak> ansible-lint .
Traceback (most recent call last):
File "/usr/bin/ansible-lint", line 5, in <module>
from ansiblelint.__main__ import _run_cli_entrypoint
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 49, in
<module>
from ansiblelint import cli
File "/usr/lib/python3.11/site-packages/ansiblelint/cli.py", line 30, in
<module>
from ansiblelint.yaml_utils import clean_json
File "/usr/lib/python3.11/site-packages/ansiblelint/yaml_utils.py", line 34,
in <module>
from ansiblelint.utils import Task
File "/usr/lib/python3.11/site-packages/ansiblelint/utils.py", line 62, in
<module>
from ansiblelint.app import App, get_app
File "/usr/lib/python3.11/site-packages/ansiblelint/app.py", line 25, in
<module>
from ansiblelint.requirements import Reqs
File "/usr/lib/python3.11/site-packages/ansiblelint/requirements.py", line 3,
in <module>
import importlib_metadata
ModuleNotFoundError: No module named 'importlib_metadata'
The following 2 NEW packages are going to be installed:
python311-importlib-metadata python311-zipp
2 new packages to install.
Overall download size: 100.0 KiB. Already cached: 0 B. After the operation,
additional 278.3 KiB will be used.
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python311-zipp-3.18.1-1.2.noarch (openSUSE-Tumbleweed-Oss)
(1/2), 30.0 KiB
Retrieving: python311-zipp-3.18.1-1.2.noarch.rpm
..........................................................................................................................................................................................................[done
(20.5 KiB/s)]
Retrieving: python311-importlib-metadata-7.1.0-1.2.noarch
(openSUSE-Tumbleweed-Oss)
(2/2), 70.0 KiB
Retrieving: python311-importlib-metadata-7.1.0-1.2.noarch.rpm
.............................................................................................................................................................................................[done
(77.4 KiB/s)]
Checking for file conflicts:
...........................................................................................................................................................................................................................................[done]
(1/2) Installing: python311-zipp-3.18.1-1.2.noarch
.....................................................................................................................................................................................................................[done]
(2/2) Installing: python311-importlib-metadata-7.1.0-1.2.noarch
........................................................................................................................................................................................................[done]
Running post-transaction scripts
.......................................................................................................................................................................................................................................[done]
doof@localhost:~/gitrepo/ansible-docker-keycloak> ansible-lint .
Traceback (most recent call last):
File "/usr/bin/ansible-lint", line 8, in <module>
sys.exit(_run_cli_entrypoint())
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 407,
in _run_cli_entrypoint
sys.exit(main(sys.argv))
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 346,
in main
app = get_app(offline=None) # to be sure we use the offline value from
settings
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/app.py", line 428, in
get_app
app = App(options=options)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/app.py", line 58, in
__init__
self.reqs = Reqs("ansible-lint")
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/requirements.py", line
16, in __init__
for req_str in importlib_metadata.metadata(name).json["requires_dist"]:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'requires_dist'
doof@localhost:~/gitrepo/ansible-docker-keycloak>
doof@localhost:~/gitrepo/ansible-docker-keycloak> zypper se ansible-lint
Loading repository data...
Reading installed packages...
--
You are receiving this mail because:
You are on the CC list for the bug.
1
1