Bump the python-packages group with 6 updates (#2743)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
This commit is contained in:
dependabot[bot] 2024-11-18 21:19:15 +01:00 committed by GitHub
parent 1a8efba9c8
commit 530cbf63f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 9 deletions

View File

@ -4,20 +4,20 @@
# Testing
coverage==7.6.1
importlib-metadata==8.5.0
mypy==1.11.2
ruff==0.6.8
mypy==1.13.0
ruff==0.7.2
typing_extensions==4.12.2
types-contextvars==2.4.7.3
types-PyYAML==6.0.12.20240917
types-dataclasses==0.6.6
pytest==8.3.3
trio==0.26.2
trio==0.27.0
# Documentation
mkdocs==1.6.1
mkdocs-material==9.5.39
mkdocs-material==9.5.43
mkautodoc==0.2.0
# Packaging
build==1.2.2
build==1.2.2.post1
twine==5.1.1

View File

@ -33,10 +33,8 @@ async def run_until_first_complete(*args: tuple[typing.Callable, dict]) -> None:
async def run_in_threadpool(func: typing.Callable[P, T], *args: P.args, **kwargs: P.kwargs) -> T:
if kwargs: # pragma: no cover
# run_sync doesn't accept 'kwargs', so bind them in here
func = functools.partial(func, **kwargs)
return await anyio.to_thread.run_sync(func, *args)
func = functools.partial(func, *args, **kwargs)
return await anyio.to_thread.run_sync(func)
class _StopIteration(Exception):