Your message dated Wed, 17 Dec 2025 01:21:43 +0000
with message-id <[email protected]>
and subject line Bug#1123319: fixed in python-telethon 1.42.0-1
has caused the Debian Bug report #1123319,
regarding python-telethon: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
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.)
--
1123319: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123319
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-telethon
Version: 1.41.1-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-telethon, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C readthedocs/ html
make[2]: Entering directory '/<<PKGBUILDDIR>>/readthedocs'
Running Sphinx v8.2.3
[... snipped ...]
copying build/lib/telethon/custom.py ->
build/bdist.linux-x86_64/wheel/./telethon
creating build/bdist.linux-x86_64/wheel/telethon/sessions
copying build/lib/telethon/sessions/sqlite.py ->
build/bdist.linux-x86_64/wheel/./telethon/sessions
copying build/lib/telethon/sessions/string.py ->
build/bdist.linux-x86_64/wheel/./telethon/sessions
copying build/lib/telethon/sessions/__init__.py ->
build/bdist.linux-x86_64/wheel/./telethon/sessions
copying build/lib/telethon/sessions/abstract.py ->
build/bdist.linux-x86_64/wheel/./telethon/sessions
copying build/lib/telethon/sessions/memory.py ->
build/bdist.linux-x86_64/wheel/./telethon/sessions
copying build/lib/telethon/helpers.py ->
build/bdist.linux-x86_64/wheel/./telethon
copying build/lib/telethon/__init__.py ->
build/bdist.linux-x86_64/wheel/./telethon
running install_egg_info
running egg_info
writing Telethon.egg-info/PKG-INFO
writing dependency_links to Telethon.egg-info/dependency_links.txt
writing requirements to Telethon.egg-info/requires.txt
writing top-level names to Telethon.egg-info/top_level.txt
reading manifest file 'Telethon.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'Telethon.egg-info/SOURCES.txt'
Copying Telethon.egg-info to
build/bdist.linux-x86_64/wheel/./Telethon-1.41.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/telethon-1.41.1.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-1eciidjj/telethon-1.41.1-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'telethon/__init__.py'
adding 'telethon/custom.py'
adding 'telethon/functions.py'
adding 'telethon/helpers.py'
adding 'telethon/hints.py'
adding 'telethon/password.py'
adding 'telethon/requestiter.py'
adding 'telethon/sync.py'
adding 'telethon/types.py'
adding 'telethon/utils.py'
adding 'telethon/version.py'
adding 'telethon/_updates/__init__.py'
adding 'telethon/_updates/entitycache.py'
adding 'telethon/_updates/messagebox.py'
adding 'telethon/_updates/session.py'
adding 'telethon/client/__init__.py'
adding 'telethon/client/account.py'
adding 'telethon/client/auth.py'
adding 'telethon/client/bots.py'
adding 'telethon/client/buttons.py'
adding 'telethon/client/chats.py'
adding 'telethon/client/dialogs.py'
adding 'telethon/client/downloads.py'
adding 'telethon/client/messageparse.py'
adding 'telethon/client/messages.py'
adding 'telethon/client/telegrambaseclient.py'
adding 'telethon/client/telegramclient.py'
adding 'telethon/client/updates.py'
adding 'telethon/client/uploads.py'
adding 'telethon/client/users.py'
adding 'telethon/crypto/__init__.py'
adding 'telethon/crypto/aes.py'
adding 'telethon/crypto/aesctr.py'
adding 'telethon/crypto/authkey.py'
adding 'telethon/crypto/cdndecrypter.py'
adding 'telethon/crypto/factorization.py'
adding 'telethon/crypto/libssl.py'
adding 'telethon/crypto/rsa.py'
adding 'telethon/errors/__init__.py'
adding 'telethon/errors/common.py'
adding 'telethon/errors/rpcbaseerrors.py'
adding 'telethon/errors/rpcerrorlist.py'
adding 'telethon/events/__init__.py'
adding 'telethon/events/album.py'
adding 'telethon/events/callbackquery.py'
adding 'telethon/events/chataction.py'
adding 'telethon/events/common.py'
adding 'telethon/events/inlinequery.py'
adding 'telethon/events/messagedeleted.py'
adding 'telethon/events/messageedited.py'
adding 'telethon/events/messageread.py'
adding 'telethon/events/newmessage.py'
adding 'telethon/events/raw.py'
adding 'telethon/events/userupdate.py'
adding 'telethon/extensions/__init__.py'
adding 'telethon/extensions/binaryreader.py'
adding 'telethon/extensions/html.py'
adding 'telethon/extensions/markdown.py'
adding 'telethon/extensions/messagepacker.py'
adding 'telethon/network/__init__.py'
adding 'telethon/network/authenticator.py'
adding 'telethon/network/mtprotoplainsender.py'
adding 'telethon/network/mtprotosender.py'
adding 'telethon/network/mtprotostate.py'
adding 'telethon/network/requeststate.py'
adding 'telethon/network/connection/__init__.py'
adding 'telethon/network/connection/connection.py'
adding 'telethon/network/connection/http.py'
adding 'telethon/network/connection/tcpabridged.py'
adding 'telethon/network/connection/tcpfull.py'
adding 'telethon/network/connection/tcpintermediate.py'
adding 'telethon/network/connection/tcpmtproxy.py'
adding 'telethon/network/connection/tcpobfuscated.py'
adding 'telethon/sessions/__init__.py'
adding 'telethon/sessions/abstract.py'
adding 'telethon/sessions/memory.py'
adding 'telethon/sessions/sqlite.py'
adding 'telethon/sessions/string.py'
adding 'telethon/tl/__init__.py'
adding 'telethon/tl/alltlobjects.py'
adding 'telethon/tl/tlobject.py'
adding 'telethon/tl/core/__init__.py'
adding 'telethon/tl/core/gzippacked.py'
adding 'telethon/tl/core/messagecontainer.py'
adding 'telethon/tl/core/rpcresult.py'
adding 'telethon/tl/core/tlmessage.py'
adding 'telethon/tl/custom/__init__.py'
adding 'telethon/tl/custom/adminlogevent.py'
adding 'telethon/tl/custom/button.py'
adding 'telethon/tl/custom/chatgetter.py'
adding 'telethon/tl/custom/conversation.py'
adding 'telethon/tl/custom/dialog.py'
adding 'telethon/tl/custom/draft.py'
adding 'telethon/tl/custom/file.py'
adding 'telethon/tl/custom/forward.py'
adding 'telethon/tl/custom/inlinebuilder.py'
adding 'telethon/tl/custom/inlineresult.py'
adding 'telethon/tl/custom/inlineresults.py'
adding 'telethon/tl/custom/inputsizedfile.py'
adding 'telethon/tl/custom/message.py'
adding 'telethon/tl/custom/messagebutton.py'
adding 'telethon/tl/custom/participantpermissions.py'
adding 'telethon/tl/custom/qrlogin.py'
adding 'telethon/tl/custom/sendergetter.py'
adding 'telethon/tl/functions/__init__.py'
adding 'telethon/tl/functions/account.py'
adding 'telethon/tl/functions/auth.py'
adding 'telethon/tl/functions/bots.py'
adding 'telethon/tl/functions/channels.py'
adding 'telethon/tl/functions/chatlists.py'
adding 'telethon/tl/functions/contacts.py'
adding 'telethon/tl/functions/folders.py'
adding 'telethon/tl/functions/fragment.py'
adding 'telethon/tl/functions/help.py'
adding 'telethon/tl/functions/langpack.py'
adding 'telethon/tl/functions/messages.py'
adding 'telethon/tl/functions/payments.py'
adding 'telethon/tl/functions/phone.py'
adding 'telethon/tl/functions/photos.py'
adding 'telethon/tl/functions/premium.py'
adding 'telethon/tl/functions/smsjobs.py'
adding 'telethon/tl/functions/stats.py'
adding 'telethon/tl/functions/stickers.py'
adding 'telethon/tl/functions/stories.py'
adding 'telethon/tl/functions/updates.py'
adding 'telethon/tl/functions/upload.py'
adding 'telethon/tl/functions/users.py'
adding 'telethon/tl/patched/__init__.py'
adding 'telethon/tl/types/__init__.py'
adding 'telethon/tl/types/account.py'
adding 'telethon/tl/types/auth.py'
adding 'telethon/tl/types/bots.py'
adding 'telethon/tl/types/channels.py'
adding 'telethon/tl/types/chatlists.py'
adding 'telethon/tl/types/contacts.py'
adding 'telethon/tl/types/fragment.py'
adding 'telethon/tl/types/help.py'
adding 'telethon/tl/types/messages.py'
adding 'telethon/tl/types/payments.py'
adding 'telethon/tl/types/phone.py'
adding 'telethon/tl/types/photos.py'
adding 'telethon/tl/types/premium.py'
adding 'telethon/tl/types/smsjobs.py'
adding 'telethon/tl/types/stats.py'
adding 'telethon/tl/types/stickers.py'
adding 'telethon/tl/types/storage.py'
adding 'telethon/tl/types/stories.py'
adding 'telethon/tl/types/updates.py'
adding 'telethon/tl/types/upload.py'
adding 'telethon/tl/types/users.py'
adding 'telethon-1.41.1.dist-info/licenses/LICENSE'
adding 'telethon-1.41.1.dist-info/METADATA'
adding 'telethon-1.41.1.dist-info/WHEEL'
adding 'telethon-1.41.1.dist-info/top_level.txt'
adding 'telethon-1.41.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built telethon-1.41.1-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build;
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, debug=False,
asyncio_default_fixture_loop_scope=None,
asyncio_default_test_loop_scope=function
collected 35 items
tests/readthedocs/quick_references/test_client_reference.py . [ 2%]
tests/telethon/client/test_messages.py ... [ 11%]
tests/telethon/crypto/test_rsa.py .... [ 22%]
tests/telethon/events/test_chataction.py .... [ 34%]
tests/telethon/extensions/test_html.py ...... [ 51%]
tests/telethon/extensions/test_markdown.py ...... [ 68%]
tests/telethon/test_helpers.py .F.. [ 80%]
tests/telethon/test_pickle.py .... [ 91%]
tests/telethon/test_utils.py .. [ 97%]
tests/telethon/tl/test_serialization.py . [100%]
=================================== FAILURES ===================================
__________________ TestSyncifyAsyncContext.test_sync_acontext __________________
def get_running_loop():
if sys.version_info >= (3, 7):
try:
> return asyncio.get_running_loop()
^^^^^^^^^^^^^^^^^^^^^^^^^^
E RuntimeError: no running event loop
telethon/helpers.py:430: RuntimeError
During handling of the above exception, another exception occurred:
self = <tests.telethon.test_helpers.TestSyncifyAsyncContext object at
0x7ffbb5034cd0>
def test_sync_acontext(self):
> contm = self.NoopContextManager()
^^^^^^^^^^^^^^^^^^^^^^^^^
tests/telethon/test_helpers.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/telethon/test_helpers.py:44: in __init__
self.loop = helpers.get_running_loop()
^^^^^^^^^^^^^^^^^^^^^^^^^^
telethon/helpers.py:432: in get_running_loop
return asyncio.get_event_loop_policy().get_event_loop()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at
0x7ffbb4fe2f90>
def get_event_loop(self):
"""Get the event loop for the current context.
Returns an instance of EventLoop or raises an exception.
"""
if self._local._loop is None:
> raise RuntimeError('There is no current event loop in thread %r.'
% threading.current_thread().name)
E RuntimeError: There is no current event loop in thread 'MainThread'.
/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
=============================== warnings summary ===============================
tests/telethon/test_helpers.py::TestSyncifyAsyncContext::test_sync_acontext
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/telethon/helpers.py:432:
DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated
for removal in Python 3.16
return asyncio.get_event_loop_policy().get_event_loop()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED
tests/telethon/test_helpers.py::TestSyncifyAsyncContext::test_sync_acontext
=================== 1 failed, 34 passed, 1 warning in 0.83s ====================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build;
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, debug=False,
asyncio_default_fixture_loop_scope=None,
asyncio_default_test_loop_scope=function
collected 35 items
tests/readthedocs/quick_references/test_client_reference.py . [ 2%]
tests/telethon/client/test_messages.py ... [ 11%]
tests/telethon/crypto/test_rsa.py .... [ 22%]
tests/telethon/events/test_chataction.py .... [ 34%]
tests/telethon/extensions/test_html.py ...... [ 51%]
tests/telethon/extensions/test_markdown.py ...... [ 68%]
tests/telethon/test_helpers.py .... [ 80%]
tests/telethon/test_pickle.py .... [ 91%]
tests/telethon/test_utils.py .. [ 97%]
tests/telethon/tl/test_serialization.py . [100%]
============================== 35 passed in 0.78s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14
3.13" returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: python-telethon
Source-Version: 1.42.0-1
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-telethon, 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.
Colin Watson <[email protected]> (supplier of updated python-telethon 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: Wed, 17 Dec 2025 00:59:02 +0000
Source: python-telethon
Architecture: source
Version: 1.42.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1123319
Changes:
python-telethon (1.42.0-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
* Fix TestSyncifyAsyncContext.test_sync_acontext on Python 3.14 (closes:
#1123319).
Checksums-Sha1:
e1f77dc794ea8d4415f78e48816cfb153a5a81be 2526 python-telethon_1.42.0-1.dsc
7f1b05613556cfc308939d6b1218df8d0052c887 515401
python-telethon_1.42.0.orig.tar.gz
5dd7cf66ade160c1026bbe0da660d19c9af5d079 3752
python-telethon_1.42.0-1.debian.tar.xz
Checksums-Sha256:
5f9afc0f536591b6fb7ecb7972ebdd8323b3df1e50983d6eb7556bf273a45c11 2526
python-telethon_1.42.0-1.dsc
0fe168fdd25071d1173aa0445b47c04808cf93372b675918a7c125165a09cc72 515401
python-telethon_1.42.0.orig.tar.gz
b04a175fa0a95130b94391193898bbfe4956d2c9be34611200b035a91612d1cc 3752
python-telethon_1.42.0-1.debian.tar.xz
Files:
a42fe41246bc97cdc93924c7011ca57e 2526 python optional
python-telethon_1.42.0-1.dsc
e07009048a9074560518095686cf3ccc 515401 python optional
python-telethon_1.42.0.orig.tar.gz
70277fb5b60bd859c30172b6b27d16be 3752 python optional
python-telethon_1.42.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmlCAIsACgkQOTWH2X2G
UAtV+hAAkbquF27ze1t6s/A06PY97ByNUcvBsWD9zEI4r2NlzzJJ6B6u4F5TmETZ
7/ifBgMuhXyRB4blWeS8BWLmcppq0gCwB7NT1wfaSI8BxJ1TM8eBX8WWvM5m4/wz
7FpOdULnZONdeq7Bl7duJkSQOUfc85ycl7oFc0hpIcLjBzgCl6aVGxL6BqUmikFE
Yiibo0/vCGuWQaDpkFLYJFHXtgKYCzBb8wTfoElNmb4NeFx2u6UC/aUUwhn7S5zs
QS4bqtlcbMs+A+oHaezP/e187z1iblcqJVIbgfljgUdqNVaDI6Ro1y4RauATvwjp
xYr8Wt+KXJ+D+BZ34PVOerBnjGaugJJqjIF3Uf0W3M/ST9woCNHVT/cirjuwKftC
gBAson0GmmOKy+kf8qj7tdCUpn0JVvL6kWN9htcAA2OwfmuxDnzntEr/dMwI0p+w
SHHGpkJIGHK0nkRASeGBb9wgJwMMfAeSu8CCw57sFLpOrinHc7Z+2d9HGtozmAqo
wtW0OzLGMzyGLBJD/vVYKjv3cVuBKajbqe8vCG1zE75ohTn55iuab6wNn9EynpvL
gH9rbt3Lc+hsuIPJlpHg8ZjuazYNZ0goJoTkRY8PrT+n7KIrAxEjJb53KeOhpIi9
uXjP+mLHcZa1x4Ou2GirguMu5+TQNkXc0Z2QWF0lTYu/m/45yfo=
=YT9d
-----END PGP SIGNATURE-----
pgpskon7MxKhd.pgp
Description: PGP signature
--- End Message ---