Package: src:python-anyio
Version: 4.15.1-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/202610/

Note: DeepSeek tells me that this was fixed here yesterday:

https://github.com/agronholm/anyio/commit/818e4ac441fa27e9fac893496fc5a4fbe0a58689


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

Thanks.

--------------------------------------------------------------------------------
[...]
    |                             server_hostname=server_hostname, 
session=session)
    |                             
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/lib/python3.14/ssl.py", line 381, in _check_sslobject_params
    |     raise ValueError("server_hostname can only be specified "
    |                      "in client mode")
    | ValueError: server_hostname can only be specified in client mode
    +------------------------------------
_________________ test_gather_results_in_order[asyncio+eager] __________________
  + Exception Group Traceback (most recent call last):
  |   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 361, in 
from_call
  |     result: TResult | None = func()
  |                              ~~~~^^
  |   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 250, in 
<lambda>
  |     lambda: runtest_hook(item=item, **kwds),
  |             ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in 
__call__
  |     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
  |            
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in 
_hookexec
  |     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  |            ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in 
_multicall
  |     raise exception
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 865, in 
pytest_runtest_call
  |     yield
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 900, in 
pytest_runtest_call
  |     return (yield)
  |             ^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 53, in 
run_old_style_hookwrapper
  |     return result.get_result()
  |            ~~~~~~~~~~~~~~~~~^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 103, in 
get_result
  |     raise exc.with_traceback(tb)
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 38, in 
run_old_style_hookwrapper
  |     res = yield
  |           ^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 268, in 
pytest_runtest_call
  |     return (yield)
  |             ^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in 
_multicall
  |     res = hook_impl.function(*args)
  |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 183, in pytest_runtest_call
  |     collect_unraisable(item.config)
  |     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 81, in collect_unraisable
  |     raise ExceptionGroup("multiple unraisable exception warnings", errors)
  | ExceptionGroup: multiple unraisable exception warnings (4 sub-exceptions)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
190, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectReceiveStream at 7fd93ecaf890>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectReceiveStream.__del__ at 0x7fd940eb7b60>: None
    | 
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
321, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectSendStream at 7fd93ecaf5f0>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectSendStream.__del__ at 0x7fd940ea4ca0>: None
    | 
    +---------------- 3 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
190, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectReceiveStream at 7fd93ed37110>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectReceiveStream.__del__ at 0x7fd940eb7b60>: None
    | 
    +---------------- 4 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
321, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectSendStream at 7fd93e778bf0>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectSendStream.__del__ at 0x7fd940ea4ca0>: None
    | 
    +------------------------------------
=========================== short test summary info ============================
SKIPPED [1] tests/test_debugging.py:104: Generator based coroutines have been 
removed in Python 3.11
SKIPPED [1] tests/test_eventloop.py:134: winloop not installed
SKIPPED [1] tests/test_fileio.py:202: Drive only makes sense on Windows
SKIPPED [1] tests/test_fileio.py:247: Only makes sense on Windows
SKIPPED [4] tests/test_fileio.py:317: Could not find a suitable block device
SKIPPED [4] tests/test_fileio.py:684: os.lchmod() is not available
SKIPPED [4] tests/test_from_thread.py:744: This test is known to hang often on 
CI
SKIPPED [1] tests/test_subprocesses.py:377: the 'user' argument is not 
supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:377: the 'group' argument is not 
supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:377: the 'umask' argument is not 
supported by uvloop yet
SKIPPED [1] tests/test_taskgroups.py:1438: Generator based coroutines have been 
removed in Python 3.11
SKIPPED [3] tests/test_taskgroups.py:1459: Generator based coroutines have been 
removed in Python 3.11
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio--1]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+uvloop-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+uvloop--1]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+eager-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+eager--1]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[trio-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[trio--1]
FAILED tests/streams/test_tls.py::TestTLSStream::test_extra_attributes[asyncio]
FAILED tests/streams/test_tls.py::test_tls_connectable[asyncio] - ValueError(...
FAILED tests/streams/test_tls.py::test_tls_connectable[asyncio+uvloop] - Valu...
FAILED tests/streams/test_tls.py::test_tls_connectable[asyncio+eager] - Value...
FAILED tests/streams/test_tls.py::test_tls_connectable[trio] - ValueError('se...
FAILED 
tests/test_concurrency_utils.py::test_gather_results_in_order[asyncio+eager]
ERROR 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+uvloop-0]
ERROR 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+eager--1]
ERROR tests/streams/test_tls.py::test_tls_connectable[asyncio+eager] - Except...
= 14 failed, 2916 passed, 23 skipped, 1 deselected, 5 xfailed, 3 errors in 
57.80s =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests 
--deselect=tests/test_lazyimport.py::test_sourceless_install 
--ignore=tests/test_sockets.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 
--parallel=2 returned exit code 13
make: *** [debian/rules:39: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to