Source: python-apischema Version: 0.18.3-1 Severity: serious Dear Maintainer,
autopkgtest started failind with the new Pytest 8.4. Please consider this one-line patch. Greetings Alexandre https://qa.debian.org/excuses.php?package=pytest --- a/tests/unit/test_refs.py +++ b/tests/unit/test_refs.py @@ -2,7 +2,7 @@ from dataclasses import dataclass from typing import Collection, Generic, List, Optional, Sequence, TypeVar import pytest -from _pytest.python_api import raises +from pytest import raises from apischema import settings, type_name from apischema.conversions import Conversion, LazyConversion 36s ==================================== ERRORS ==================================== 36s ___________________ ERROR collecting tests/unit/test_refs.py ___________________ 36s ImportError while importing test module '/tmp/autopkgtest-lxc.8sorbkdb/downtmp/autopkgtest_tmp/tests/unit/test_refs.py'. 36s Hint: make sure your test modules/packages have valid Python names. 36s Traceback: 36s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 36s return _bootstrap._gcd_import(name[level:], package, level) 36s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36s tests/unit/test_refs.py:5: in <module> 36s from _pytest.python_api import raises 36s E ImportError: cannot import name 'raises' from '_pytest.python_api' (/usr/lib/python3/dist-packages/_pytest/python_api.py) 36s =========================== short test summary info ============================ 36s ERROR tests/unit/test_refs.py 36s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 36s =============================== 1 error in 0.26s =============================== 36s autopkgtest [04:20:30]: test run-tests: -----------------------]

