Temporary silent *asyncio.iscoroutinefunction.*:DeprecationWarning (#1739)

* Temporary silent `*asyncio.iscoroutinefunction.*:DeprecationWarning` until `uvloop` fix
Bump pytest to 9.*
Bump dev deps

* Add 1739.misc.rst
This commit is contained in:
Andrew 2025-12-07 00:33:09 +02:00 committed by GitHub
parent c5a403a2f1
commit b611e083a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 7 deletions

1
CHANGES/1739.misc.rst Normal file
View file

@ -0,0 +1 @@
This PR temporary silents warn when `uvloop` uses deprecated `asyncio.iscoroutinefunction` function in py3.14+

View file

@ -79,7 +79,7 @@ signature = [
"cryptography>=46.0.0", "cryptography>=46.0.0",
] ]
test = [ test = [
"pytest==8.4.2", "pytest==9.0.1",
"pytest-html==4.1.1", "pytest-html==4.1.1",
"pytest-mock==3.15.1", "pytest-mock==3.15.1",
"pytest-mypy==1.0.1", "pytest-mypy==1.0.1",
@ -103,13 +103,13 @@ docs = [
"sphinxcontrib-towncrier~=0.4.0a0", "sphinxcontrib-towncrier~=0.4.0a0",
] ]
dev = [ dev = [
"black==25.9.0", "black~=25.9",
"isort==6.1.0", "isort~=7.0",
"ruff==0.14.0", "ruff~=0.14",
"mypy==1.10.1", "mypy==1.10.1",
"toml==0.10.2", "toml~=0.10.2",
"pre-commit==4.3.0", "pre-commit~=4.3",
"packaging==25.0", "packaging~=25.0",
"motor-types==1.0.0b4", "motor-types==1.0.0b4",
] ]
@ -255,6 +255,11 @@ testpaths = [
filterwarnings = [ filterwarnings = [
"error", "error",
"ignore::pytest.PytestUnraisableExceptionWarning", "ignore::pytest.PytestUnraisableExceptionWarning",
# Remove when uvloop fixes the issue
# https://github.com/MagicStack/uvloop/issues/703
# https://github.com/MagicStack/uvloop/pull/705
"ignore:.*asyncio.iscoroutinefunction.*:DeprecationWarning"
] ]
[tool.coverage.run] [tool.coverage.run]