Skip to content

Commit c196e54

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents 068e301 + 9542d4c commit c196e54

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

asyncer/_main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ async def do_work(arg1, arg2, kwarg1="", kwarg2=""):
306306
@functools.wraps(async_function)
307307
def wrapper(*args: T_ParamSpec.args, **kwargs: T_ParamSpec.kwargs) -> T_Retval:
308308
current_async_module = (
309+
getattr(threadlocals, "current_token", None)
310+
or
311+
# TODO: remove when deprecating AnyIO 4.10.0
309312
getattr(threadlocals, "current_async_backend", None)
310313
or
311314
# TODO: remove when deprecating AnyIO 3.x

docs/release-notes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22

33
## Latest Changes
44

5+
### Fixes
6+
7+
* 👽️ Ensure compatibility with AnyIO 4.11.0. PR [#381](https://github.com/fastapi/asyncer/pull/381) by [@svlandeg](https://github.com/svlandeg).
8+
59
### Docs
610

711
* 🩺 Take the GH badge only from pushes to the `main` branch. PR [#284](https://github.com/fastapi/asyncer/pull/284) by [@svlandeg](https://github.com/svlandeg).
812

913
### Internal
1014

15+
* 🔥 Remove unused Poetry config file. PR [#382](https://github.com/fastapi/asyncer/pull/382) by [@tiangolo](https://github.com/tiangolo).
1116
* ⬆ Bump mkdocs-material from 9.5.44 to 9.6.20. PR [#368](https://github.com/fastapi/asyncer/pull/368) by [@dependabot[bot]](https://github.com/apps/dependabot).
1217
* ⬆ Bump astral-sh/setup-uv from 5 to 6. PR [#318](https://github.com/fastapi/asyncer/pull/318) by [@dependabot[bot]](https://github.com/apps/dependabot).
1318
* ⬆ Bump actions/download-artifact from 4 to 5. PR [#346](https://github.com/fastapi/asyncer/pull/346) by [@dependabot[bot]](https://github.com/apps/dependabot).

poetry.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)