-
Notifications
You must be signed in to change notification settings - Fork 283
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
Python 3 support #1658
Comments
Ping? |
We've used |
Ah, it seems it's a good thing I started trying to do it that way already, then. |
Currently reaching about 90% test passes now, but most of the failures are now due to GRIB's issues, or with something I don't yet understand. |
It isn't unreasonable to state that GRIB is not supported on Python3. We do precisely that for Windows. GRIB is an optional dependency for Iris after all. |
Agreed, with the following caveat: When we announce Python 3 support we must make sure to declare very openly which components are not supported. |
Hrm, you're right that's how it's documented, but the tests seem to disagree. |
What is the encoding for the text fields in the NAME, NIMROD formats? |
99% there... |
👏 Impressive. 😄 |
I've got about 8 branches split out into common changes and ready to make PRs. But I'm not sure how co-dependent they are, so I'm not going to open any PRs until the other 4 are merged, or I'll have to rebase them repeatedly. |
If there are still multiple steps to achieve this then perhaps a checklist in the description, or split it out into multiple issues. |
Thanks for adding the checklist @QuLogic 😄 |
Hmm, looks like there are no 3.3 dependencies in conda. And a few missing things in 3.4, too. |
https://github.com/SciTools/conda-recipes-scitools/blob/master/pyugrid/meta.yaml#L14
I decided to keep the matrix small. It is easy enough to fix, but has the cost of an extra load of built distributions. Given we want to keep the channel as small as possible, do you feel that py33 is critical @QuLogic? |
Well, that's up to you. Cartopy, biggus, etc. are tested on 3.3. |
It turned out to be pretty easy to split apart the smaller branches, so there are 5 new PRs to review. |
The first build to pass on Travis without trouble is finally up (except 3.3 has no conda deps.) |
Is there a good reason to support py33 (other than the fact that we can)? Otherwise, I'm inclined to keep our lives as simple as possible and state py27 / py34 / (py35) support only. |
It used to be the latest supported on RHEL, but now software collections has a 3.4 backport, so perhaps it is not so necessary. |
As @pelson already suggested, we probably only need support Python 2.7 and 3.4 : comment So just 2.7 + 3.4 sounds like a a nice simple goal @QuLogic @pelson @rhattersley are we all agreed that will be good enough ? |
Sounds good to me. I think most of the hard work for updating matplotlib has to do with cartopy, but that's already in progress. |
I'd be very happy with 2.7 + 3.4. 👍 |
So... this is done?!? 😁 |
I believe it is : everything here has now been included somewhere else. |
Pretty much; I was holding off unless any last minute issues came up. |
🎉 🎉 - woohoo! Welcome to the 21st century 😜 ! 👍 |
🎂 🎉 |
🤘 |
Thanks all! And special thanks to Elliott! I am looking forward for the next release! Iris was the last major dependency I needed to move to py3. On Nov 20, 2015 7:46 AM, "Richard Hattersley" notifications@github.com
|
Most of the simple compatibility stuff is finished (i.e., #1657, etc.). So the question is how to do stuff that is incompatible between 2 and 3?
There are a boatload of
iter*
calls, either due to performance or just plain copy & paste. In that regard, it would be much nicer to just use Python 3 syntax viafuture
. Any thoughts on the two?Remaining items:
The text was updated successfully, but these errors were encountered: