greenelab / django-genes

A Django package to represent genes
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

bitbucket: Python 3 compatibility #6

Open rzelayafavila opened 6 years ago

rzelayafavila commented 6 years ago

Bitbucket issue #3 (priority: major) https://bitbucket.org/greenelab/django-genes/issues/3/python-3-compatability

In terms of dependencies, it looks like:

Django (https://docs.djangoproject.com/en/1.10/topics/python3/)

django-tastypie (https://django-tastypie.readthedocs.io/en/latest/python3.html)

django-haystack(https://django-haystack.readthedocs.io/en/v2.5.0/python3.html)

and django-fixtureless (https://pypi.python.org/pypi/django-fixtureless)

are all compatible with Python 3. It looks like overall, most of this app should be Python3 compatible, but we can run some tests to make sure.

@dhimmel commented: """ Here's a good reference for how to support both python 2 and 3. You may want to run modernize/futurize and go through each change to see if its necessary.

It looks like you have some tests. If the coverage is good, one option would be to set up continuous integration that tests on Python 2.7 and 3.5. This would probably be the best longterm solution for ensuring 2/3 compatibility. """