On Sat, May 24, 2025 at 04:40:23PM +0000, Santiago Vila wrote:
During a rebuild of all packages in unstable, your package failed to build:
[...]
______________________ [doctest] returns.future.Future.do ______________________
364   >>> from returns.io import IO
365
366   >>> async def main() -> bool:
367   ...     return await Future.do(
368   ...         first + second
369   ...         async for first in Future.from_value(2)
370   ...         async for second in Future.from_value(3)
371   ...     ) == IO(5)
372
373   >>> assert anyio.run(main) is True
UNEXPECTED EXCEPTION: TypeError("'async for' requires an iterator with __anext__ 
method, got Future")

I tried this a couple of times in both unstable and testing and couldn't reproduce this failure, and it doesn't intuitively seem like the sort of test that should be flaky (despite being async). Could you please check to see whether you can still reproduce this?

Thanks,

--
Colin Watson (he/him)                              [cjwat...@debian.org]

Reply via email to