python311Packages.graphene-django: disable failing tests on Python 3.11

This commit is contained in:
Fabian Affolter 2023-01-25 10:15:22 +01:00
parent df8af6cd1a
commit 8e2e31f77c

View file

@ -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";