Skip to content

Update makedep.py to support python 3 - #76

Merged
mnlevy1981 merged 1 commit into
CVMix:masterfrom
xylar:python_3_support
Apr 29, 2019
Merged

mnlevy1981 merged 1 commit into
CVMix:masterfrom
xylar:python_3_support

Conversation

@xylar

@xylar xylar commented Apr 29, 2019

Copy link
Copy Markdown
Contributor

Currently, CVMIX can only be built (at least via MPAS-Ocean) with
python 2.7. Given that python 2 is going away later this year,
it seems necessary to support python 3 as well.

With this merge, the python environment used to build CVMIx will
need the future package in python 2.7. If this dependency is a
problem, it could be removed with the side effect that print
output will look strange in python 2.7 (be surrounded by
parentheses).

Currently, CVMIX can only be built (at least via MPAS-Ocean) with
python 2.7.  Given that python 2 is going away later this year,
it seems necessary to support python 3 as well.

With this merge, the python environment used to build CVMIx will
need the future package in python 2.7.  If this dependency is a
problem, it could be removed with the side effect that print
output will look strange in python 2.7 (be surrounded by
parentheses).
@xylar

xylar commented Apr 29, 2019

Copy link
Copy Markdown
Contributor Author

Testing

I have been able to successfully build MPAS-Ocean including CVMix with these changes in both a python 2.7 and python 3.7 environment. A build with python 3.7 failed without these changes (specifically the print functions).

@mnlevy1981

Copy link
Copy Markdown
Contributor

Thanks so much for doing this!

@xylar
xylar deleted the python_3_support branch April 29, 2019 17:02
@xylar

xylar commented Apr 29, 2019

Copy link
Copy Markdown
Contributor Author

Awesome! Thanks for the quick turn-around on this, @mnlevy1981.

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

Successfully merging this pull request may close these issues.

2 participants