Skip to content

Commit a1dd8fd

Browse files
committed
nox: add workaround for missing py311 aiohttp wheels
1 parent e40c8e6 commit a1dd8fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

noxfile.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import os
2+
import sys
3+
14
import nox
25
from pathlib import Path
36

@@ -27,6 +30,11 @@ def install(session):
2730

2831
@nox.session()
2932
def smoke(session):
33+
if (3, 10) < sys.version_info <= (3, 11, 0, "final"):
34+
# workaround for missing aiohttp wheels for py3.11
35+
os.environ["AIOHTTP_NO_EXTENSIONS"] = "1"
36+
session.install("--no-binary", "aiohttp", "aiohttp")
37+
3038
session.install(
3139
"pytest",
3240
"adlfs",

0 commit comments

Comments
 (0)