mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-10 19:56:45 +03:00
Prevent requirement breaking changes
I have a project still in 1.2.0 thats has been broken in my last release since it used `'graphql-core>=1.0.1'` in the `install_requires`. Since `graphql-core` has released version 2.0 with breaking changes and there was no instruction to maintain version 1, it was included as a dependency. This prevents this situation for the future.
This commit is contained in:
parent
34d03a7bd2
commit
71177fe977
8
setup.py
8
setup.py
|
@ -86,10 +86,10 @@ setup(
|
||||||
packages=find_packages(exclude=['tests', 'tests.*']),
|
packages=find_packages(exclude=['tests', 'tests.*']),
|
||||||
|
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'six>=1.10.0',
|
'six>=1.10.0,<2',
|
||||||
'graphql-core>=2.0',
|
'graphql-core>=2.0,<3',
|
||||||
'graphql-relay>=0.4.5',
|
'graphql-relay>=0.4.5,<1',
|
||||||
'promise>=2.1',
|
'promise>=2.1,<3',
|
||||||
],
|
],
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
extras_require={
|
extras_require={
|
||||||
|
|
Loading…
Reference in New Issue
Block a user