Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# The file (and all resulting CI YAMLs) then need to be regenerated via
# "scripts/generate-test-files.sh".
#
# Last generated: 2025-09-05T07:52:27.350774+00:00
# Last generated: 2025-09-08T07:44:56.804943+00:00

[tox]
requires =
Expand Down Expand Up @@ -128,8 +128,8 @@ envlist =
{py3.8,py3.11,py3.12}-openai-notiktoken-v1.71.0
{py3.8,py3.12,py3.13}-openai-notiktoken-v1.106.1

{py3.9,py3.12,py3.13}-langgraph-v0.6.6
{py3.10,py3.12,py3.13}-langgraph-v1.0.0a2
{py3.9,py3.12,py3.13}-langgraph-v0.6.7
{py3.10,py3.12,py3.13}-langgraph-v1.0.0a3

{py3.10,py3.11,py3.12}-openai_agents-v0.0.19
{py3.10,py3.12,py3.13}-openai_agents-v0.1.0
Expand All @@ -146,7 +146,7 @@ envlist =
{py3.6,py3.7}-boto3-v1.12.49
{py3.6,py3.9,py3.10}-boto3-v1.20.54
{py3.7,py3.11,py3.12}-boto3-v1.28.85
{py3.9,py3.12,py3.13}-boto3-v1.40.24
{py3.9,py3.12,py3.13}-boto3-v1.40.25

{py3.6,py3.7,py3.8}-chalice-v1.16.0
{py3.6,py3.7,py3.8}-chalice-v1.21.9
Expand Down Expand Up @@ -205,15 +205,15 @@ envlist =
{py3.6,py3.9,py3.10}-gql-v3.4.1
{py3.7,py3.11,py3.12}-gql-v3.5.3
{py3.9,py3.12,py3.13}-gql-v4.0.0
{py3.9,py3.12,py3.13}-gql-v4.1.0b0
{py3.9,py3.12,py3.13}-gql-v4.2.0b0

Comment on lines +208 to 209
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potential bug: The GQL integration will crash with gql>=4.2.0b0 because client.execute now passes a GraphQLRequest object, but the integration expects a DocumentNode.
  • Description: The update to gql>=4.2.0b0 introduces a breaking change where client.execute receives a GraphQLRequest object instead of a DocumentNode. The Sentry integration's patched execute method passes this object to _data_from_document, which expects a DocumentNode. This will cause a runtime crash when helper functions like get_operation_ast(document) are called with the wrong object type. This will affect all users of the GQL integration who upgrade to the new version and make any GraphQL request.

  • Suggested fix: In the patched execute method, check if the document argument is an instance of GraphQLRequest. If so, extract the DocumentNode from its .document attribute before passing it to the _data_from_document function. This will restore compatibility with the new gql version's API.
    severity: 0.85, confidence: 0.98

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a real concern, though it's already in 4.0.0. I'll make a separate PR for this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{py3.6,py3.9,py3.10}-graphene-v3.3
{py3.8,py3.12,py3.13}-graphene-v3.4.3

{py3.8,py3.10,py3.11}-strawberry-v0.209.8
{py3.8,py3.11,py3.12}-strawberry-v0.233.3
{py3.9,py3.12,py3.13}-strawberry-v0.257.0
{py3.9,py3.12,py3.13}-strawberry-v0.281.0
{py3.9,py3.12,py3.13}-strawberry-v0.282.0


# ~~~ Network ~~~
Expand Down Expand Up @@ -251,7 +251,7 @@ envlist =

{py3.8,py3.9}-spark-v3.0.3
{py3.8,py3.10,py3.11}-spark-v3.5.6
{py3.9,py3.12,py3.13}-spark-v4.0.0
{py3.9,py3.12,py3.13}-spark-v4.0.1


# ~~~ Web 1 ~~~
Expand Down Expand Up @@ -325,7 +325,7 @@ envlist =

{py3.7,py3.12,py3.13}-typer-v0.15.4
{py3.7,py3.12,py3.13}-typer-v0.16.1
{py3.7,py3.12,py3.13}-typer-v0.17.3
{py3.7,py3.12,py3.13}-typer-v0.17.4



Expand Down Expand Up @@ -515,8 +515,8 @@ deps =
openai-notiktoken-v1.0.1: httpx<0.28
openai-notiktoken-v1.36.1: httpx<0.28

langgraph-v0.6.6: langgraph==0.6.6
langgraph-v1.0.0a2: langgraph==1.0.0a2
langgraph-v0.6.7: langgraph==0.6.7
langgraph-v1.0.0a3: langgraph==1.0.0a3

openai_agents-v0.0.19: openai-agents==0.0.19
openai_agents-v0.1.0: openai-agents==0.1.0
Expand All @@ -534,7 +534,7 @@ deps =
boto3-v1.12.49: boto3==1.12.49
boto3-v1.20.54: boto3==1.20.54
boto3-v1.28.85: boto3==1.28.85
boto3-v1.40.24: boto3==1.40.24
boto3-v1.40.25: boto3==1.40.25
{py3.7,py3.8}-boto3: urllib3<2.0.0

chalice-v1.16.0: chalice==1.16.0
Expand Down Expand Up @@ -601,7 +601,7 @@ deps =
gql-v3.4.1: gql[all]==3.4.1
gql-v3.5.3: gql[all]==3.5.3
gql-v4.0.0: gql[all]==4.0.0
gql-v4.1.0b0: gql[all]==4.1.0b0
gql-v4.2.0b0: gql[all]==4.2.0b0

graphene-v3.3: graphene==3.3
graphene-v3.4.3: graphene==3.4.3
Expand All @@ -614,7 +614,7 @@ deps =
strawberry-v0.209.8: strawberry-graphql[fastapi,flask]==0.209.8
strawberry-v0.233.3: strawberry-graphql[fastapi,flask]==0.233.3
strawberry-v0.257.0: strawberry-graphql[fastapi,flask]==0.257.0
strawberry-v0.281.0: strawberry-graphql[fastapi,flask]==0.281.0
strawberry-v0.282.0: strawberry-graphql[fastapi,flask]==0.282.0
strawberry: httpx
strawberry-v0.209.8: pydantic<2.11
strawberry-v0.233.3: pydantic<2.11
Expand Down Expand Up @@ -667,7 +667,7 @@ deps =

spark-v3.0.3: pyspark==3.0.3
spark-v3.5.6: pyspark==3.5.6
spark-v4.0.0: pyspark==4.0.0
spark-v4.0.1: pyspark==4.0.1


# ~~~ Web 1 ~~~
Expand Down Expand Up @@ -810,7 +810,7 @@ deps =

typer-v0.15.4: typer==0.15.4
typer-v0.16.1: typer==0.16.1
typer-v0.17.3: typer==0.17.3
typer-v0.17.4: typer==0.17.4



Expand Down