Skip to content

chore(deps): bump gremlinpython to 3.8#3370

Merged
kukushking merged 1 commit into
mainfrom
chore/bump-gremlinpython-3.8
Jun 17, 2026
Merged

chore(deps): bump gremlinpython to 3.8#3370
kukushking merged 1 commit into
mainfrom
chore/bump-gremlinpython-3.8

Conversation

@kukushking

Copy link
Copy Markdown
Collaborator

Feature or Bugfix

  • Bugfix

Detail

  • Bump gremlinpython from 3.7.2 to 3.8.1 in uv.lock. 3.8 removed Graph().traversal() and the deprecated
    traversal().withGraph(Graph()) form; Graph is now an empty placeholder.
  • Add a local_traversal_source() helper in awswrangler/neptune/_gremlin_init.py that constructs
    GraphTraversalSource(Graph(), TraversalStrategies()) directly — 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.
  • Side-effect of the lock refresh: async-timeout 5.0.1 → 4.0.3, because gremlinpython 3.8 added an async-timeout<5
    constraint. awswrangler does not import async-timeout directly.

Supersedes Dependabot PR #3366 (same lockfile bump, plus the code fix Dependabot cannot generate).

Relates

…nstruction

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.
@kukushking kukushking self-assigned this Jun 17, 2026
@kukushking kukushking merged commit e71f775 into main Jun 17, 2026
31 checks passed
@kukushking kukushking deleted the chore/bump-gremlinpython-3.8 branch June 17, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants