Skip to content

Commit 11302fb

Browse files
committed
BUG: Fix aiohttp dep for Python 3.11
The imjoy-elfinder dependency brings in aiohttp but <= 3.8.2 does not build for Python 3.11. For 3.11 make sure we use aiohttp>=3.8.2. aio-libs/aiohttp#6600
1 parent 80cd090 commit 11302fb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ Source = "https://github.com/InsightSoftwareConsortium/itkwidgets"
6161
all = [
6262
"imjoy-jupyterlab-extension >=0.1.13",
6363
"imjoy-elfinder[jupyter]",
64-
"imjoy-jupyter-extension >=0.3.0"
64+
"imjoy-jupyter-extension >=0.3.0",
65+
"aiohttp>=3.8.2; python_version=='3.11'"
6566
]
6667
lab = [
6768
"imjoy-jupyterlab-extension >=0.1.13",
68-
"imjoy-elfinder[jupyter]"
69+
"imjoy-elfinder[jupyter]",
70+
"aiohttp>=3.8.2; python_version=='3.11'"
6971
]
7072
cli = [
7173
"hypha >= 0.15.28",
@@ -78,7 +80,8 @@ cli = [
7880

7981
notebook = [
8082
"imjoy-jupyter-extension >=0.3.0",
81-
"imjoy-elfinder[jupyter]"
83+
"imjoy-elfinder[jupyter]",
84+
"aiohttp>=3.8.2; python_version=='3.11'"
8285
]
8386
test = [
8487
"pytest >=2.7.3",

0 commit comments

Comments
 (0)