You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two expected_schema modules in the tests contain:
GraphQLDirective(
name="specifiedBy",
description="Exposes a URL that specifies the behaviour of this scalar.",
is_repeatable=False,
locations=(DirectiveLocation.SCALAR,),
args={
"url": GraphQLArgument(
GraphQLNonNull(GraphQLString),
default_value=Undefined,
description="The URL that specifies the behavior of this scalar.",
deprecation_reason=None,
)
},
),
Update the pin to exclude 3.2.5. Not as terrible as it sounds; the only change in this release is the spelling change, the other changes are adding Python 3.12 and 3.13 to the CI test matrix and some import reformatting. However, this would also exclude future fixes that might be important.
Double the 'expected' files and pick a subset based on the installed version of graphql-core. Not a great option.
Update test_main_generates_correct_schema_file to normalise the texts before comparing (adding .replace(" behaviour ", " behavior ") to both sides).
The two
expected_schema
modules in the tests contain:but the graphql-core project adjusted the directive description to use American English, which is part of version 3.2.5.
As a result,
main.test_main::test_main_generates_correct_schema_file
fails when 3.2.5 is installed, as seen in the CI pipeline here.The text was updated successfully, but these errors were encountered: