Skip to content

Commit 4366b97

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

noxfile.py

Lines changed: 9 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,12 @@ 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+
session.install("aiohttp", "--no-binary", "aiohttp", env={
36+
"AIOHTTP_NO_EXTENSIONS": "1"
37+
})
38+
3039
session.install(
3140
"pytest",
3241
"adlfs",

0 commit comments

Comments
 (0)