-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Basic Support for Python 3 #827
Conversation
This is great, thanks! Django will bump up to 2.0 after 1.11, at which point support for Python 2 will cease. I'd like to continue supporting Python 2 until then to give users some time to transition. The documentation will need to be adjusted to reflect that both Python versions are supported. Also, for I'm still debating what to do about |
I also have to test this more on python 2 as I think using |
I think we need the |
I was looking for something like |
Looks good to me. FYI this is commit number 1000! |
* Rudimentary python3 support * update docs and trigger Travis * fix some of the tests * fix all python3 errors * change env calls to just python * add @python_2_unicode_compatible decorator to models for python2 compatibility * switch netbox.configuration to from netbox import configuration
Imports & everything else adjusted to python3, works with both python 2 and 3. Unit tests succeed for 2.7, 3.4, 3.5 and 3.6: https://travis-ci.org/BeryJu-org/netbox