Skip to content

Commit 81f5029

Browse files
committed
fix: drop uvloop
1 parent 236783e commit 81f5029

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test = [
4444
"pytest-env>=1.2.0",
4545
"pytest-xdist>=3.8.0",
4646
"pytest-timeout>=2.4.0",
47-
"uvloop>=0.21.0",
47+
"uvloop>=0.21.0; python_version < '3.14'", # FIXME: uvloop not yet compatible with 3.14
4848
"typed-diskcache[asyncio]",
4949
]
5050
dev = [

src/tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
import shutil
4+
import sys
45
import uuid
56
from typing import Any
67

@@ -13,7 +14,9 @@
1314
params=[
1415
pytest.param(("asyncio", {"use_uvloop": False}), id="asyncio"),
1516
pytest.param(("asyncio", {"use_uvloop": True}), id="asyncio-uvloop"),
16-
],
17+
]
18+
if sys.version_info < (3, 14) # FIXME: uvloop not yet compatible with 3.14
19+
else [pytest.param(("asyncio", {"use_uvloop": False}), id="asyncio")],
1720
scope="session",
1821
)
1922
def anyio_backend(request: pytest.FixtureRequest) -> tuple[str, dict[str, Any]]:

0 commit comments

Comments
 (0)