NOAA-ORR-ERD / PyGnome

The General NOAA Operational Modeling Environment
https://gnome.orr.noaa.gov/doc/pygnome/index.html
Other
59 stars 44 forks source link

Python 3 roadmap #50

Open tdesvenain opened 5 years ago

tdesvenain commented 5 years ago

Hi, pygnome is now python 2. python 2 will not be maintained after 2020/01/01 Have there been any discussions about porting to python 3 ? Are there any known blockers ? We may have some budget to work on it. are there people that could help us ? Thanks

ChrisBarker-NOAA commented 5 years ago

Thanks for the offfer!

Yes, Py3 is coming. Though 2020 is the end of support from the current develops, it’s not that it will stop working ;-)

That being said, yes, we would like to port to Py3. Bug Ed currently don’t have a schedule for doing so.

I don’t see any blockers, though:

There may be some issues with passing strings to/from the Cython/C++ code.

Py_gd, used for rendering is py2only, though I don’t think it will be hard to port.

The WebAPI May require some significant refactoring.

So the plan forward would be to Porto py2/3 compatible code, using six sparingly where needed.

If you want to take a stab at it, fork the develop branch, and we can create a Py3 branch to work in.

We’ll review PRs as it goes.

It would be really great to get this going!

@james @jay: could you make sure the latest develop branch is on gitHub?