From 775644b5369bdc5fbb45d3535ae391a069ebf9d4 Mon Sep 17 00:00:00 2001 From: Keith Date: Sat, 22 Jan 2022 12:04:30 -0800 Subject: [PATCH] Update requirements to the official graphene 3.0 release (#1290) --- graphene_django/fields.py | 4 +++- setup.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/graphene_django/fields.py b/graphene_django/fields.py index e1972c7..eb932c1 100644 --- a/graphene_django/fields.py +++ b/graphene_django/fields.py @@ -1,12 +1,14 @@ from functools import partial from django.db.models.query import QuerySet -from graphql_relay.connection.arrayconnection import ( + +from graphql_relay.connection.array_connection import ( connection_from_array_slice, cursor_to_offset, get_offset_with_default, offset_to_cursor, ) + from promise import Promise from graphene import Int, NonNull diff --git a/setup.py b/setup.py index fd403c0..1762760 100644 --- a/setup.py +++ b/setup.py @@ -60,8 +60,9 @@ setup( keywords="api graphql protocol rest relay graphene", packages=find_packages(exclude=["tests", "examples", "examples.*"]), install_requires=[ - "graphene>=3.0.0b5,<4", + "graphene>=3.0,<4", "graphql-core>=3.1.0,<4", + "graphql-relay>=3.1.1,<4", "Django>=2.2", "promise>=2.1", "text-unidecode",