Package: src:ansible-lint
Version: 26.4.0-1
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 version we found that ansible-lint fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856015/

From the log, the error seems to be:

  test/conftest.py:13: in <module>
      from ansiblelint.testing.fixtures import *  # noqa: F403
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ansiblelint/testing/__init__.py:25: in <module>
      from ansiblelint.runner import Runner
  ansiblelint/runner.py:32: in <module>
      import ansiblelint.utils
  ansiblelint/utils.py:42: in <module>
      from dataclasses import _MISSING_TYPE, dataclass, field
E ImportError: cannot import name '_MISSING_TYPE' from 'dataclasses' (/usr/lib/python3.15/dataclasses.py) E: pybuild pybuild:485: test: plugin […] or test_find_children_in_playbook)" I: pybuild pybuild:390: cp […] ansible-lint-26.4.0/.pybuild/cpython3_3.14/build/

Setting the severity to important for now. Once Python 3.15 is released and later added to python3-defaults, this bug will become release critical.

--
Regards,
Marga

Reply via email to