Skip to content

Update makedep.py to support python 3 - #1

Merged
xylar merged 1 commit into
E3SM-Project:maint-1.0from
xylar:maint-1.0
Nov 12, 2019
Merged

xylar merged 1 commit into
E3SM-Project:maint-1.0from
xylar:maint-1.0

Conversation

@xylar

@xylar xylar commented Nov 10, 2019

Copy link
Copy Markdown

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 requested a review from mark-petersen November 10, 2019 08:45
@xylar

xylar commented Nov 10, 2019

Copy link
Copy Markdown
Author

This PR cherry-picks the following commit:
2c5842c Update makedep.py to support python 3

The maint-1.0 branch was started from the tag currently pulled in on https://github.com/MPAS-Dev/MPAS-Model/tree/e3sm/maint-1.0 (v0.84-beta)

It is meant to help address E3SM-Project/E3SM#3304

@mark-petersen mark-petersen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This set of PRs to update python all look good by visual inspection, and based on Xylar's tests. Xylar, please merge when ready if you have permissions.

@xylar
xylar merged commit 57dddb8 into E3SM-Project:maint-1.0 Nov 12, 2019
@xylar
xylar deleted the maint-1.0 branch November 12, 2019 18:04
@rljacob

rljacob commented Nov 12, 2019

Copy link
Copy Markdown
Member

Tagging @vanroekel

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.

3 participants