Merge pull request #338 from spockNinja/fix_tests

Fixing the test build
This commit is contained in:
Syrus Akbary 2017-12-17 16:04:27 -08:00 committed by GitHub
commit b54e02c9ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ tests_require = [
'pytest-django==2.9.1', 'pytest-django==2.9.1',
] + rest_framework_require ] + rest_framework_require
django_version = 'Django>=1.8.0,<2' if sys.version_info[0] < 3 else 'Django>=1.8.0'
setup( setup(
name='graphene-django', name='graphene-django',
version=version, version=version,
@ -58,7 +59,7 @@ setup(
install_requires=[ install_requires=[
'six>=1.10.0', 'six>=1.10.0',
'graphene>=2.0,<3', 'graphene>=2.0,<3',
'Django>=1.8.0', django_version,
'iso8601', 'iso8601',
'singledispatch>=3.4.0.3', 'singledispatch>=3.4.0.3',
'promise>=2.1', 'promise>=2.1',