Skip to content

Commit 3d2f044

Browse files
authored
ci: Fix GraphQL failures (#4208)
Looks like strawberry is not compatible with the latest pydantic release (2.11.0). Restrict the version of pydantic used in strawberry tests for now. sqlalchemy apparently released a new version which made it in by rerunning toxgen.
1 parent e432fb4 commit 3d2f044

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

scripts/populate_tox/config.py

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"package": "strawberry-graphql[fastapi,flask]",
149149
"deps": {
150150
"*": ["httpx"],
151+
"<=0.262.5": ["pydantic<2.11"],
151152
},
152153
},
153154
"tornado": {

tox.ini

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# The file (and all resulting CI YAMLs) then need to be regenerated via
1111
# "scripts/generate-test-files.sh".
1212
#
13-
# Last generated: 2025-03-25T13:14:20.133361+00:00
13+
# Last generated: 2025-03-28T08:54:21.617802+00:00
1414

1515
[tox]
1616
requires =
@@ -181,7 +181,7 @@ envlist =
181181
{py3.6,py3.7}-sqlalchemy-v1.3.9
182182
{py3.6,py3.11,py3.12}-sqlalchemy-v1.4.54
183183
{py3.7,py3.10,py3.11}-sqlalchemy-v2.0.9
184-
{py3.7,py3.12,py3.13}-sqlalchemy-v2.0.39
184+
{py3.7,py3.12,py3.13}-sqlalchemy-v2.0.40
185185

186186

187187
# ~~~ Flags ~~~
@@ -566,7 +566,7 @@ deps =
566566
sqlalchemy-v1.3.9: sqlalchemy==1.3.9
567567
sqlalchemy-v1.4.54: sqlalchemy==1.4.54
568568
sqlalchemy-v2.0.9: sqlalchemy==2.0.9
569-
sqlalchemy-v2.0.39: sqlalchemy==2.0.39
569+
sqlalchemy-v2.0.40: sqlalchemy==2.0.40
570570

571571

572572
# ~~~ Flags ~~~
@@ -613,6 +613,10 @@ deps =
613613
strawberry-v0.245.0: strawberry-graphql[fastapi,flask]==0.245.0
614614
strawberry-v0.262.5: strawberry-graphql[fastapi,flask]==0.262.5
615615
strawberry: httpx
616+
strawberry-v0.209.8: pydantic<2.11
617+
strawberry-v0.227.7: pydantic<2.11
618+
strawberry-v0.245.0: pydantic<2.11
619+
strawberry-v0.262.5: pydantic<2.11
616620

617621

618622
# ~~~ Network ~~~

0 commit comments

Comments
 (0)