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

Django 3 doesn't contain 'six' anymore #158

Closed
tiltec opened this issue Dec 3, 2019 · 6 comments
Closed

Django 3 doesn't contain 'six' anymore #158

tiltec opened this issue Dec 3, 2019 · 6 comments

Comments

@tiltec
Copy link

tiltec commented Dec 3, 2019

See https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis

  File "/home/tic/Development/karrot-docker/karrot-backend/karrot/groups/models.py", line 13, in <module>
    from versatileimagefield.fields import VersatileImageField
  File "/home/tic/Development/karrot-docker/karrot-backend/env/lib/python3.7/site-packages/versatileimagefield/fields.py", line 12, in <module>
    from .files import VersatileImageFieldFile, VersatileImageFileDescriptor
  File "/home/tic/Development/karrot-docker/karrot-backend/env/lib/python3.7/site-packages/versatileimagefield/files.py", line 9, in <module>
    from django.utils import six
ImportError: cannot import name 'six' from 'django.utils' (/home/tic/Development/karrot-docker/karrot-backend/env/lib/python3.7/site-packages/django/utils/__init__.py)
@tiltec
Copy link
Author

tiltec commented Dec 3, 2019

I believe #156 will fix this.

@nikita-davydov
Copy link

BUMP

@dmptrluke
Copy link
Contributor

@tiltec It should fix it, yes

@nikita-davydov
Copy link

Hello, counterparts!
Can you merge this pull request? It's only one blocker for moving to Django 3.0 :)

@respondcreate
Copy link
Owner

Hey @ndavydovdev, @dmptrluke and @tiltec!

Apologies for not getting to this yet as I've been absolutely slammed. I promise I'll get this sorted and have a new Django 3.0-ready release minuted by this weekend. Stay tuned!

@respondcreate
Copy link
Owner

Hey @ndavydovdev, @dmptrluke and @tiltec!

This PR has been merged and added to the new 2.0 release, here's how to get it:

$ pip install django-versatileimagefield==2.0

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

No branches or pull requests

4 participants