Package: src:python-async-property Version: 0.2.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-async-property, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules execute_after_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf /<<PKGBUILDDIR>>/docs/.build make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules binary dh binary --with sphinxdoc --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_async-property * 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/_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 bdist_wheel /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/async_property copying async_property/proxy.py -> build/lib/async_property copying async_property/cached.py -> build/lib/async_property copying async_property/loader.py -> build/lib/async_property copying async_property/__init__.py -> build/lib/async_property copying async_property/base.py -> build/lib/async_property running egg_info creating async_property.egg-info writing async_property.egg-info/PKG-INFO writing dependency_links to async_property.egg-info/dependency_links.txt writing top-level names to async_property.egg-info/top_level.txt writing manifest file 'async_property.egg-info/SOURCES.txt' reading manifest file 'async_property.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 '*' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' adding license file 'LICENSE' writing manifest file 'async_property.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/async_property copying build/lib/async_property/proxy.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/cached.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/loader.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/__init__.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/base.py -> build/bdist.linux-x86_64/wheel/./async_property running install_egg_info Copying async_property.egg-info to build/bdist.linux-x86_64/wheel/./async_property-0.2.2.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/async_property-0.2.2.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_async-property/.tmp-8ck9r9dv/async_property-0.2.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'async_property/__init__.py' adding 'async_property/base.py' adding 'async_property/cached.py' adding 'async_property/loader.py' adding 'async_property/proxy.py' adding 'async_property-0.2.2.dist-info/licenses/LICENSE' adding 'async_property-0.2.2.dist-info/METADATA' adding 'async_property-0.2.2.dist-info/WHEEL' adding 'async_property-0.2.2.dist-info/top_level.txt' adding 'async_property-0.2.2.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built async_property-0.2.2-py2.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_async-property * 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/_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 bdist_wheel /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py running egg_info writing async_property.egg-info/PKG-INFO writing dependency_links to async_property.egg-info/dependency_links.txt writing top-level names to async_property.egg-info/top_level.txt reading manifest file 'async_property.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 '*' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' adding license file 'LICENSE' writing manifest file 'async_property.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/async_property copying build/lib/async_property/proxy.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/cached.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/loader.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/__init__.py -> build/bdist.linux-x86_64/wheel/./async_property copying build/lib/async_property/base.py -> build/bdist.linux-x86_64/wheel/./async_property running install_egg_info Copying async_property.egg-info to build/bdist.linux-x86_64/wheel/./async_property-0.2.2.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/async_property-0.2.2.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_async-property/.tmp-ibaycsun/async_property-0.2.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'async_property/__init__.py' adding 'async_property/base.py' adding 'async_property/cached.py' adding 'async_property/loader.py' adding 'async_property/proxy.py' adding 'async_property-0.2.2.dist-info/licenses/LICENSE' adding 'async_property-0.2.2.dist-info/METADATA' adding 'async_property-0.2.2.dist-info/WHEEL' adding 'async_property-0.2.2.dist-info/top_level.txt' adding 'async_property-0.2.2.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built async_property-0.2.2-py2.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_async-property/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_async-property/build configfile: setup.cfg plugins: asyncio-1.2.0, typeguard-4.4.4 asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 30 items tests/test_async_cached_property.py F......... [ 33%] tests/test_async_property.py F..... [ 53%] tests/test_asyncio_lock.py .... [ 66%] tests/test_inheritance.py ... [ 76%] tests/test_loader.py ....... [100%] =================================== FAILURES =================================== _______________________________ test_descriptor ________________________________ async def test_descriptor(): assert isinstance(MyModel.foo, AsyncCachedPropertyDescriptor) assert MyModel.foo.__name__ == 'foo' > assert MyModel.foo.__annotations__['return'] == str ^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: 'AsyncCachedPropertyDescriptor' object has no attribute '__annotations__'. Did you mean: '__annotate__'? tests/test_async_cached_property.py:19: AttributeError _______________________________ test_descriptor ________________________________ async def test_descriptor(): assert isinstance(MyModel.foo, AsyncPropertyDescriptor) assert MyModel.foo.__name__ == 'foo' > assert MyModel.foo.__annotations__['return'] == str ^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: 'AsyncPropertyDescriptor' object has no attribute '__annotations__'. Did you mean: '__annotate__'? tests/test_async_property.py:19: AttributeError =============================== warnings summary =============================== async_property/cached.py:14: 12 warnings tests/test_async_cached_property.py: 2 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_async-property/build/async_property/cached.py:14: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead assert is_coroutine(func), 'Can only use with async def' async_property/cached.py:72 async_property/cached.py:72 async_property/cached.py:72 tests/test_async_cached_property.py::test_async_setter /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_async-property/build/async_property/cached.py:72: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead if method and is_coroutine(method): async_property/base.py:10 tests/test_async_property.py::test_sync_error /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_async-property/build/async_property/base.py:10: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead assert is_coroutine(func), 'Can only use with async def' tests/test_loader.py::test_call_load /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_async-property/build/async_property/loader.py:39: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead if hasattr(self, 'load') and is_coroutine(self.load): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_async_cached_property.py::test_descriptor - AttributeError:... FAILED tests/test_async_property.py::test_descriptor - AttributeError: 'Async... ================== 2 failed, 28 passed, 21 warnings in 0.87s =================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_async-property/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_async-property/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_async-property/build configfile: setup.cfg plugins: asyncio-1.2.0, typeguard-4.4.4 asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 30 items tests/test_async_cached_property.py .......... [ 33%] tests/test_async_property.py ...... [ 53%] tests/test_asyncio_lock.py .... [ 66%] tests/test_inheritance.py ... [ 76%] tests/test_loader.py ....... [100%] ============================== 30 passed in 0.86s ============================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

