anyio 4.14.1

4.14.1
Fixed 2
  • Teardown of higher-scoped async fixtures failing on asyncio with RuntimeError when an async test raises an outcome exception such as pytest.skip(), pytest.xfail(), or pytest.fail()
  • CapacityLimiter.total_tokens rejecting a value of 0 when the limiter was instantiated outside of an event loop, contradicting the documented behavior
  • Fixed teardown of higher-scoped async fixtures failing on asyncio with RuntimeError: Attempted to exit cancel scope in a different task than it was entered in when an async test raise an outcome exception (e.g., pytest.skip(), pytest.xfail(), or pytest.fail()) (#1179; PR by @EmmanuelNiyonshuti)
  • Fixed CapacityLimiter.total_tokens rejecting a value of 0 when the limiter was instantiated outside of an event loop, contradicting the documented behavior of allowing 0 total tokens (#1183; PR by @nyxst4ck)
View original

Upgraded? How did it go?

Discussion