Package: src:lavacli
Version: 1.2-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running config
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3.13 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli
copying lavacli/__about__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli
copying lavacli/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli
copying lavacli/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli
copying lavacli/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/results.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/system.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/aliases.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/device_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/events.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/workers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/devices.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/jobs.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/tags.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
copying lavacli/commands/identities.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli
copying lavacli/__about__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli
copying lavacli/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli
copying lavacli/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli
copying lavacli/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/results.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/system.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/aliases.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/device_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/events.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/workers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/devices.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/jobs.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/tags.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
copying lavacli/commands/identities.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands
make -C doc/ man SPHINXBUILD="/usr/share/sphinx/scripts/python3/sphinx-build" SPHINXOPTS="-j 4 
-D today=\"December 09, 2021\""
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
Running Sphinx v7.4.7
WARNING: Invalid configuration value found: 'language = None'. Update your 
configuration to a valid language code. Falling back to 'en' (English).
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output...
building [man]: all manpages
updating environment: [new config] 4 added, 0 changed, 0 removed
reading sources... [ 25%] configuration
reading sources... [ 50%] index
reading sources... [ 75%] install
reading sources... [100%] usage

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... lavacli.1 { install configuration usage } done
build succeeded, 2 warnings.

The manual pages are in _build/man.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 199 items

tests/test_aliases.py .............                                      [  6%]
tests/test_device_types.py ........FF...............                     [ 19%]
tests/test_devices.py ...................................                [ 36%]
tests/test_events.py ............                                        [ 42%]
tests/test_helpers.py ..                                                 [ 43%]
tests/test_identities.py .............                                   [ 50%]
tests/test_jobs.py .........................................             [ 70%]
tests/test_lavacli.py ...                                                [ 72%]
tests/test_results.py ..............                                     [ 79%]
tests/test_system.py ............                                        [ 85%]
tests/test_tags.py ........                                              [ 89%]
tests/test_workers.py .....................                              [100%]

=================================== FAILURES ===================================
_________________________ test_dt_hc_get_before_2018_4 _________________________

setup = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdc74028d00>
capsys = <_pytest.capture.CaptureFixture object at 0x7fdc73ce1f40>

    def test_dt_hc_get_before_2018_4(setup, monkeypatch, capsys):
        version = "2018.2"
        monkeypatch.setattr(
            sys, "argv", ["lavacli", "device-types", "health-check", "get", 
"mydt"]
        )
        monkeypatch.setattr(
            xmlrpc.client.ServerProxy,
            "data",
            [
                {"request": "system.version", "args": (), "ret": version},
                {"request": None, "args": (), "ret": []},
            ],
        )
        with pytest.raises(SystemExit):
            main()
      assert (  # nosec
            capsys.readouterr()[1]
            == """usage: lavacli device-types [-h] 
{add,aliases,list,show,template,update} ...
    lavacli device-types: error: argument sub_sub_command: invalid choice: 
'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 
'update')
    """
        )
E       assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n"
E
E         Skipping 166 identical leading characters in diff, use -v to show
E         - oose from 'add', 'aliases', 'list', 'show', 'template', 'update')
E         ?           -   -  -       -  -    -  -    -  -        -  -      -
E         + oose from add, aliases, list, show, template, update)

tests/test_device_types.py:227: AssertionError
_________________________ test_dt_hc_set_before_2018_4 _________________________

setup = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdc73f06190>
capsys = <_pytest.capture.CaptureFixture object at 0x7fdc73d77750>

    def test_dt_hc_set_before_2018_4(setup, monkeypatch, capsys):
        version = "2018.2"
        monkeypatch.setattr(
            sys, "argv", ["lavacli", "device-types", "health-check", "set", 
"mydt"]
        )
        monkeypatch.setattr(
            xmlrpc.client.ServerProxy,
            "data",
            [
                {"request": "system.version", "args": (), "ret": version},
                {"request": None, "args": (), "ret": []},
            ],
        )
        with pytest.raises(SystemExit):
            main()
      assert (  # nosec
            capsys.readouterr()[1]
            == """usage: lavacli device-types [-h] 
{add,aliases,list,show,template,update} ...
    lavacli device-types: error: argument sub_sub_command: invalid choice: 
'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 
'update')
    """
        )
E       assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n"
E
E         Skipping 166 identical leading characters in diff, use -v to show
E         - oose from 'add', 'aliases', 'list', 'show', 'template', 'update')
E         ?           -   -  -       -  -    -  -    -  -        -  -      -
E         + oose from add, aliases, list, show, template, update)

tests/test_device_types.py:250: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py: 114 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands/events.py:208:
 DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23.
    (topic, _, dt, username, data) = (u(m) for m in msg)

.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py::test_events_wait_device
.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py::test_events_wait_device_state
.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py::test_events_wait_device_health
.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py::test_events_wait_job
.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py::test_events_wait_worker
.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py::test_events_wait_worker_invalid_message
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands/events.py:268:
 DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23.
    sock.setsockopt(zmq.SUBSCRIBE, b(config.get("events", {}).get("topic", "")))

.pybuild/cpython3_3.13_lavacli/build/tests/test_events.py: 106 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands/events.py:293:
 DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23.
    (topic, _uuid, _dt, _username, data) = (u(m) for m in msg)

.pybuild/cpython3_3.13_lavacli/build/tests/test_jobs.py::test_jobs_logs_failure_comment_and_polling
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands/jobs.py:550:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    "dt": datetime.datetime.utcnow().isoformat(),

.pybuild/cpython3_3.13_lavacli/build/tests/test_jobs.py::test_jobs_resubmit_follow
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands/jobs.py:606:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    "dt": datetime.datetime.utcnow().isoformat(),

