• Bug#1059658: jupyter-client: autopkgtest failure with Python 3.12

    From Graham Inggs@21:1/5 to All on Fri Dec 29 22:10:01 2023
    Source: jupyter-client
    Version: 7.4.9-2
    Severity: serious
    Tags: sid trixie
    User: debian-python@lists.debian.org
    Usertags: python3.12

    Hi Maintainer

    jupyter-client's autopkgtests fail with Python 3.12 [1]. I've copied
    what I hope is the relevant part of the log below.

    Regards
    Graham


    [1] https://ci.debian.net/packages/j/jupyter-client/testing/amd64/


    43s autopkgtest [10:08:11]: test command1: [-----------------------
    43s Testing with python3.12:
    43s ImportError while loading conftest '/tmp/autopkgtest-lxc.w2mwx5va/downtmp/build.19N/src/jupyter_client/tests/conftest.py'.
    43s jupyter_client/__init__.py:8: in <module>
    43s from .asynchronous import AsyncKernelClient # noqa
    43s jupyter_client/asynchronous/__init__.py:1: in <module>
    43s from .client import AsyncKernelClient # noqa
    43s jupyter_client/asynchronous/client.py:6: in <module>
    43s from jupyter_client.channels import HBChannel
    43s jupyter_client/channels.py:15: in <module>
    43s from .session import Session
    43s jupyter_client/session.py:54: in <module>
    43s from jupyter_client.jsonutil import extract_dates
    43s jupyter_client/jsonutil.py:15: in <module>
    43s from dateutil.parser import parse as _dateutil_parse # type: ignore
    43s /usr/lib/python3/dist-packages/dateutil/parser/__init__.py:2: in <module>
    43s from ._parser import parse, parser, parserinfo, ParserError
    43s /usr/lib/python3/dist-packages/dateutil/parser/_parser.py:50: in <module>
    43s from .. import tz
    43s /usr/lib/python3/dist-packages/dateutil/tz/__init__.py:2: in <module>
    43s from .tz import *
    43s /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: in <module>
    43s EPOCH = datetime.datetime.utcfromtimestamp(0)
    43s 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).
    43s autopkgtest [10:08:11]: test command1: -----------------------]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)