Update requirements to the official graphene 3.0 release (#1290)

This commit is contained in:
Keith 2022-01-22 12:04:30 -08:00 committed by GitHub
parent e1a7d19833
commit 775644b536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,14 @@
from functools import partial from functools import partial
from django.db.models.query import QuerySet from django.db.models.query import QuerySet
from graphql_relay.connection.arrayconnection import (
from graphql_relay.connection.array_connection import (
connection_from_array_slice, connection_from_array_slice,
cursor_to_offset, cursor_to_offset,
get_offset_with_default, get_offset_with_default,
offset_to_cursor, offset_to_cursor,
) )
from promise import Promise from promise import Promise
from graphene import Int, NonNull from graphene import Int, NonNull

View File

@ -60,8 +60,9 @@ setup(
keywords="api graphql protocol rest relay graphene", keywords="api graphql protocol rest relay graphene",
packages=find_packages(exclude=["tests", "examples", "examples.*"]), packages=find_packages(exclude=["tests", "examples", "examples.*"]),
install_requires=[ install_requires=[
"graphene>=3.0.0b5,<4", "graphene>=3.0,<4",
"graphql-core>=3.1.0,<4", "graphql-core>=3.1.0,<4",
"graphql-relay>=3.1.1,<4",
"Django>=2.2", "Django>=2.2",
"promise>=2.1", "promise>=2.1",
"text-unidecode", "text-unidecode",