Browse Source

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

pull/1296/head
Keith 5 months ago committed by GitHub
parent
commit
775644b536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      graphene_django/fields.py
  2. 3
      setup.py

4
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

3
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",

Loading…
Cancel
Save