chore(deps): bump gremlinpython to 3.8#3370
Merged
Merged
Conversation
…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.
EthanBunce
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature or Bugfix
Detail
gremlinpythonfrom 3.7.2 to 3.8.1 inuv.lock. 3.8 removedGraph().traversal()and the deprecatedtraversal().withGraph(Graph())form;Graphis now an empty placeholder.local_traversal_source()helper inawswrangler/neptune/_gremlin_init.pythat constructsGraphTraversalSource(Graph(), TraversalStrategies())directly — sufficient for the bytecode → Translator → query-stringpath used by
to_property_graph(no remote connection needed).Graph().traversal()call sites into_property_graph.async-timeout5.0.1 → 4.0.3, because gremlinpython 3.8 added anasync-timeout<5constraint.
awswranglerdoes not importasync-timeoutdirectly.Supersedes Dependabot PR #3366 (same lockfile bump, plus the code fix Dependabot cannot generate).
Relates