Python 3 compatibility?
Closed this issue · 17 comments
ocgis
is supporting Python 3.5+ in the next release. I naively tested against an icclim
4.2.5 version built with Python 3.6 and encountered issues. Does icclim
have plans to support Python 3? Python 2.7 will still be supported in ocgis
. I made an attempt to fix some of the basic syntax issues but received some errors deep in the calculation code which I couldn't parse easily.
icclim will not be updated in the short term to support Python 3.5+, but I expect that starting in May I will have time to work on it.
Nice! I will give it a go. What is the preferred method for running tests? I have not added this to the Anaconda build we use. Just execute https://github.com/cerfacs-globc/icclim/blob/master/icclim/test-cases/icclim-test-wrapper.py? Thanks!
My sincerest apologies for the delay on getting back to you on this. I have a quick PR to address a couple Python 3 build issues: #32.
I think all issues are resolved now. Ben can you confirm?
Sorry for the delay, I was still on holidays.
No worries. I'm just jealous. 😄
I think all issues are resolved now. Ben can you confirm?
Clean on my end: https://travis-ci.org/NCPP/ocgis/jobs/350427172
We'll be hosting ICCLIM Python 2.7, 3.5, and 3.6 builds in the NESII Anaconda channel for Linux and OSX: https://anaconda.org/nesii/icclim
There is also going to be an OCGIS release in the next few weeks, and I'd like to point to the most recent ICCLIM version. Is it easy to tag a bug fix release with the Python 3 fixes?
Are you using the master branch or the netcdf3 branch? I will tag the proper one.
I've been using the master branch. Would you recommend a different branch?
Got it. Either branch is fine with me, but I have been testing against master...
👍 I'll close this issue too. Thank you!
Sorry guys I know this issue is closed but I didn't want to open a new issue. I was just wondering, is Python 3 supported in the latest version of ICCLIM? @pagecp
Hi,
The branch netcdf3 is python 3 supported, but the goal is to merge it with the default branch asap.
Some users have reported problems with python 3 on both netcdf3 and default branches, which I was not able to reproduce yet.
Your experience could be valuable...
Christian