estebistec / drf-compound-fields

Django-REST-framework serializer fields for compound types.
BSD 3-Clause "New" or "Revised" License
92 stars 12 forks source link

drf compound field incompatible with drf 3.10.x, needs a small upgrade #29

Closed anveshagarwal closed 5 years ago

anveshagarwal commented 5 years ago

virtual/lib/python3.7/site-packages/drf_compound_fields/fields.py", line 10, in

from rest_framework.compat import six ImportError: cannot import name 'six' from 'rest_framework.compat' (virtual/lib/python3.7/site-packages/rest_framework/compat.py)

estebistec commented 5 years ago

First thing's first, let's get a new travis build that shows the failure. I'll take this opportunity to first specify more modern versions of python and then we'll go from there.

estebistec commented 5 years ago

As expected, the reported failure: https://travis-ci.org/estebistec/drf-compound-fields/jobs/587934794

I'll working on a patch a little later today.

anveshagarwal commented 5 years ago

thanks for the patch!!