question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v2.8.0 not compatible with Django 3.0.2 regarding six

See original GitHub issue

I upgraded Django and graphene django but when I make a request I get this error

Could not import 'fieldrecords.schema.schema' for Graphene setting 'SCHEMA'. ImportError: cannot import name 'six'.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
beraiarezocommented, Jan 16, 2020

upgrade graphql_jwt version to 0.3.0 verion, I had same problem and solved by run this command try pip install "django-graphql-jwt>=0.3.0"

0reactions
dperetticommented, Mar 23, 2021

@jkimbo :

@BossGrand you should still be able to import six since graphene-django has an explicit dependency on it: https://github.com/graphql-python/graphene-django/blob/master/setup.py#L59

V2 of Graphene Django still supports Python 2 so six is required.

If six is required, shouldn’t this be enforced in setup.py?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django 3.0 release notes
These release notes cover the new features, as well as some backwards incompatible changes you'll want to be aware of when upgrading from ......
Read more >
ImportError: cannot import name 'six' from 'django.utils'
Django stopped supporting Python 2. Since django.utils.six provided "Utilities for writing code that runs on Python 2 and 3", it was not longer ......
Read more >
Release Notes - Django REST framework
3.14.0 ; Django 2.2 is no longer supported. [#8662] ; Django 4.1 compatibility. [#8591] ; Add --api-version CLI option to generateschema management command....
Read more >
How to Leapfrog a Massive Django/Python Upgrade ...
Migrating from Django 1.7 to 3.1 is no small task. Besides having to deal with the upgrade of Django itself, you shouldn't forget...
Read more >
django-pipeline - PyPI
Pipeline is an asset packaging library for Django.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found