.pybuild/cpython3_3.13_lavacli/build/tests/test_jobs.py::test_jobs_run
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build/lavacli/commands/jobs.py:647:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    "dt": datetime.datetime.utcnow().isoformat(),

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_device_types.py::test_dt_hc_get_before_2018_4 - assert 'usa...
FAILED tests/test_device_types.py::test_dt_hc_set_before_2018_4 - assert 'usa...
================= 2 failed, 197 passed, 229 warnings in 2.37s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lavacli/build; python3.13 -m pytest 
tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build; 
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 199 items

tests/test_aliases.py .............                                      [  6%]
tests/test_device_types.py ........FF...............                     [ 19%]
tests/test_devices.py ...................................                [ 36%]
tests/test_events.py ............                                        [ 42%]
tests/test_helpers.py ..                                                 [ 43%]
tests/test_identities.py .............                                   [ 50%]
tests/test_jobs.py .........................................             [ 70%]
tests/test_lavacli.py ...                                                [ 72%]
tests/test_results.py ..............                                     [ 79%]
tests/test_system.py ............                                        [ 85%]
tests/test_tags.py ........                                              [ 89%]
tests/test_workers.py .....................                              [100%]

=================================== FAILURES ===================================
_________________________ test_dt_hc_get_before_2018_4 _________________________

setup = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f2d41346d20>
capsys = <_pytest.capture.CaptureFixture object at 0x7f2d41347d10>

    def test_dt_hc_get_before_2018_4(setup, monkeypatch, capsys):
        version = "2018.2"
        monkeypatch.setattr(
            sys, "argv", ["lavacli", "device-types", "health-check", "get", 
"mydt"]
        )
        monkeypatch.setattr(
            xmlrpc.client.ServerProxy,
            "data",
            [
                {"request": "system.version", "args": (), "ret": version},
                {"request": None, "args": (), "ret": []},
            ],
        )
        with pytest.raises(SystemExit):
            main()
      assert (  # nosec
            capsys.readouterr()[1]
            == """usage: lavacli device-types [-h] 
{add,aliases,list,show,template,update} ...
    lavacli device-types: error: argument sub_sub_command: invalid choice: 
'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 
'update')
    """
        )
E       assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n"
E
E         Skipping 166 identical leading characters in diff, use -v to show
E         - oose from 'add', 'aliases', 'list', 'show', 'template', 'update')
E         ?           -   -  -       -  -    -  -    -  -        -  -      -
E         + oose from add, aliases, list, show, template, update)

tests/test_device_types.py:227: AssertionError
_________________________ test_dt_hc_set_before_2018_4 _________________________

setup = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f2d41397c50>
capsys = <_pytest.capture.CaptureFixture object at 0x7f2d41397cb0>

    def test_dt_hc_set_before_2018_4(setup, monkeypatch, capsys):
        version = "2018.2"
        monkeypatch.setattr(
            sys, "argv", ["lavacli", "device-types", "health-check", "set", 
"mydt"]
        )
        monkeypatch.setattr(
            xmlrpc.client.ServerProxy,
            "data",
            [
                {"request": "system.version", "args": (), "ret": version},
                {"request": None, "args": (), "ret": []},
            ],
        )
        with pytest.raises(SystemExit):
            main()
      assert (  # nosec
            capsys.readouterr()[1]
            == """usage: lavacli device-types [-h] 
{add,aliases,list,show,template,update} ...
    lavacli device-types: error: argument sub_sub_command: invalid choice: 
'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 
'update')
    """
        )
E       assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n"
E
E         Skipping 166 identical leading characters in diff, use -v to show
E         - oose from 'add', 'aliases', 'list', 'show', 'template', 'update')
E         ?           -   -  -       -  -    -  -    -  -        -  -      -
E         + oose from add, aliases, list, show, template, update)

tests/test_device_types.py:250: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py: 114 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands/events.py:208:
 DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23.
    (topic, _, dt, username, data) = (u(m) for m in msg)

.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py::test_events_wait_device
.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py::test_events_wait_device_state
.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py::test_events_wait_device_health
.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py::test_events_wait_job
.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py::test_events_wait_worker
.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py::test_events_wait_worker_invalid_message
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands/events.py:268:
 DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23.
    sock.setsockopt(zmq.SUBSCRIBE, b(config.get("events", {}).get("topic", "")))

.pybuild/cpython3_3.12_lavacli/build/tests/test_events.py: 106 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands/events.py:293:
 DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23.
    (topic, _uuid, _dt, _username, data) = (u(m) for m in msg)

.pybuild/cpython3_3.12_lavacli/build/tests/test_jobs.py::test_jobs_logs_failure_comment_and_polling
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands/jobs.py:550:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    "dt": datetime.datetime.utcnow().isoformat(),

.pybuild/cpython3_3.12_lavacli/build/tests/test_jobs.py::test_jobs_resubmit_follow
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands/jobs.py:606:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    "dt": datetime.datetime.utcnow().isoformat(),

.pybuild/cpython3_3.12_lavacli/build/tests/test_jobs.py::test_jobs_run
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build/lavacli/commands/jobs.py:647:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    "dt": datetime.datetime.utcnow().isoformat(),

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_device_types.py::test_dt_hc_get_before_2018_4 - assert 'usa...
FAILED tests/test_device_types.py::test_dt_hc_set_before_2018_4 - assert 'usa...
================= 2 failed, 197 passed, 229 warnings in 2.23s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lavacli/build; python3.12 -m pytest 
tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202411/

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to