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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
rm -rf build .stestr *.egg-info .pytest_cache
find . -iname '*.pyc' -delete
for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --buildsystem=pybuild --with python3
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/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 config
I: pybuild base:317: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/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 config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
pkgos-dh_auto_install --no-py2 --in-tmp
+ PKGOS_IN_TMP=no
+ echo WARNING: --no-py2 is deprecated and always on.
WARNING: --no-py2 is deprecated and always on.
+ shift
+ PKGOS_IN_TMP=yes
+ shift
+ dpkg-parsechangelog -SSource
+ SRC_PKG_NAME=python-aiounittest
+ echo python-aiounittest
+ sed s/python-//
+ PY_MODULE_NAME=aiounittest
+ py3versions -vr
+ PYTHON3S=3.14 3.13
+ [ yes = yes ]
+ TARGET_DIR=tmp
+ pwd
+ python3.14 setup.py install --install-layout=deb --root 
/<<PKGBUILDDIR>>/debian/tmp
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/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 install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: 
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        
********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
for details.
        
********************************************************************************

!!
  self.initialize_options()
running build
running build_py
creating build/lib/aiounittest
copying aiounittest/mock.py -> build/lib/aiounittest
copying aiounittest/case.py -> build/lib/aiounittest
copying aiounittest/helpers.py -> build/lib/aiounittest
copying aiounittest/__init__.py -> build/lib/aiounittest
running egg_info
creating aiounittest.egg-info
writing aiounittest.egg-info/PKG-INFO
writing dependency_links to aiounittest.egg-info/dependency_links.txt
writing requirements to aiounittest.egg-info/requires.txt
writing top-level names to aiounittest.egg-info/top_level.txt
writing manifest file 'aiounittest.egg-info/SOURCES.txt'
reading manifest file 'aiounittest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
adding license file 'LICENSE'
writing manifest file 'aiounittest.egg-info/SOURCES.txt'
copying aiounittest/py.typed -> build/lib/aiounittest
running install_lib
creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest
copying build/lib/aiounittest/py.typed -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest
copying build/lib/aiounittest/mock.py -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest
copying build/lib/aiounittest/case.py -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest
copying build/lib/aiounittest/helpers.py -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest
copying build/lib/aiounittest/__init__.py -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/mock.py 
to mock.cpython-314.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/case.py 
to case.cpython-314.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/helpers.py
 to helpers.cpython-314.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/__init__.py
 to __init__.cpython-314.pyc
running install_egg_info
Copying aiounittest.egg-info to 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest-1.4.2.egg-info
Skipping SOURCES.txt
running install_scripts
+ pwd
+ python3.13 setup.py install --install-layout=deb --root 
/<<PKGBUILDDIR>>/debian/tmp
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/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 install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: 
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        
********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
for details.
        
********************************************************************************

!!
  self.initialize_options()
running build
running build_py
running egg_info
writing aiounittest.egg-info/PKG-INFO
writing dependency_links to aiounittest.egg-info/dependency_links.txt
writing requirements to aiounittest.egg-info/requires.txt
writing top-level names to aiounittest.egg-info/top_level.txt
reading manifest file 'aiounittest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
adding license file 'LICENSE'
writing manifest file 'aiounittest.egg-info/SOURCES.txt'
running install_lib
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/mock.py 
to mock.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/case.py 
to case.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/helpers.py
 to helpers.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest/__init__.py
 to __init__.cpython-313.pyc
running install_egg_info
removing 
'/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest-1.4.2.egg-info'
 (and everything under it)
Copying aiounittest.egg-info to 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/aiounittest-1.4.2.egg-info
Skipping SOURCES.txt
running install_scripts
+ pwd
+ rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth
+ pwd
+ rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth
set -e ; for pyvers in 3.14 3.13; do \
        python$pyvers -m pytest tests -v ; \
done
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collecting ... collected 11 items / 1 error

==================================== ERRORS ====================================
_________ ERROR collecting tests/test_asynctestcase_get_event_loop.py __________
/usr/lib/python3/dist-packages/_pytest/python.py:1688: in instance
    return self._instance
           ^^^^^^^^^^^^^^
E   AttributeError: 'TestCaseFunction' object has no attribute '_instance'. Did 
you mean: 'instance'?

During handling of the above exception, another exception occurred:
tests/test_asynctestcase_get_event_loop.py:30: in get_event_loop
    self.my_loop = asyncio.get_event_loop()
                   ^^^^^^^^^^^^^^^^^^^^^^^^
/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'.
=============================== warnings summary ===============================
aiounittest/case.py:82: 17 warnings
  /<<PKGBUILDDIR>>/aiounittest/case.py:82: DeprecationWarning: 
'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 
3.16; use inspect.iscoroutinefunction() instead
    if name.startswith('test_') and asyncio.iscoroutinefunction(attr):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_asynctestcase_get_event_loop.py::TestAsyncCaseWithCustomLoop
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================== 17 warnings, 1 error in 0.09s =========================
make[1]: *** [debian/rules:19: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to