Your message dated Fri, 20 Nov 2026 08:49:24 +0000
with message-id <[email protected]>
and subject line Bug#1154536: fixed in pyrail 0.6.1-2
has caused the Debian Bug report #1154536,
regarding pyrail: FTBFS and failing autopkgtests with Python 3.15
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.)
--
1154536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pyrail
Version: 0.6.1-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: [email protected]
Dear Maintainer,
pyrail's test suite generates new DeprecationWarning output with Python
3.15 which causes pytest to fail the test suite. This causes a FTBFS
when rebuilding the current package and also causes the autopkgtests to
fail.
The DeprecationWarning does not come from pyrail's own source but from
a dependency; pyrail needs to ignore the DeprecationWarning in its
pytest config until the dependency updates.
//---
D: pybuild tools:297: invoking: cd
/build/pyrail-36hWG7/pyrail-0.6.1/.pybuild/cpython3_3.15/build; python3.15 -m
pytest -k "not test_get_stations and not test_get_stations and not
test_get_liveboard and not test_get_connections and not test_get_vehicle and
not test_get_composition and not test_get_disturbances and not
test_liveboard_with_date_time"
============================= test session starts ==============================
platform linux -- Python 3.15.2, pytest-9.1.1, pluggy-1.6.0
rootdir: /build/pyrail-36hWG7/pyrail-0.6.1/.pybuild/cpython3_3.15/build
configfile: pyproject.toml
testpaths: tests
plugins: asyncio-1.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None,
asyncio_default_test_loop_scope=function
collected 0 items / 3 errors
==================================== ERRORS ====================================
_________________________ ERROR collecting tests/live __________________________
/usr/lib/python3.15/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1389: in _gcd_import
???
<frozen importlib._bootstrap>:1353: in _find_and_load
???
<frozen importlib._bootstrap>:1249: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:857: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:188: in exec_module
exec(co, module.__dict__)
tests/live/conftest.py:14: in <module>
from pyrail.irail import IRail
pyrail/__init__.py:14: in <module>
from .irail import IRail
pyrail/irail.py:25: in <module>
from pyrail.models import (
pyrail/models.py:62: in <module>
class ApiResponse(DataClassORJSONMixin):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in
compile_mixin_unpacker
builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:578: in
add_unpack_method
self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:483: in
_add_unpack_method_lines
).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1324: in
build
unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:222: in get
expr = packer(spec)
^^^^^^^^^^^^
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/unpack.py:1256: in
unpack_collection
if issubclass(spec.origin_type, typing.ByteString): # type: ignore
^^^^^^^^^^^^^^^^^
/usr/lib/python3.15/typing.py:3907: in __getattr__
warnings._deprecated(
/usr/lib/python3.15/_py_warnings.py:892: in _deprecated
_wm.warn(msg, DeprecationWarning, stacklevel=3)
E DeprecationWarning: 'typing.ByteString' and 'collections.abc.ByteString'
are deprecated and slated for removal in Python 3.17
_____________________ ERROR collecting tests/test_irail.py _____________________
tests/test_irail.py:19: in <module>
import pyrail
pyrail/__init__.py:14: in <module>
from .irail import IRail
pyrail/irail.py:25: in <module>
from pyrail.models import (
pyrail/models.py:62: in <module>
class ApiResponse(DataClassORJSONMixin):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in
compile_mixin_unpacker
builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:578: in
add_unpack_method
self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:483: in
_add_unpack_method_lines
).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1324: in
build
unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:222: in get
expr = packer(spec)
^^^^^^^^^^^^
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/unpack.py:1256: in
unpack_collection
if issubclass(spec.origin_type, typing.ByteString): # type: ignore
^^^^^^^^^^^^^^^^^
/usr/lib/python3.15/typing.py:3907: in __getattr__
warnings._deprecated(
/usr/lib/python3.15/_py_warnings.py:892: in _deprecated
_wm.warn(msg, DeprecationWarning, stacklevel=3)
E DeprecationWarning: 'typing.ByteString' and 'collections.abc.ByteString'
are deprecated and slated for removal in Python 3.17
________________ ERROR collecting tests/test_live_api_helper.py ________________
tests/test_live_api_helper.py:11: in <module>
from tests.live.live_api import ATTEMPTS, INCOMPATIBLE, REJECTED,
UNAVAILABLE, LiveApi
tests/live/live_api.py:17: in <module>
from pyrail.irail import IRail
pyrail/__init__.py:14: in <module>
from .irail import IRail
pyrail/irail.py:25: in <module>
from pyrail.models import (
pyrail/models.py:62: in <module>
class ApiResponse(DataClassORJSONMixin):
/usr/lib/python3/dist-packages/mashumaro/mixins/dict.py:26: in __init_subclass__
compile_mixin_unpacker(cls, **builder_params["unpacker"])
/usr/lib/python3/dist-packages/mashumaro/core/meta/mixin.py:49: in
compile_mixin_unpacker
builder.add_unpack_method()
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:578: in
add_unpack_method
self._add_unpack_method_lines(method_name)
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:483: in
_add_unpack_method_lines
).build(
/usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1324: in
build
unpacked_value = UnpackerRegistry.get(
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:222: in get
expr = packer(spec)
^^^^^^^^^^^^
/usr/lib/python3/dist-packages/mashumaro/core/meta/types/unpack.py:1256: in
unpack_collection
if issubclass(spec.origin_type, typing.ByteString): # type: ignore
^^^^^^^^^^^^^^^^^
/usr/lib/python3.15/typing.py:3907: in __getattr__
warnings._deprecated(
/usr/lib/python3.15/_py_warnings.py:892: in _deprecated
_wm.warn(msg, DeprecationWarning, stacklevel=3)
E DeprecationWarning: 'typing.ByteString' and 'collections.abc.ByteString'
are deprecated and slated for removal in Python 3.17
=========================== short test summary info ============================
ERROR tests/live - DeprecationWarning: 'typing.ByteString' and 'collections.a...
ERROR tests/test_irail.py - DeprecationWarning: 'typing.ByteString' and 'coll...
ERROR tests/test_live_api_helper.py - DeprecationWarning: 'typing.ByteString'...
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 0.42s ===============================
---//
regards
Stuart
--- End Message ---
--- Begin Message ---
Source: pyrail
Source-Version: 0.6.1-2
Done: Edward Betts <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pyrail, 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.
Edward Betts <[email protected]> (supplier of updated pyrail 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: Fri, 20 Nov 2026 07:48:18 +0000
Source: pyrail
Architecture: source
Version: 0.6.1-2
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Edward Betts <[email protected]>
Closes: 1154536
Changes:
pyrail (0.6.1-2) unstable; urgency=medium
.
* Filter mashumaro's typing.ByteString deprecation in pytest to fix
test collection on Python 3.15 (Closes: #1154536).
Checksums-Sha1:
7dae56610e73d314fd283de5dad538b7936873fa 2521 pyrail_0.6.1-2.dsc
7cc99547b0e6dd7fd62233c82e69a6dee0cf78ba 3520 pyrail_0.6.1-2.debian.tar.xz
2a34e2453423291f6f248e6959c74052c66ff530 309876 pyrail_0.6.1-2.git.tar.xz
957f0f82f66f1610cac46dabdf0bbc43bb30cbb2 17738 pyrail_0.6.1-2_source.buildinfo
Checksums-Sha256:
bed78d160295514f99249f549d6d7c4a6ad43803dac5307134c4a2b915b423aa 2521
pyrail_0.6.1-2.dsc
f332a283b4f815518639c235a31240ab0f43ebd00e37976c387bfed1b5e0e6d0 3520
pyrail_0.6.1-2.debian.tar.xz
cf76d7be822981d7fb3cc8493dced202a8edf6aa9269a2bb424344f8d32804cd 309876
pyrail_0.6.1-2.git.tar.xz
341595e4ac5e1e4f4439808c8da76a7c894a31057b4f2893c5dfbd7512145db5 17738
pyrail_0.6.1-2_source.buildinfo
Files:
85e3c1e48200a8268164cbfcec65ea62 2521 python optional pyrail_0.6.1-2.dsc
1ebe835b3a73b6ad003d5930e789a26e 3520 python optional
pyrail_0.6.1-2.debian.tar.xz
baefeaf5e719d6a2d47e59604a23e2e1 309876 python None pyrail_0.6.1-2.git.tar.xz
4db5eb7127dfa199aef06994ad17dbed 17738 python optional
pyrail_0.6.1-2_source.buildinfo
Git-Tag-Info: tag=1092d7b85c05461556b3f4a90cd97eaa18f5664f
fp=fb8acfa78c726089c38ad0269605a1098c63b92a
Git-Tag-Tagger: Edward Betts <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmr//KcACgkQYG0ITkaD
wHmc4A/8CtQCfQ0bEd9NPmZOdCqqLeiVPMBq6c9mf09ycgSfXt1B5E2iM7UOIP/6
Q+QLa8zRDOgueSReaahQlul/2nCcg5wWOeLUz1PKnRDzADaa9ot7kmUMWLu7CR09
fD+nYC/TBoa1VaqP0aabTwwksFCUHiHI0RipxjcFXKARk8nkMuhYO3PgA/5xII8G
6/hvfS7rRqiivpIYJFdrYOcb0k8H8DiLCA3DsXrQTMqM5KdO8t2Kxzzpsn59+etI
gEA6Xc0JYQQU2Yn/yc7R2y6+A8gVX5nCU/vf7rEoAtcIyXkP1deWSkjfvlnKU/yA
OfG2A1mo/27n2fg2itvG4NlYDrfEkJ7deTnV/mpz5k0O2P7G/h53xn/WMRLGCVpS
JYZymH1luDJTpsG0fJZTUzlnV6BJpkbtvQhgn3zKaM25WoRrBzJZo/CZ/si8u3UJ
pRS8Oatwhs0dJeKJvaqChRgsCQHtFDSUk+/nz1Dls6HHBkkItpxVUwb1xcp4UYPP
GAoThD1u5LuTODxOHljXRMkHmKg+3qqr9W//y9D1SZ4PIRUOLDLZdJUczhNC3x8+
1O7nbd8nyTvYqlEALVg8T7Cz+5otRONfo27Zll5OLhYI5YLY5/Ehx+DVrcIcZf1a
zjA7CybVVeEvMS8r1TWYx0i8jvQGZRC81HqKIkc4Hjkiq1cRtAU=
=gPPw
-----END PGP SIGNATURE-----
pgpAEkozIUqfm.pgp
Description: PGP signature
--- End Message ---