Upgrading graphene to version 3+ fails due to the most recent version of graphene-django requiring graphene<3,>=2.1.7.
To reproduce:
# In a new Python environment (Python 3.9.2), run the following:
pip install graphene-django
pip install --upgrade graphene
Expected behavior:
The newest versions of graphene and graphene-django should be able to co-exist without conflict.
Motivation / Use case for changing the behavior:
Other libraries that make use of graphene rely on it being of a more recent version than the latest version that graphene-django supports, which is graphene version 2.1.9. Thus, projects are forced to use outdated packages, either of graphene or some other library relying on it. A specific example is graphene-django-optimizer which is now at version 0.9.1 but projects that use graphene-django must use graphene-django-optimizer 0.8.0 because newer versions rely on graphene 3+.
Current behavior:
Upgrading
graphene
to version 3+ fails due to the most recent version ofgraphene-django
requiringgraphene<3,>=2.1.7
.To reproduce:
Expected behavior:
The newest versions of
graphene
andgraphene-django
should be able to co-exist without conflict.Motivation / Use case for changing the behavior:
Other libraries that make use of
graphene
rely on it being of a more recent version than the latest version thatgraphene-django
supports, which isgraphene
version 2.1.9. Thus, projects are forced to use outdated packages, either ofgraphene
or some other library relying on it. A specific example isgraphene-django-optimizer
which is now at version0.9.1
but projects that usegraphene-django
must usegraphene-django-optimizer 0.8.0
because newer versions rely ongraphene
3+.Environment: