Your message dated Mon, 16 Dec 2024 01:21:09 +0000
with message-id <e1tmznj-00fnfh...@fasolo.debian.org>
and subject line Bug#1088315: fixed in ipykernel 6.29.5-2
has caused the Debian Bug report #1088315,
regarding ipykernel: autopkgtest failure with Python 3.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 ow...@bugs.debian.org
immediately.)
--
1088315: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088315
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ipykernel
Version: 6.29.5-1
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Hi Maintainer
The autopkgtests of this package fail with Python 3.13 [1]. I've
copied what I hope is the relevant part of the log below.
Regards
Graham
[1] https://ci.debian.net/packages/i/ipykernel/testing/amd64/
136s =================================== FAILURES
===================================
136s ___________________________ test_embed_kernel_basic
____________________________
136s
136s @flaky(max_runs=3)
136s def test_embed_kernel_basic():
136s """IPython.embed_kernel() is basically functional"""
136s cmd = "\n".join(
136s [
136s "from IPython import embed_kernel",
136s "def go():",
136s " a=5",
136s ' b="hi there"',
136s " embed_kernel()",
136s "go()",
136s "",
136s ]
136s )
136s
136s > with setup_kernel(cmd) as client:
136s
136s tests/test_embed_kernel.py:109:
136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
136s /usr/lib/python3.13/contextlib.py:141: in __enter__
136s return next(self.gen)
136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
136s
136s cmd = 'from IPython import embed_kernel\ndef go():\n a=5\n b="hi
there"\n embed_kernel()\ngo()\n'
136s
136s @contextmanager
136s def setup_kernel(cmd):
136s """start an embedded kernel in a subprocess, and wait for it to be ready
136s
136s Returns
136s -------
136s kernel_manager: connected KernelManager instance
136s """
136s
136s def connection_file_ready(connection_file):
136s """Check if connection_file is a readable json file."""
136s if not os.path.exists(connection_file):
136s return False
136s try:
136s with open(connection_file) as f:
136s json.load(f)
136s return True
136s except ValueError:
136s return False
136s
136s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE,
stderr=PIPE, encoding="utf-8")
136s try:
136s connection_file = os.path.join(
136s paths.jupyter_runtime_dir(),
136s "kernel-%i.json" % kernel.pid,
136s )
136s # wait for connection file to exist, timeout after 5s
136s tic = time.time()
136s while (
136s not connection_file_ready(connection_file)
136s and kernel.poll() is None
136s and time.time() < tic + SETUP_TIMEOUT
136s ):
136s time.sleep(0.1)
136s
136s # Wait 100ms for the writing to finish
136s time.sleep(0.1)
136s
136s if kernel.poll() is not None:
136s o, e = kernel.communicate()
136s raise OSError("Kernel failed to start:\n%s" % e)
136s
136s if not os.path.exists(connection_file):
136s if kernel.poll() is None:
136s kernel.terminate()
136s > raise OSError("Connection file %r never arrived" % connection_file)
136s E OSError: Connection file
'/home/debci/.local/share/jupyter/runtime/kernel-4227.json' never
arrived
136s
136s tests/test_embed_kernel.py:74: OSError
--- End Message ---
--- Begin Message ---
Source: ipykernel
Source-Version: 6.29.5-2
Done: Colin Watson <cjwat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
ipykernel, 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 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated ipykernel 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 16 Dec 2024 01:05:02 +0000
Source: ipykernel
Architecture: source
Version: 6.29.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1047471 1088315 1088771
Changes:
ipykernel (6.29.5-2) unstable; urgency=medium
.
* Team upload.
.
[ Julian Gilbey ]
* Fix DeprecationWarning (closes: #1088771)
* Clean more build artefacts (closes: #1047471)
.
[ Colin Watson ]
* Accept Mapping in Kernel.user_ns instead of dict (closes: #1088315).
Checksums-Sha1:
eb733b813a8b6b708415f3f728bc4a20f0d7b357 2800 ipykernel_6.29.5-2.dsc
68d70448a18a10a641360e4bc3b00367a720b5a3 8544 ipykernel_6.29.5-2.debian.tar.xz
Checksums-Sha256:
6bc14310f67c17de6879163fad1236c34ba662e35d166dee2285784b1b64137a 2800
ipykernel_6.29.5-2.dsc
ade00f8c343682c5c3bb7fc250d2bb92f917082f58bee233b734d2c134d34b2a 8544
ipykernel_6.29.5-2.debian.tar.xz
Files:
5debfb542a7c17ece2681738432af3f4 2800 python optional ipykernel_6.29.5-2.dsc
091b5f757bc07ca56de3526ef39eabf3 8544 python optional
ipykernel_6.29.5-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmdffPgACgkQOTWH2X2G
UAtkFw/+JsDMbnQ0DDyRg1aLPNz/cQkj7WvM3ej8wV966BeMHIG4tXgS6Cl/WRSb
mezfo8BYjZXiwm7vWRfAKjsF9adOdghKPX3bXUCkrPB57p2nFYRfE6jNQxCmqGkJ
qOwG0PH9Bxa3VpzY3oBdI251vaYeF6EYDpqN6E1p/QuiqLDnzR4KEOJKdVsLkt1M
4694Atfv8uxg6UO6fzVjtYwRk2iGyXMXkSO5eK662w2M7xYYbLGdpHXnjJ6Jt8Zk
FhGFRPI4KDpLdHxMMMEBnzcxYi0iQBKKRsQ3Crt4w+Cqlm3kIskGN+g3Vy647xAC
2nhIUaeK+NmGv+oY3Utc9ZYO6jwIPi/gmlh40OtLX7xazqqJgIcP+caVTepNj7uV
8Vntg8QnFKNw5MAkh9M8xAyNercm2mqtTQ98KWj4c73frGazDXlHkM7vQcJZQUbA
ue+i4RBB8aOQbr3VJQZcl87GH56yB6ZKYIq55UhUmsvtYK09Ot6ZyI89q1s4W1I+
EtkW3oPt+afh49CJcqgNFziNQoIjNUWBG7TlvANsmqRILscsKR6DzPOXyMKDRq0Q
JE7g8W57fSFFERH02q2LocsHNn//PaKaLmruLhmVCA68xonOBf/1sov2ImN/tSgn
atRqd+N40RweGkRlGhxox7djw0GXsKmINICg+QTAgFtfdTlXw0M=
=KgVi
-----END PGP SIGNATURE-----
pgpTpCvi7SThK.pgp
Description: PGP signature
--- End Message ---