stencila / hub

☸️ Hub for executable documents
https://hub.stenci.la
Apache License 2.0
31 stars 4 forks source link

Remove dependency on django-jsonfallback #660

Closed nokome closed 4 years ago

nokome commented 4 years ago

Now that Django's models.JSONField is supported for all database backends we can probably drop django-jsonfallback as a dependency.

nokome commented 4 years ago

Mmmm :face_with_head_bandage: it looks like we must remove this dependency under Django 3.1:

  File "/stencila/source/hub/manager/users/models.py", line 24, in <module>
    from jsonfallback.fields import FallbackJSONField
  File "/stencila/source/hub/manager/venv/lib/python3.7/site-packages/jsonfallback/fields.py", line 14, in <module>
    class JsonAdapter(jsonb.JsonAdapter):
AttributeError: module 'django.contrib.postgres.fields.jsonb' has no attribute 'JsonAdapter'
stencila-ci commented 4 years ago

:tada: This issue has been resolved in version 3.35.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: