Skip to content

Commit 9aaaf04

Browse files
fix: Gremlin throwing import error on Python 3.11 and 3.12 (#2601)
1 parent 60db492 commit 9aaaf04

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

poetry.lock

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ gremlinpython = { version = "^3.7.1", optional = true }
5858
SPARQLWrapper = { version = "^2.0.0", optional = true }
5959
requests = { version = "^2.0.0", optional = true }
6060
aiohttp = { version = "^3.9.0", optional = true }
61+
async-timeout = { version = "^4.0.3", optional = true }
6162

6263
# OpenSearch
6364
opensearch-py = { version = "^2.0.0", optional = true }
@@ -86,7 +87,7 @@ mysql = ["pymysql"]
8687
postgres = ["pg8000"]
8788
sqlserver = ["pyodbc"]
8889
oracle = ["oracledb"]
89-
gremlin = ["gremlinpython", "requests", "aiohttp"]
90+
gremlin = ["gremlinpython", "requests", "aiohttp", "async-timeout"]
9091
sparql = ["SPARQLWrapper", "requests"]
9192
opencypher = ["requests"]
9293
opensearch = ["opensearch-py", "jsonpath-ng", "requests-aws4auth"]

0 commit comments

Comments
 (0)