Skip to content
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 #8

Closed
ocefpaf opened this issue Aug 30, 2017 · 10 comments
Closed

Python 3 #8

ocefpaf opened this issue Aug 30, 2017 · 10 comments

Comments

@ocefpaf
Copy link
Member

ocefpaf commented Aug 30, 2017

@JiaweiZhuang asked in pydata/xarray#486 (comment)

@ocefpaf Any plan for Python3-compatible ESMPy? I only see Python2.7 here: https://github.com/conda-forge/esmpy-feedstock

@bekozi is there a py3k version released? I confess I lost track of the package (using mostly the nco wrapped version 😄)

@bekozi
Copy link
Contributor

bekozi commented Aug 30, 2017

Good morning. There is a Python 3.5/3.6 version of ESMPy available in our group's dev-esmf Anaconda channel: https://anaconda.org/nesii/repo/files?type=any&label=dev-esmf. Once there is an official ESMF release the conda-forge channel can be updated - not sure when that will be.

@ocefpaf
Copy link
Member Author

ocefpaf commented Aug 30, 2017

We can put the dev in conda-forge under a label like main/dev to make it easier for users and avoid multiple channels in the .condarc file. If you are interested in that let me know and we can try it here.

@bekozi
Copy link
Contributor

bekozi commented Aug 30, 2017

Sure, no issues with that on this end. We'll probably continue to maintain our channel regardless, but it makes sense to simplify channel requirements. ESMF is on a pretty slow release cycle but has a strong test harness. Hence, it would be great to get beta snapshots out there if possible!

@ocefpaf
Copy link
Member Author

ocefpaf commented Aug 30, 2017

We'll probably continue to maintain our channel regardless

Sure. One of the goals of conda-forge is not to substitute all other channels, but to share recipes and keep them in sync (although that sometimes is quite the challenge).

I'll take a look into updating the recipe here and adding the dev label later today.

@bekozi
Copy link
Contributor

bekozi commented Aug 30, 2017

although that sometimes is quite the challenge

Doing great from what I can tell.

Thanks for making the initial changes.

@JiaweiZhuang
Copy link
Member

@bekozi Great! It would be very useful to support Mac (I know Windows is tricker).

On the ESMPy website I can only find:

  • On conda-forge, only Python2.7, but include Linux and Mac
  • On NESII, include Python2.7, 3.5, 3.6, but only Linux

@bekozi
Copy link
Contributor

bekozi commented Aug 30, 2017

It would be very useful to support Mac (I know Windows is tricker).

Once the development builds are enabled in conda-forge Mac + Python 3 will be supported. You are correct that Windows is trickier. 😄 We support MingW and Cygwin. I know of an effort to get ESMF running in Windows natively. If that project bears fruit and makes it back into ESMF, it will definitely be pushed upstream!

@jhamman
Copy link
Member

jhamman commented Mar 13, 2018

@bekozi - did this ever get resolved? Would love to see this get finalized in conda-forge if possible.

@bekozi
Copy link
Contributor

bekozi commented Mar 13, 2018

It is nearly, nearly there. #10 will take care of it in conda-forge. In the meantime, there are Python 3 builds in -c nesii -c conda-forge.

@bekozi
Copy link
Contributor

bekozi commented Mar 21, 2018

Python 3 builds for ESMPy are in.

@bekozi bekozi closed this as completed Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants