Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version conflict aniso8601 #1008

Closed
szakitibi opened this issue Jun 12, 2019 · 7 comments · Fixed by #1009
Closed

Version conflict aniso8601 #1008

szakitibi opened this issue Jun 12, 2019 · 7 comments · Fixed by #1009

Comments

@szakitibi
Copy link

szakitibi commented Jun 12, 2019

While built out my site with current latest graphene = 2.1.5 version, I got the following version conflict:

...
Got relativetimebuilder 2.0.0.
Version and requirements information containing aniso8601:
  Requirement of graphene: aniso8601<=6.0.*,>=3
  Requirement of aniso8601<=6.0.*,>=3: relativetimebuilder>=0.2.0
  Requirement of relativetimebuilder>=0.2.0: aniso8601<8.0.0,>=7.0.0
While:
  Updating test.
Error: There is a version conflict.
We already have: aniso8601 5.1.0
but relativetimebuilder 2.0.0 requires 'aniso8601<8.0.0,>=7.0.0'.

Seems like I got aniso8601 version 5.1.0 which still has the circular dependency issue.

Note:
For me pinning version to aniso8601 = 6.0.0 and relatvietimebuilder = 1.0.0 solved it. As you can see in the above traceback, relativetimebuilder already has version is 2.0.0, which requires aniso8601 >= 7.0.0, that is why both package had to be pinned.

@eelkevdbos
Copy link

eelkevdbos commented Jun 12, 2019

Fix might be in this commit: 431e93c

@Keats
Copy link
Contributor

Keats commented Jun 12, 2019

You would still get a conflict even with that commit since relativetimebuilder is asking for >=7.0.0 and graphene wants <6. I've made #1009 to relax a bit that version.

@dwsutherland
Copy link

Yes this is an internal conflict of 2.1.5 ... clean env produces this with pip install 'graphene==2.1.5'

@jkimbo
Copy link
Member

jkimbo commented Jun 13, 2019

v2.1.6 is ready to be released and it contains a fix for this: #1005

@eelkevdbos that commit actually fixes the error as described in the issue.

@elcho
Copy link

elcho commented Jun 13, 2019

Pinning relativetimebuilder to a version < 2.0.0 resolved the issue for me. Since the issue is only because relativetimebuilder v2.0.0 requires aniso8610 >=7.0.0 but a version <=2.0.0 resolves fine with aniso8610 <=7.0.0, graphene's requirement of aniso8610 <=6.0.0 is satisfied.

@eelkevdbos
Copy link

eelkevdbos commented Jun 13, 2019

@jkimbo sorry, I meant to say that, but reading it again I see it can be interpreted both ways (not a native speaker)

@jkimbo
Copy link
Member

jkimbo commented Jun 14, 2019

v2.1.6 has been released to PyPi which fixes this issue: https://pypi.org/project/graphene/2.1.6/

Sorry for the inconvenience!

Release notes: https://github.com/graphql-python/graphene/releases/tag/v2.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants