Python 3 support#21
Conversation
|
hi @navidurrahman.
The integration tests run inside of a Docker Container running 14.04 (see the Dockerfile) , so I'm not sure this will have the consequence you expect - it'll change the host machine Travis provides to run 14.04 rather than 12.04, but the OS in which Chronos is installed and tested will remain the same.
I don't think so?
This is great, thanks! I'm happy to take this patch as is though, I guess it's no harm to use Trusty in Travis? @solarkennedy @asher any comments before I merge? |
|
The itest run in docker if you are running them locally, but on travis they run on "bare metal", whatever travis has. |
|
Here is the stack trace of Travis with ubuntu 12: https://travis-ci.org/asher/chronos-python/jobs/110816592 By default, it was selecting ubuntu 12, and couldn't find the Chronos repo. |
|
Yea, I mean the repo is there, just 2.3.4 is not. Can you adjust |
|
@solarkennedy Updated the default version of chronos. Looks fine now. |
| payload = content | ||
| except (TypeError, ValueError): | ||
| try: | ||
| payload = json.loads(content.decode('utf-8')) |
There was a problem hiding this comment.
Is there any harm in trying to decode in utf-8 all the time?
52ad42c to
1fdf3ec
Compare
|
Thanks! |
Support for python 3 and removed chronos legacy version
Change default chronos version
Python 3 support