Source: ipykernel
Version: 6.24.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>dh_update_autotools_config -O--buildsystem=pybuild
>dh_autoreconf -O--buildsystem=pybuild
>dh_auto_configure -O--buildsystem=pybuild
>dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build"
> module
> I: pybuild base:310: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.12
> * Building wheel...
> 0.00s - Debugger warning: It seems that frozen modules are being used, which
> may
> 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
> 0.00s - to python to disable frozen modules.
> 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to
> disable this validation.
> Successfully built ipykernel-6.24.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build"
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.11
> * Building wheel...
> 0.00s - Debugger warning: It seems that frozen modules are being used, which
> may
> 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
> 0.00s - to python to disable frozen modules.
> 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to
> disable this validation.
> Successfully built ipykernel-6.24.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with
> "installer" module
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<>/.pybuild/cpython3_3.12/build;
> python3.12 -m pytest -v -k 'not test_init_ipc_socket'
> ImportError while loading conftest
> '/<>/.pybuild/cpython3_3.12/build/ipykernel/tests/conftest.py'.
> ipykernel/__init__.py:5: in
> from .connect import * # noqa
> ipykernel/connect.py:11: in
> import jupyter_client
> /usr/lib/python3/dist-packages/jupyter_client/__init__.py:8: in
> from .asynchronous import AsyncKernelClient # noqa
> /usr/lib/python3/dist-packages/jupyter_client/asynchronous/__init__.py:1: in
>
> from .client import AsyncKernelClient # noqa
> /usr/lib/python3/dist-packages/jupyter_client/asynchronous/client.py:6: in
>
> from jupyter_client.channels import HBChannel
> /usr/lib/python3/dist-packages/jupyter_client/channels.py:15: in
> from .session import Session
> /usr/lib/python3/dist-packages/jupyter_client/session.py:54: in
> from jupyter_client.jsonutil import extract_dates
> /usr/lib/python3/dist-packages/jupyter_client/jsonutil.py:15: in
> from dateutil.parser import parse as _dateutil_parse # type: ignore
> /usr/lib/python3/dist-packages/dateutil/parser/__init__.py:2: in
> from ._parser import parse, parser, parserinfo, ParserError
> /usr/lib/python3/dist-packages/dateutil/parser/_parser.py:50: in
> from .. import tz
> /usr/lib/python3/dist-packages/dateutil/tz/__init__.py:2: in
> from .tz import *
> /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: in
> EPOCH = datetime.datetime.utcfromtimestamp(0)
> E DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated
> and scheduled for removal in a future version. Use timezone-aware objects to
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp,
> datetime.UTC).
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=4: cd
> /<>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -v -k
> 'not test_init_ipc_socket'
> I: pybuild base:310: cd /<>/.pybuild/cpython3_3.11/build;
> python3.11 -m pytest -v -k 'not test_init_ipc_socket'
> [1m= test session starts
> ==[0m
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 --
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<>/.pybuild/cpython3_3.11/build
> configfile: pyproject.toml
> testpaths: ipykernel/tests, ipykernel/inprocess/tests
> plugins: asyncio-0.20.3, timeout-2.2.0, flaky-3.7.0
> asyncio: mode=Mode.AUTO
> timeout: 300.0s
> timeout method: signal
> timeout func_only: False
> [1mcollecting ... [0mcollected 179 items / 1 deselected / 178 selected
>
> ipykernel/tests/test_async.py::test_async_await [32mPASSED[0m[33m
> [ 0%][0m
> ipykernel/tests/test_async.py::test_async_interrupt[asyncio]
> [32mPASSED[0m[33m [ 1%][0m
> ipykernel/tests/test_async.py::test_async_interrupt[trio]
> [32mPASSED[0m[33m [ 1%][0m
>