Package: src:python-goodwe
Version: 0.4.8-2
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-goodwe, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf goodwe.egg-info/ VERSION
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   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
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
head -n 1 debian/changelog | python3 -c "import sys; import re; 
print(re.search(r'\((.*)-[^)]+\)', sys.stdin.read()).group(1))" > VERSION
dh_auto_build
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_goodwe  
* Building wheel...
/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/goodwe
copying goodwe/modbus.py -> build/lib/goodwe
copying goodwe/protocol.py -> build/lib/goodwe
copying goodwe/et.py -> build/lib/goodwe
copying goodwe/dt.py -> build/lib/goodwe
copying goodwe/const.py -> build/lib/goodwe
copying goodwe/es.py -> build/lib/goodwe
copying goodwe/sensor.py -> build/lib/goodwe
copying goodwe/exceptions.py -> build/lib/goodwe
copying goodwe/model.py -> build/lib/goodwe
copying goodwe/inverter.py -> build/lib/goodwe
copying goodwe/__init__.py -> build/lib/goodwe
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/goodwe
copying build/lib/goodwe/modbus.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/protocol.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/et.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/dt.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/const.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/es.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/sensor.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/exceptions.py -> 
build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/model.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/inverter.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/__init__.py -> build/bdist.linux-x86_64/wheel/./goodwe
running install_egg_info
running egg_info
creating goodwe.egg-info
writing goodwe.egg-info/PKG-INFO
writing dependency_links to goodwe.egg-info/dependency_links.txt
writing top-level names to goodwe.egg-info/top_level.txt
writing manifest file 'goodwe.egg-info/SOURCES.txt'
reading manifest file 'goodwe.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'goodwe.egg-info/SOURCES.txt'
Copying goodwe.egg-info to 
build/bdist.linux-x86_64/wheel/./goodwe-0.4.8.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/goodwe-0.4.8.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_goodwe/.tmp-6fbgh4vh/goodwe-0.4.8-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'goodwe/__init__.py'
adding 'goodwe/const.py'
adding 'goodwe/dt.py'
adding 'goodwe/es.py'
adding 'goodwe/et.py'
adding 'goodwe/exceptions.py'
adding 'goodwe/inverter.py'
adding 'goodwe/modbus.py'
adding 'goodwe/model.py'
adding 'goodwe/protocol.py'
adding 'goodwe/sensor.py'
adding 'goodwe-0.4.8.dist-info/licenses/LICENSE'
adding 'goodwe-0.4.8.dist-info/METADATA'
adding 'goodwe-0.4.8.dist-info/WHEEL'
adding 'goodwe-0.4.8.dist-info/top_level.txt'
adding 'goodwe-0.4.8.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built goodwe-0.4.8-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_goodwe  
* Building wheel...
/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
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/goodwe
copying build/lib/goodwe/modbus.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/protocol.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/et.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/dt.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/const.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/es.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/sensor.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/exceptions.py -> 
build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/model.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/inverter.py -> build/bdist.linux-x86_64/wheel/./goodwe
copying build/lib/goodwe/__init__.py -> build/bdist.linux-x86_64/wheel/./goodwe
running install_egg_info
running egg_info
writing goodwe.egg-info/PKG-INFO
writing dependency_links to goodwe.egg-info/dependency_links.txt
writing top-level names to goodwe.egg-info/top_level.txt
reading manifest file 'goodwe.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'goodwe.egg-info/SOURCES.txt'
Copying goodwe.egg-info to 
build/bdist.linux-x86_64/wheel/./goodwe-0.4.8.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/goodwe-0.4.8.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_goodwe/.tmp-e1qutzuo/goodwe-0.4.8-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'goodwe/__init__.py'
adding 'goodwe/const.py'
adding 'goodwe/dt.py'
adding 'goodwe/es.py'
adding 'goodwe/et.py'
adding 'goodwe/exceptions.py'
adding 'goodwe/inverter.py'
adding 'goodwe/modbus.py'
adding 'goodwe/model.py'
adding 'goodwe/protocol.py'
adding 'goodwe/sensor.py'
adding 'goodwe-0.4.8.dist-info/licenses/LICENSE'
adding 'goodwe-0.4.8.dist-info/METADATA'
adding 'goodwe-0.4.8.dist-info/WHEEL'
adding 'goodwe-0.4.8.dist-info/top_level.txt'
adding 'goodwe-0.4.8.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built goodwe-0.4.8-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_goodwe/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_goodwe/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 108 items / 2 errors

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_et.py _______________________
tests/test_et.py:327: in __init__
    asyncio.get_event_loop().run_until_complete(self.read_device_info())
    ^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/asyncio/events.py:715: in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
E   RuntimeError: There is no current event loop in thread 'MainThread'.
______________________ ERROR collecting tests/test_et.py _______________________
tests/test_et.py:368: in __init__
    asyncio.get_event_loop().run_until_complete(self.read_device_info())
    ^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/asyncio/events.py:715: in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
E   RuntimeError: There is no current event loop in thread 'MainThread'.
=========================== short test summary info ============================
ERROR tests/test_et.py::GW10K_ET_fw819_Test - RuntimeError: There is no curre...
ERROR tests/test_et.py::GW10K_ET_fw1023_Test - RuntimeError: There is no curr...
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.20s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_goodwe/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_goodwe/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_goodwe/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 115 items

tests/test_dt.py ....................                                    [ 17%]
tests/test_es.py .....................                                   [ 35%]
tests/test_et.py .............................                           [ 60%]
tests/test_modbus.py .........                                           [ 68%]
tests/test_protocol.py ...............                                   [ 81%]
tests/test_sensor.py .....................                               [100%]

=============================== warnings summary ===============================
tests/test_et.py:327
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_goodwe/build/tests/test_et.py:327: 
DeprecationWarning: There is no current event loop
    asyncio.get_event_loop().run_until_complete(self.read_device_info())

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 115 passed, 1 warning in 0.15s ========================
dh_auto_test: error: pybuild --test --test-pytest -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