1. Matthew Schinckel
  2. django-jsonfield
  3. Issues
Issue #32 resolved

New release and Python3 support

Brian May
created an issue


Are there any plans any time soon for a new release?

The last release is not Python3 compatible, the tests fail in several places due to easy to fix solutions. It would be good if we could have a released version on pypi that was Python 3 compatible.

I also note that the latest hg release uses assertEquals instead of assertEqual, which results in numerous warnings under Python3.2, e.g.:

<path>/django-jsonfield/jsonfield/tests/test_forms.py:54: DeprecationWarning: Please use assertEqual instead. self.assertEquals(['SA', 'WA'], form.cleaned_data['json_data'])

I can provide a patch if required, however all that is required is: sed -i 's/assertEquals/assertEqual/' jsonfield/tests/*.py

This will continue to work find under Python2.6 and Python2.7 too.


Comments (3)

  1. Matthew Schinckel repo owner

    Support for python 3 would be a good reason for a release.

    I’m not currently writing any production python 3 code, let alone anything that uses django-jsonfield, and will struggle to find time to add support for it. However, I will merge a pull request that contains python 3 support (and passes tests, obviously).

  2. Log in to comment