Your message dated Fri, 29 Aug 2025 22:09:23 +0000
with message-id <[email protected]>
and subject line Bug#1112474: fixed in python-apischema 0.18.3-2
has caused the Debian Bug report #1112474,
regarding python-apischema: failing autopkgtest with new Pytest 8.4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1112474: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112474
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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: -----------------------]
--- End Message ---
--- Begin Message ---
Source: python-apischema
Source-Version: 0.18.3-2
Done: Tianyu Chen <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-apischema, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tianyu Chen <[email protected]> (supplier of updated python-apischema
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 30 Aug 2025 05:04:13 +0800
Source: python-apischema
Architecture: source
Version: 0.18.3-2
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Tianyu Chen <[email protected]>
Closes: 1112474
Changes:
python-apischema (0.18.3-2) unstable; urgency=medium
.
* Team upload.
* d/patches/pytest-8.4.patch: Fix deprecated pytest imports
Thanks Alexandre Detiste! (Closes: #1112474)
Checksums-Sha1:
0255c7c3bfd9b3a2da370d8037d1f823e51bf8a7 2337 python-apischema_0.18.3-2.dsc
cb234fd6cb14eaa25c464e5159f7de7eb1120c45 2940
python-apischema_0.18.3-2.debian.tar.xz
0a4f54abc22fbc56dc5f6598aab63c05ccf18769 7061
python-apischema_0.18.3-2_source.buildinfo
Checksums-Sha256:
5ea20e1154b11556629500ba81373412f2427e79f3b08826323c2e9a92ac1963 2337
python-apischema_0.18.3-2.dsc
b297a9db6f4f9522f7c2f718c82d60dde603c7dc6a2322ff59a2dde0eb852ea1 2940
python-apischema_0.18.3-2.debian.tar.xz
e4c3085e1ff75bdd710960e39705f86ff974e5badb44385d6266dc443954d6b0 7061
python-apischema_0.18.3-2_source.buildinfo
Files:
0151e4acff98a4dc94828664bc55191c 2337 python optional
python-apischema_0.18.3-2.dsc
87a9524049cca27d7c284925bb6be1be 2940 python optional
python-apischema_0.18.3-2.debian.tar.xz
563ca588f6f66f22167455d607cedfcd 7061 python optional
python-apischema_0.18.3-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmiyGkQACgkQMfMURUSh
dBq10w//dmGHYKhzW/z6nv5w1P/ZmV2fJAe2UQrOpEXVXYGcFDf5eKegMd38dQHF
EFNBV3A94QLBPik+E9xm0SKPG3sazbt1R7CtWlcaBpp2nb50KiyqOkI5TLcQ7Xcq
4dKV6IXFKMYhT52bfkfaFPdDEclSuuKEUnk0gtrCAXFnrho+odaAI0eVe979JlOd
FG6yef1fvm4nWoQPVnfrWo/69gZ61Rv5xksfwefBQQWflvrLW9tNd9+b/G7UW5qo
ngBhLCKCUFyA3mc6B6hVQvqIYjNkMRP4f1bgQfggCY/S80GCFEiRdM57vJsTd/E6
lfdlC+eBqDFWqbP6nTUhsxZtARrhtv8ez8KapzMxPINg/EwshrfTTW67dxA2xlwp
aJmY62XyYM9tNX2pC9PYMGpZVfBvUj6jc5zz6Jd6eLrYdxQ02MTSpTp0AHTU1fmS
WZXSOftxWUKrIlCXDp56p/FuZqTtn0oX14QNE6DMDBfWbHtmdHHbN1WUpHDSrSW0
Koau3pYH/TmUJ/K32N9peO97l4j6GJTZ2qsy3Kya4SmWwy/i/7eyesTsYLYYqkE2
RSHA6fPdLM7vwFjxq+tKDsFbXjlYluL5vMjkzUaZHyFAGC5B2/Rj/96zOegl9t+Q
L6NvJsEjx/t0n0L5z4KVoWk+CZmY4nVIf3qz/Rh1kWK1WAA7Jf8=
=OoPQ
-----END PGP SIGNATURE-----
pgpeacHsuzkZP.pgp
Description: PGP signature
--- End Message ---