python311Packages.graphene-django: disable failing tests on Python 3.11
This commit is contained in:
parent
df8af6cd1a
commit
8e2e31f77c
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
|
||||
|
@ -59,6 +60,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.11") [
|
||||
# Pèython 3.11 support, https://github.com/graphql-python/graphene-django/pull/1365
|
||||
"test_django_objecttype_convert_choices_enum_naming_collisions"
|
||||
"test_django_objecttype_choices_custom_enum_name"
|
||||
"test_django_objecttype_convert_choices_enum_list"
|
||||
"test_schema_representation"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrate GraphQL into your Django project";
|
||||
homepage = "https://github.com/graphql-python/graphene-django";
|
||||
|
|
Loading…
Reference in a new issue