Package: src:python-logi-circle
Version: 0.2.3-3
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-logi-circle, 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:599: 
SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 
'metadata' (setup.cfg), please use the underscore name 'description_file' 
instead.
!!

        
********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in 
future
        versions. Please use the underscore name 'description_file' instead.
        (Affected: logi_circle).

        By 2026-Mar-03, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
details.
        
********************************************************************************

!!
  opt = self._enforce_underscore(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/logi_circle
copying logi_circle/subscription.py -> build/lib/logi_circle
copying logi_circle/live_stream.py -> build/lib/logi_circle
copying logi_circle/auth.py -> build/lib/logi_circle
copying logi_circle/utils.py -> build/lib/logi_circle
copying logi_circle/const.py -> build/lib/logi_circle
copying logi_circle/camera.py -> build/lib/logi_circle
copying logi_circle/activity.py -> build/lib/logi_circle
copying logi_circle/exception.py -> build/lib/logi_circle
copying logi_circle/__init__.py -> build/lib/logi_circle
running egg_info
creating logi_circle.egg-info
writing logi_circle.egg-info/PKG-INFO
writing dependency_links to logi_circle.egg-info/dependency_links.txt
writing requirements to logi_circle.egg-info/requires.txt
writing top-level names to logi_circle.egg-info/top_level.txt
writing manifest file 'logi_circle.egg-info/SOURCES.txt'
reading manifest file 'logi_circle.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'logi_circle.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/logi_circle
copying build/lib/logi_circle/subscription.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/live_stream.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/auth.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/utils.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/const.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/camera.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/activity.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/exception.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/__init__.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
running install_egg_info
Copying logi_circle.egg-info to 
build/bdist.linux-x86_64/wheel/./logi_circle-0.2.3.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/logi_circle-0.2.3.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/.tmp-t5e6o8c1/logi_circle-0.2.3-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'logi_circle/__init__.py'
adding 'logi_circle/activity.py'
adding 'logi_circle/auth.py'
adding 'logi_circle/camera.py'
adding 'logi_circle/const.py'
adding 'logi_circle/exception.py'
adding 'logi_circle/live_stream.py'
adding 'logi_circle/subscription.py'
adding 'logi_circle/utils.py'
adding 'logi_circle-0.2.3.dist-info/licenses/LICENSE'
adding 'logi_circle-0.2.3.dist-info/METADATA'
adding 'logi_circle-0.2.3.dist-info/WHEEL'
adding 'logi_circle-0.2.3.dist-info/top_level.txt'
adding 'logi_circle-0.2.3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built logi_circle-0.2.3-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:599: 
SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 
'metadata' (setup.cfg), please use the underscore name 'description_file' 
instead.
!!

        
********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in 
future
        versions. Please use the underscore name 'description_file' instead.
        (Affected: logi_circle).

        By 2026-Mar-03, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
details.
        
********************************************************************************

!!
  opt = self._enforce_underscore(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
running egg_info
writing logi_circle.egg-info/PKG-INFO
writing dependency_links to logi_circle.egg-info/dependency_links.txt
writing requirements to logi_circle.egg-info/requires.txt
writing top-level names to logi_circle.egg-info/top_level.txt
reading manifest file 'logi_circle.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'logi_circle.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/logi_circle
copying build/lib/logi_circle/subscription.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/live_stream.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/auth.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/utils.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/const.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/camera.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/activity.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/exception.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
copying build/lib/logi_circle/__init__.py -> 
build/bdist.linux-x86_64/wheel/./logi_circle
running install_egg_info
Copying logi_circle.egg-info to 
build/bdist.linux-x86_64/wheel/./logi_circle-0.2.3.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/logi_circle-0.2.3.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-k_pj0cpn/logi_circle-0.2.3-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'logi_circle/__init__.py'
adding 'logi_circle/activity.py'
adding 'logi_circle/auth.py'
adding 'logi_circle/camera.py'
adding 'logi_circle/const.py'
adding 'logi_circle/exception.py'
adding 'logi_circle/live_stream.py'
adding 'logi_circle/subscription.py'
adding 'logi_circle/utils.py'
adding 'logi_circle-0.2.3.dist-info/licenses/LICENSE'
adding 'logi_circle-0.2.3.dist-info/METADATA'
adding 'logi_circle-0.2.3.dist-info/WHEEL'
adding 'logi_circle-0.2.3.dist-info/top_level.txt'
adding 'logi_circle-0.2.3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built logi_circle-0.2.3-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 -k "not test_set_config_valid and not 
test_set_config_valid  and not test_set_config_valid"
============================= 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: pytest.ini
plugins: asyncio-1.2.0, typeguard-4.4.4, aresponses-3.0.0
asyncio: mode=Mode.STRICT, debug=False, 
asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 69 items / 3 deselected / 66 selected

tests/test_activity.py F..                                               [  4%]
tests/test_auth.py ......                                                [ 13%]
tests/test_camera.py ..............                                      [ 34%]
tests/test_init.py ...........                                           [ 51%]
tests/test_live_stream.py ..................F.F...........               [100%]

=================================== FAILURES ===================================
______________________ TestActivity.test_activity_assets _______________________

self = <tests.test_activity.TestActivity testMethod=test_activity_assets>

    def test_activity_assets(self):
        """Test props match fixture"""
        url_base = '%s%s/%s' % (API_BASE, BASE_ACTIVITY_URL, 
self.activity_json['activityId'])
        self.assertEqual(self.activity.jpeg_url, url_base + 
ACTIVITY_IMAGE_ENDPOINT)
        self.assertEqual(self.activity.mp4_url, url_base + 
ACTIVITY_MP4_ENDPOINT)
        self.assertEqual(self.activity.hls_url, url_base + 
ACTIVITY_HLS_ENDPOINT)
        self.assertEqual(self.activity.dash_url, url_base + 
ACTIVITY_DASH_ENDPOINT)
    
        my_file = 'myfile.file'
    
        self.activity._get_file = MagicMock(
>           return_value=async_return(None))
                         ^^^^^^^^^^^^^^^^^^

tests/test_activity.py:77: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:25: in async_return
    future = asyncio.Future()
             ^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7ff5fd5b5550>

    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
------------------------------ Captured log call -------------------------------
WARNING  logi_circle:__init__.py:234 ffmpeg is not installed! Not all API 
methods will function.
____________________ TestLiveStream.test_get_download_rtsp _____________________

self = <tests.test_live_stream.TestLiveStream testMethod=test_get_download_rtsp>

    def test_get_download_rtsp(self):
        """Test download of RTSP stream"""
        # pylint: disable=invalid-name
        TEST_RTSP_URL = 'rtsps://woop.woop.com/abc123'
        TEST_DURATION = 915
        TEST_FILENAME = 'test.mp4'
        TEST_FFMPEG_BIN = '/mock/ffmpeg'
        # pylint: enable=invalid-name
    
        self.test_camera.live_stream.get_rtsp_url = MagicMock(
>           return_value=async_return(TEST_RTSP_URL))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_live_stream.py:124: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:25: in async_return
    future = asyncio.Future()
             ^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7ff5fd5b5550>

    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
------------------------------ Captured log call -------------------------------
WARNING  logi_circle:__init__.py:234 ffmpeg is not installed! Not all API 
methods will function.
_____________________ TestLiveStream.test_get_image_params _____________________

self = <tests.test_live_stream.TestLiveStream testMethod=test_get_image_params>

    def test_get_image_params(self):
        """Test handling of quality and refresh parameters"""
        endpoint = '%s/%s%s' % (ACCESSORIES_ENDPOINT, self.test_camera.id, 
LIVE_IMAGE_ENDPOINT)
    
        # Spy on fetch requests
        self.logi._fetch = MagicMock(
>           return_value=async_return(FakeStream()))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_live_stream.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:25: in async_return
    future = asyncio.Future()
             ^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7ff5fd5b5550>

    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
------------------------------ Captured log call -------------------------------
WARNING  logi_circle:__init__.py:234 ffmpeg is not installed! Not all API 
methods will function.
=============================== warnings summary ===============================
tests/test_camera.py: 19 warnings
tests/test_init.py: 3 warnings
tests/test_live_stream.py: 42 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/logi_circle/camera.py:40: 
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).
    self._next_update_time = datetime.utcnow()

tests/test_camera.py::TestCamera::test_update
tests/test_live_stream.py::TestCamera::test_update
tests/test_live_stream.py::TestLiveStream::test_update
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/logi_circle/camera.py:71: 
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).
    if force is True or datetime.utcnow() >= self._next_update_time:

tests/test_camera.py::TestCamera::test_update
tests/test_live_stream.py::TestCamera::test_update
tests/test_live_stream.py::TestLiveStream::test_update
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/logi_circle/camera.py:75: 
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).
    self._next_update_time = datetime.utcnow(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_activity.py::TestActivity::test_activity_assets - RuntimeEr...
FAILED tests/test_live_stream.py::TestLiveStream::test_get_download_rtsp - Ru...
FAILED tests/test_live_stream.py::TestLiveStream::test_get_image_params - Run...
=========== 3 failed, 63 passed, 3 deselected, 70 warnings in 0.18s ============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k "not 
test_set_config_valid and not test_set_config_valid  and not 
test_set_config_valid"
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -k "not test_set_config_valid and not 
test_set_config_valid  and not test_set_config_valid"
============================= 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: pytest.ini
plugins: asyncio-1.2.0, typeguard-4.4.4, aresponses-3.0.0
asyncio: mode=Mode.STRICT, debug=False, 
asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 69 items / 3 deselected / 66 selected

tests/test_activity.py ...                                               [  4%]
tests/test_auth.py ......                                                [ 13%]
tests/test_camera.py ..............                                      [ 34%]
tests/test_init.py ...........                                           [ 51%]
tests/test_live_stream.py ................................               [100%]

=============================== warnings summary ===============================
tests/test_activity.py::TestActivity::test_activity_assets
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/helpers.py:25: 
DeprecationWarning: There is no current event loop
    future = asyncio.Future()

tests/test_camera.py: 19 warnings
tests/test_init.py: 3 warnings
tests/test_live_stream.py: 42 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/logi_circle/camera.py:40: 
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).
    self._next_update_time = datetime.utcnow()

tests/test_camera.py::TestCamera::test_update
tests/test_live_stream.py::TestCamera::test_update
tests/test_live_stream.py::TestLiveStream::test_update
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/logi_circle/camera.py:71: 
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).
    if force is True or datetime.utcnow() >= self._next_update_time:

tests/test_camera.py::TestCamera::test_update
tests/test_live_stream.py::TestCamera::test_update
tests/test_live_stream.py::TestLiveStream::test_update
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/logi_circle/camera.py:75: 
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).
    self._next_update_time = datetime.utcnow(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================ 66 passed, 3 deselected, 71 warnings in 0.15s =================
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned 
exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to