Description of problem: ansible-lint broken in Mageia 9 exiting with python error due to a missing file Version-Release number of selected component (if applicable): ansible-lint-6.11.0-1.mga9 How reproducible: Each time. Steps to Reproduce: $ ansible-lint ../ansible/check_backend.yml 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.10/site-packages/ansiblelint/__main__.py", line 40, in <module> from ansiblelint import cli File "/usr/lib/python3.10/site-packages/ansiblelint/cli.py", line 12, in <module> from ansiblelint.config import DEFAULT_KINDS, DEFAULT_WARN_LIST, PROFILES File "/usr/lib/python3.10/site-packages/ansiblelint/config.py", line 100, in <module> PROFILES = yaml_from_file(Path(__file__).parent / "data" / "profiles.yml") File "/usr/lib/python3.10/site-packages/ansiblelint/loaders.py", line 23, in yaml_from_file with open(str(filepath), encoding="utf-8") as content: FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.10/site-packages/ansiblelint/data/profiles.yml'
ansible-lint-6.21.1 pushed to mga9 to fix this.
Assignee: bruno => qa-bugsStatus: NEW => ASSIGNED
CC: (none) => bruno
CC: (none) => mageia
Advisory added to SVN, it can be seen here: https://svnweb.mageia.org/advisories/32419.adv?view=markup&pathrev=15403 Does this SRPM provide more packages than just ansible-lint-6.21.1-1.mga9.noarch.rpm ?
CC: (none) => marja11Keywords: (none) => advisory
No just ansible-lint-6.21.1-1.mga9.noarch.rpm I've used it without issue on a roject whereas the previous didn't work at all.
Sorry, the following package cannot be selected: - ansible-lint-6.21.1-1.mga9.noarch (due to unsatisfied python3.10dist(ansible-compat)[>= 4.1.10])
CC: (none) => herman.viaene
Same thing happened here.
CC: (none) => tarazed25
Assignee: qa-bugs => brunoSource RPM: ansible-lint-6.11.0-1.mga9 => ansible-lint-6.11.0-1.mga9,python-ansible-compat-2.2.7-1.mga9
Bruno, please import python3-ansible-compat-4.1.10-1 to mageia 9 to make works this update
(Removing the advisory keyword, so I won't forget to update it for new python-ansible-compat when it lands in updates_testing)
Keywords: advisory => (none)
(In reply to katnatek from comment #6) > Bruno, please import python3-ansible-compat-4.1.10-1 to mageia 9 to make > works this update I'm not sure I understand that. On my system, I do have python3-ansible-compat-2.2.7-1.mga9 which is part of the distro already. So I think that I just need to add it as a dependency of ansible-lint so it works for others (didn't realize it was needed). thus I've submitted ansible-lint-6.21.1-1.1.mga9 to the build system in order it could be tested to solve the deps issues.
Assignee: bruno => qa-bugs
The advisory in SVN has been updated with ansible-lint-6.21.1-1.1.mga9
Keywords: (none) => advisory
Source RPM: ansible-lint-6.11.0-1.mga9,python-ansible-compat-2.2.7-1.mga9 => ansible-lint-6.11.0-1.mga9
Bruno the new package complain the same LC_ALL=C urpmi --test ansible-lint A requested package cannot be installed: ansible-lint-6.21.1-1.1.mga9.noarch (due to unsatisfied python3.10dist(ansible-compat)[>= 4.1.10]) Continue installation anyway? (Y/n) y Installation is possible While some packages may have been installed, there were failures. A requested package cannot be installed: ansible-lint-6.21.1-1.1.mga9.noarch (due to unsatisfied python3.10dist(ansible-compat)[>= 4.1.10]) Continue installation anyway?
(In reply to katnatek from comment #10) > A requested package cannot be installed: > ansible-lint-6.21.1-1.1.mga9.noarch (due to unsatisfied > python3.10dist(ansible-compat)[>= 4.1.10]) I was too fast, removing the "advisory" keyword again.
Source RPM: ansible-lint-6.11.0-1.mga9 => ansible-lint-6.11.0-1.mga9, python-ansible-compat-2.2.7-1.mga9Keywords: advisory => (none)
Assignee: qa-bugs => bruno
So I had to update some python deps before being able to install it: python-ansible-compat-4.1.10-1.1.mga9 python-yamllint-1.32.0-1.1.mga9 python-requests-2.31.0-1.1.mga9 However that last one doesn't want to build on the buid system (whereas it builds locally due to dependency issue. So I also added python-urllib3-1.26.18-3.1.mga9 in order to help building it, but it still doesn't work whereas it works for cauldron. Strangely enough, ansible-lint-6.21.1-1.1.mga9.noarch is installable now with these new deps available in my mga 9 freshly built docker container. Will continue to see why that's not the case on the BS.
Ok so now python-requests-2.31.0-1.1.mga9 has also been updated correctly so you should finally be able to test ansible-lint.
Thanks, Brunom so the following SRPMs need to be added to the advisory: python-ansible-compat-4.1.10-1.1.mga9 python-yamllint-1.32.0-1.1.mga9 python-urllib3-1.26.18-3.1.mga9 python-requests-2.31.0-1.1.mga9
Source RPM: ansible-lint-6.11.0-1.mga9, python-ansible-compat-2.2.7-1.mga9 => ansible-lint-6.11.0-1.mga9, python-ansible-compat-2.2.7-1.mga9, python-yamllint, python-urllib3, python-requests
(In reply to Marja Van Waes from comment #14) > > python-ansible-compat-4.1.10-1.1.mga9 > python-yamllint-1.32.0-1.1.mga9 > python-urllib3-1.26.18-3.1.mga9 > python-requests-2.31.0-1.1.mga9 Advisory updated with the above SRPMs
Maybe no all packages are needed to test this update, but I list all the packages I found from the src.rpms mentioned Available Packages in 9/core/updates_testing ############################################ ansible-lint-6.21.1-1.1.mga9 python3-ansible-compat-4.1.10-1.1.mga9 python3-yamllint-1.32.0-1.1.mga9 python3-urllib3+brotli-1.26.18-3.1.mga9 python3-urllib3+socks-1.26.18-3.1.mga9 python3-urllib3-1.26.18-3.1.mga9 python3-requests+socks-2.31.0-1.1.mga9 python3-requests-2.31.0-1.1.mga9.noarch From SRPMS ############################################ ansible-lint-6.21.1-1.1.mga9 python-ansible-compat-4.1.10-1.1.mga9 python-yamllint-1.32.0-1.1.mga9 python-urllib3-1.26.18-3.1.mga9 python-requests-2.31.0-1.1.mga9
Status comment: (none) => Packages to test in comment#16
Tested in Real Hardware Mageia 9 x86_64 Finally install without issues LC_ALL=C urpmi ansible-lint To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "QA Testing (64-bit)") ansible-lint 6.21.1 1.1.mga9 noarch python3-ansible-compat 4.1.10 1.1.mga9 noarch python3-requests 2.31.0 1.1.mga9 noarch python3-yamllint 1.32.0 1.1.mga9 noarch (medium "Core Release") black 23.1.0 1.mga9 noarch python3-aiodns 3.0.0 3.mga9 noarch (recommended) python3-aiohttp 3.8.3 3.mga9 x86_64 (recommended) python3-aiohttp-cors 0.7.0 4.mga9 noarch (recommended) python3-aiosignal 1.3.1 1.mga9 noarch (recommended) python3-ansible-core 2.14.2~rc1 3.mga9 noarch python3-async-timeout 4.0.2 2.mga9 noarch (recommended) python3-attrs 22.2.0 1.mga9 noarch python3-bracex 2.2.1 2.mga9 noarch python3-cffi 1.15.1 1.mga9 x86_64 python3-click 8.1.3 1.mga9 noarch python3-commonmark 0.9.1 3.mga9 noarch python3-cryptography 39.0.1 1.mga9 x86_64 python3-enrich 1.2.7 3.mga9 noarch python3-frozenlist 1.3.1 1.mga9 x86_64 (recommended) python3-future 0.18.3 1.mga9 noarch python3-jsonschema 4.17.3 1.mga9 noarch python3-multidict 6.0.2 2.mga9 x86_64 (recommended) python3-mypy_extensions 1.0.0 1.mga9 noarch python3-pathspec 0.10.3 1.mga9 noarch python3-platformdirs 2.6.0 1.mga9 noarch python3-ply 3.11 8.mga9 noarch python3-pycares 4.2.2 1.mga9 x86_64 (recommended) python3-pycparser 2.20 4.mga9 noarch python3-pyrsistent 0.18.1 3.mga9 x86_64 python3-resolvelib 0.9.0 1.mga9 noarch python3-rich 13.1.0 1.mga9 noarch python3-ruamel-yaml 0.17.21 3.mga9 x86_64 python3-ruamel-yaml-clib 0.2.6 4.mga9 x86_64 python3-subprocess-tee 0.4.1 1.mga9 noarch python3-tomli 2.0.1 1.mga9 noarch python3-typing-extensions 4.2.0 2.mga9 noarch (recommended) python3-wcmatch 8.4.1 1.mga9 noarch python3-yaml 6.0 1.mga9 x86_64 python3-yarl 1.8.1 1.mga9 x86_64 (recommended) 39MB of additional disk space will be used. 11MB of packages will be retrieved. Proceed with the installation of the 39 packages? (Y/n) y https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-bracex-2.2.1-2.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-pathspec-0.10.3-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-async-timeout-4.0.2-2.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-click-8.1.3-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-pycparser-2.20-4.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-aiodns-3.0.0-3.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/black-23.1.0-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-pycares-4.2.2-1.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-frozenlist-1.3.1-1.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-tomli-2.0.1-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-aiosignal-1.3.1-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-jsonschema-4.17.3-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-platformdirs-2.6.0-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-multidict-6.0.2-2.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-pyrsistent-0.18.1-3.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-enrich-1.2.7-3.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-aiohttp-cors-0.7.0-4.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-cffi-1.15.1-1.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-commonmark-0.9.1-3.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-aiohttp-3.8.3-3.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-typing-extensions-4.2.0-2.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-wcmatch-8.4.1-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-ruamel-yaml-clib-0.2.6-4.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-mypy_extensions-1.0.0-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-attrs-22.2.0-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-cryptography-39.0.1-1.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-ply-3.11-8.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-resolvelib-0.9.0-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-ansible-core-2.14.2~rc1-3.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-ruamel-yaml-0.17.21-3.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-subprocess-tee-0.4.1-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-yarl-1.8.1-1.mga9.x86_64.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-rich-13.1.0-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-future-0.18.3-1.mga9.noarch.rpm https://mirrors.kernel.org/mageia/distrib/9/x86_64/media/core/release/python3-yaml-6.0-1.mga9.x86_64.rpm installing /var/cache/urpmi/rpms/python3-attrs-22.2.0-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-resolvelib-0.9.0-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-ply-3.11-8.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-cryptography-39.0.1-1.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-ansible-core-2.14.2~rc1-3.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-ruamel-yaml-0.17.21-3.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-subprocess-tee-0.4.1-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-yarl-1.8.1-1.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-rich-13.1.0-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-future-0.18.3-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-yaml-6.0-1.mga9.x86_64.rpm //home/katnatek/qa-testing/x86_64/python3-ansible-compat-4.1.10-1.1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-cffi-1.15.1-1.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-commonmark-0.9.1-3.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-aiohttp-3.8.3-3.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-typing-extensions-4.2.0-2.mga9.noarch.rpm //home/katnatek/qa-testing/x86_64/ansible-lint-6.21.1-1.1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-wcmatch-8.4.1-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-ruamel-yaml-clib-0.2.6-4.mga9.x86_64.rpm //home/katnatek/qa-testing/x86_64/python3-requests-2.31.0-1.1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-mypy_extensions-1.0.0-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-aiosignal-1.3.1-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-jsonschema-4.17.3-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-platformdirs-2.6.0-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-multidict-6.0.2-2.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-enrich-1.2.7-3.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-pyrsistent-0.18.1-3.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-aiohttp-cors-0.7.0-4.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-bracex-2.2.1-2.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-pathspec-0.10.3-1.mga9.noarch.rpm //home/katnatek/qa-testing/x86_64/python3-yamllint-1.32.0-1.1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-async-timeout-4.0.2-2.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-click-8.1.3-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-pycparser-2.20-4.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-aiodns-3.0.0-3.mga9.noarch.rpm /var/cache/urpmi/rpms/black-23.1.0-1.mga9.noarch.rpm /var/cache/urpmi/rpms/python3-frozenlist-1.3.1-1.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-pycares-4.2.2-1.mga9.x86_64.rpm /var/cache/urpmi/rpms/python3-tomli-2.0.1-1.mga9.noarch.rpm Preparing... ################################################################################################### 1/39: python3-pathspec ################################################################################################### 2/39: python3-yaml ################################################################################################### 3/39: python3-frozenlist ################################################################################################### 4/39: python3-multidict ################################################################################################### 5/39: python3-attrs ################################################################################################### 6/39: python3-yarl ################################################################################################### 7/39: python3-aiosignal ################################################################################################### 8/39: python3-yamllint ################################################################################################### 9/39: python3-tomli ################################################################################################### 10/39: python3-click ################################################################################################### 11/39: python3-async-timeout ################################################################################################### 12/39: python3-bracex ################################################################################################### 13/39: python3-wcmatch ################################################################################################### 14/39: python3-pyrsistent ################################################################################################### 15/39: python3-jsonschema ################################################################################################### 16/39: python3-platformdirs ################################################################################################### 17/39: python3-mypy_extensions ################################################################################################### 18/39: python3-requests ################################################################################################### 19/39: python3-ruamel-yaml-clib ################################################################################################### 20/39: python3-ruamel-yaml ################################################################################################### 21/39: python3-typing-extensions ################################################################################################### 22/39: python3-ansible-compat ################################################################################################### 23/39: python3-future ################################################################################################### 24/39: python3-commonmark ################################################################################################### 25/39: python3-rich ################################################################################################### 26/39: python3-enrich ################################################################################################### 27/39: python3-subprocess-tee ################################################################################################### 28/39: python3-ply ################################################################################################### 29/39: python3-pycparser ################################################################################################### 30/39: python3-cffi ################################################################################################### 31/39: python3-cryptography ################################################################################################### 32/39: python3-pycares ################################################################################################### 33/39: python3-aiodns ################################################################################################### 34/39: python3-aiohttp ################################################################################################### 35/39: python3-aiohttp-cors ################################################################################################### 36/39: black ################################################################################################### 37/39: python3-resolvelib ################################################################################################### 38/39: python3-ansible-core ################################################################################################### 39/39: ansible-lint ################################################################################################### 1/1: removing python3-requests-2.28.2-2.mga9.noarch ###################################################################################################
(In reply to Bruno Cornec from comment #12) > So I had to update some python deps before being able to install it: > > python-ansible-compat-4.1.10-1.1.mga9 > python-yamllint-1.32.0-1.1.mga9 > python-requests-2.31.0-1.1.mga9 > > However that last one doesn't want to build on the buid system (whereas it > builds locally due to dependency issue. So I also added > > python-urllib3-1.26.18-3.1.mga9 > FYI. All these pkgs are having subrels incorrectly defined. Subrel should not be used if a new version is pushed to stable Mageia as an update. New versions in stable Mageia should be always starting from %mkrel 1. Only the next bug fix releases after the new version should be using subrel. According to our updates policy (https://wiki.mageia.org/en/Updates_policy): - If the version didn't change, leave mkrel as is and '%define subrel 1' - If it's an update to a new version: use '%mkrel 1' without subrel
Ok, so fixed that: Packages are now: python-ansible-compat-4.1.10-2.mga9 python-yamllint-1.32.0-2.mga9 python-requests-2.31.0-2.mga9 python-urllib3-1.26.18-4.mga9 for ansible-lint-6.21.1-1.mga9.noarch.rpm I alos bumped mkrel for cauldron for python-ansible-compat, python-yamllint, python-urllib3. Hope this is correct this time.
Works, but rel bump only in cauldron would have been enough. We will have problem again if we need to push new release to Mageia 9 without touching cauldron pkg.
So Jani what do you recommend ?
Advisory in SVN has been updated to: src: 9: core: - ansible-lint-6.21.1-1.1.mga9 - python-ansible-compat-4.1.10-2.mga9 - python-yamllint-1.32.0-2.mga9 - python-yamllint-1.32.0-2.mga9 - python-requests-2.31.0-2.mga9
(In reply to Bruno Cornec from comment #21) > So Jani what do you recommend ? Leave things as they're now.
Testing in a VirtualBox MGA9-64 Plasma guest Using the rpm list from comment 16 in qarepo with the "fuzzy version" function active, I get these packages: ansible-lint-6.21.1-1.1.mga9.noarch.rpm python3-ansible-compat-4.1.10-2.mga9.noarch.rpm python3-requests+socks-2.31.0-2.mga9.noarch.rpm python3-requests-2.31.0-2.mga9.noarch.rpm python3-urllib3+brotli-1.26.18-4.mga9.noarch.rpm python3-urllib3+socks-1.26.18-4.mga9.noarch.rpm python3-urllib3-1.26.18-4.mga9.noarch.rpm python3-yamllint-1.32.0-2.mga9.noarch.rpm I went to MCC, and installed ansible plus dependencies: The following 28 packages are going to be installed: - ansible-lint-6.21.1-1.1.mga9.noarch - black-23.1.0-1.mga9.noarch - python3-aiodns-3.0.0-3.mga9.noarch - python3-aiohttp-3.8.3-3.mga9.x86_64 - python3-aiohttp-cors-0.7.0-4.mga9.noarch - python3-aiosignal-1.3.1-1.mga9.noarch - python3-ansible-compat-4.1.10-2.mga9.noarch - python3-ansible-core-2.14.2~rc1-3.mga9.noarch - python3-async-timeout-4.0.2-2.mga9.noarch - python3-bracex-2.2.1-2.mga9.noarch - python3-commonmark-0.9.1-3.mga9.noarch - python3-enrich-1.2.7-3.mga9.noarch - python3-filelock-3.8.0-1.mga9.noarch - python3-frozenlist-1.3.1-1.mga9.x86_64 - python3-future-0.18.3-1.mga9.noarch - python3-multidict-6.0.2-2.mga9.x86_64 - python3-mypy_extensions-1.0.0-1.mga9.noarch - python3-pathspec-0.10.3-1.mga9.noarch - python3-pycares-4.2.2-1.mga9.x86_64 - python3-requests-2.31.0-2.mga9.noarch - python3-resolvelib-0.9.0-1.mga9.noarch - python3-rich-13.1.0-1.mga9.noarch - python3-ruamel-yaml-0.17.21-3.mga9.x86_64 - python3-ruamel-yaml-clib-0.2.6-4.mga9.x86_64 - python3-subprocess-tee-0.4.1-1.mga9.noarch - python3-wcmatch-8.4.1-1.mga9.noarch - python3-yamllint-1.32.0-2.mga9.noarch - python3-yarl-1.8.1-1.mga9.x86_64 python3-urllib3 was already installed, and the new package picked up as an update. Running the command from comment 0: $ ansible-lint ../ansible/check_backend.yml Traceback (most recent call last): File "/usr/bin/ansible-lint", line 8, in <module> sys.exit(_run_cli_entrypoint()) File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 391, in _run_cli_entrypoint sys.exit(main(sys.argv)) File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 282, in main initialize_options(argv[1:]) File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 113, in initialize_options new_options = cli.get_config(arguments or []) File "/usr/lib/python3.10/site-packages/ansiblelint/cli.py", line 604, in get_config project_dir, method = find_project_root( File "/usr/lib/python3.10/site-packages/ansiblelint/file_utils.py", line 506, in find_project_root if resolved_cfg_path.is_file(): File "/usr/lib64/python3.10/pathlib.py", line 1322, in is_file return S_ISREG(self.stat().st_mode) File "/usr/lib64/python3.10/pathlib.py", line 1097, in stat return self._accessor.stat(self, follow_symlinks=follow_symlinks) PermissionError: [Errno 13] Permission denied: '/.config/ansible-lint.yml' As you can see, it ended with a permission error, different from the error the reporter saw, but an error nonetheless. Because I am unfamiliar with this, I have no idea if this error is to be expected. Looking for a bit of guidance.
CC: (none) => andrewsfarm
Keywords: (none) => feedback
My fault, you need an exemaple file to be able to perform the test. I'm attaching one. Save it as test.yml and then run ansible-lint test.yml in the directory where you saved it. It should give you that type of result: WARNING Listing 1 violation(s) that are fatal load-failure[runtimeerror]: Failed to load YAML file /users/daily/bruno/prj/wod-backend/ansible/check_backend.yml:1 while parsing a quoted scalar in "<unicode string>", line 156, column 15 found unknown escape character in "<unicode string>", line 156, column 73 Rule Violation Summary count tag profile rule associated tags 1 load-failure[runtimeerror] min core, unskippable Failed: 1 failure(s), 0 warning(s) on 1 files. A new release of ansible-lint is available: 6.21.1 → 6.22.1 The fact that it finds issues is a good sign it works as expeced ;-)
Created attachment 14265 [details] YAML test file
Tested in Real Hardware magei 9 x86_64 lxqt Install current version of ansible-lint Test with the sample file and reproduce the crash Update to testing version, it gets the new requires Test successfully with the sample file as in comment#25
Whiteboard: (none) => MGA9-64-OKKeywords: feedback => (none)
Validating.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0009.html
Resolution: (none) => FIXEDStatus: ASSIGNED => RESOLVED
python3-urllib3 packages was not moved python-urllib3-1.26.18-4.mga9 is mising in advisory https://svnweb.mageia.org/advisories/32419.adv?view=markup
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
Assignee: qa-bugs => sysadmin-bugs
CC: (none) => j.alberto.vc
(In reply to katnatek from comment #30) > python3-urllib3 packages was not moved python-urllib3-1.26.18-4.mga9 is > mising in advisory https://svnweb.mageia.org/advisories/32419.adv?view=markup Another SRPM was duplicated and this one was missing. The advisory has been corrected and I've asked neoclust in Matrix to move the last SRPM
(In reply to Marja Van Waes from comment #22) > Advisory in SVN has been updated to: > > > src: > 9: > core: > - ansible-lint-6.21.1-1.1.mga9 > - python-ansible-compat-4.1.10-2.mga9 > - python-yamllint-1.32.0-2.mga9 > - python-yamllint-1.32.0-2.mga9 > - python-requests-2.31.0-2.mga9 Oh, it was my mistake /o\ And I didn't even see it when I wrote this.
(In reply to Marja Van Waes from comment #32) > Oh, it was my mistake /o\ Only those who do something can make mistakes !! So thanks for you and also the full QA team for their hard work helping having a great distro :-)
Mr Nicolas Lécureuil, please give a look to the missing (src).rpms in this bug python3-urllib3+brotli-1.26.18-4.mga9.noarch.rpm python3-urllib3+socks-1.26.18-4.mga9.noarch.rpm python3-urllib3-1.26.18-4.mga9.noarch.rpm From python-urllib3-1.26.18-4.mga9
just did it. Should be OK soon
(In reply to Nicolas Lécureuil from comment #35) > just did it. Should be OK soon Fixed now, thak you
Resolution: (none) => FIXEDStatus: REOPENED => RESOLVED