Skip to content

Version v0.9.2 linting fails due to incompatible ansible-core and Python versions #51

Description

@vknabel

Description

When trying to use the metal-deployment-base, I receive the following error:

$ ansible-lint --profile=production --offline
 Traceback (most recent call last):
   File "/usr/local/bin/ansible-lint", line 3, in <module>
     from ansiblelint.__main__ import _run_cli_entrypoint
   File "/usr/local/lib/python3.14/site-packages/ansiblelint/__main__.py", line 35, in <module>
     from ansible_compat.prerun import get_cache_dir
   File "/usr/local/lib/python3.14/site-packages/ansible_compat/prerun.py", line 22, in <module>
     raise RuntimeError(msg)
 RuntimeError: Python 3.14 requires ansible-core version >= 2.20.0, and we found 2.18.7.

A downgrade to v0.9.1 solved this issue. Related: #50

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

Status
Upcoming

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions