Skip to content

Ubuntu-24.04 runner fails with incompatible ansible and python versions #4830

@daniel1302

Description

@daniel1302

The ubuntu that roll to ubuntu latest

Successfully installed MarkupSafe-3.0.3 ansible-compat-25.8.2 ansible-core-2.19.3 ansible-lint-25.9.3.dev9 attrs-25.4.0 black-25.9.0 bracex-2.6 cffi-2.0.0 click-8.3.0 cryptography-46.0.3 distro-1.9.0 filelock-3.20.0 importlib-metadata-8.7.0 jinja2-3.1.6 jsonschema-4.25.1 jsonschema-specifications-2025.9.1 mypy-extensions-1.1.0 packaging-25.0 pathspec-0.12.1 platformdirs-4.5.0 pycparser-2.23 pytokens-0.2.0 pyyaml-6.0.3 referencing-0.37.0 resolvelib-1.2.1 rpds-py-0.28.0 ruamel-yaml-0.18.16 subprocess-tee-0.4.2 wcmatch-10.1 yamllint-1.37.1 zipp-3.23.0
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.14.0/x64/bin/ansible-lint", line 3, in <module>
    from ansiblelint.__main__ import _run_cli_entrypoint
  File "/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/site-packages/ansiblelint/__main__.py", line 36, in <module>
    from ansible_compat.prerun import get_cache_dir
  File "/opt/hostedtoolcache/Python/3.14.0/x64/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.19.3.

Runner version:

 Current runner version: '2.328.0'
Runner Image Provisioner
  Hosted Compute Agent
  Version: 20250912.392
  Commit: d921fda672a98b64f4f82364647e2f10b2267d0b
  Build Date: 2025-09-12T15:23:14Z
Operating System
  Ubuntu
  24.04.3
  LTS
Runner Image
  Image: ubuntu-24.04
  Version: 20250929.60.1
  Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250929.60/images/ubuntu/Ubuntu2404-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250929.60

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugnewTriage required

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions