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

Move from python 2 to python 3 #185

Open
mnlevy1981 opened this issue Dec 7, 2018 · 5 comments
Open

Move from python 2 to python 3 #185

mnlevy1981 opened this issue Dec 7, 2018 · 5 comments
Assignees

Comments

@mnlevy1981
Copy link
Collaborator

Python 2 is only going to be supported through the end of 2019, and many packages are moving development to python 3 only sooner than that. For example, NumPy says

Until December 31, 2018, all NumPy releases will fully support both Python2 and Python3.

Starting on January 1, 2019, any new feature releases will support only Python3.

The last Python2 supporting release will be designated as a long term support (LTS) release, meaning that we will continue to merge bug fixes and make bug fix releases for a longer period than usual. Specifically, it will be supported by the community until December 31, 2019

So I think it might be wise to start thinking about moving from Python 2.7 to 3.6 or 3.7.

@bertinia
Copy link
Contributor

bertinia commented Dec 7, 2018

Here's a preliminary list of what needs to be done for python3:

  • clone the latest python3 version of ncar_pylib for both cheyenne and DAV to check
    that the necessary post-processing module dependencies are installed
  • make sure the external subtree modules are python3 compatible; includes ASAPPyTools, PyAverager, PyReshaper, PyConform, and ILAMB.
  • make sure all wrapper scripts are python3 compatible

@nocollier
Copy link
Collaborator

nocollier commented Dec 7, 2018 via email

@kmpaul
Copy link

kmpaul commented Dec 7, 2018

ASAPTools is already Py3 ready. The other tools need to be upgraded, but that should not be hard with packages like six and modernize. Plus, they are smaller codebases.

@nocollier
Copy link
Collaborator

nocollier commented Jan 14, 2019 via email

@mnlevy1981
Copy link
Collaborator Author

This is just an example of what @kmpaul mentioned in his comment in December, but @klindsay28 pointed out that PyConform is not py3-compatible at this time. From the readme:

Additionally, the entire package is designed to work with Python v2.7 and up to (but not including) Python v3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants