Commit e71f775
authored
chore(deps): bump gremlinpython to 3.8 and adjust traversal source construction (#3370)
gremlinpython 3.8 removed both `Graph().traversal()` and the deprecated
`traversal().withGraph(Graph())` form. `Graph` is now an empty placeholder.
Add a `local_traversal_source()` helper in `_gremlin_init` that constructs
`GraphTraversalSource(Graph(), TraversalStrategies())` directly. This is
sufficient for the bytecode → Translator → query string path used by
`to_property_graph` (no remote connection needed).
Replace the two `Graph().traversal()` call sites in `to_property_graph`
with the new helper.
Side effect of the lock refresh: gremlinpython 3.8 added an `async-timeout`
dependency with a `<5` constraint, downgrading async-timeout from 5.0.1 to
4.0.3. `awswrangler` does not import async-timeout directly, so this is a
pure resolver consequence.1 parent a4e72e4 commit e71f775
3 files changed
Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments