Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Upgrade to Python3 for the whole repo #3431

Merged
merged 3 commits into from
Jan 10, 2020
Merged

Upgrade to Python3 for the whole repo #3431

merged 3 commits into from
Jan 10, 2020

Conversation

nlu90
Copy link
Member

@nlu90 nlu90 commented Jan 8, 2020

Python2 has been sunsetting: https://pythonclock.org/

We also need to upgrade from python2 to python3.

@nlu90 nlu90 changed the title [WIP] upgrade to Python3 for the whole repo Upgrade to Python3 for the whole repo Jan 9, 2020
@nlu90
Copy link
Member Author

nlu90 commented Jan 9, 2020

This is a follow-up PR for #3412

Copy link
Contributor

@nwangtw nwangtw left a comment

Choose a reason for hiding this comment

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

I remember @kramasamy and @skanjila worked on python 3 before.

@joshfischer1108
Copy link
Member

I noticed travis only has the python package 2.7 listed. Will this be a problem?

- python2.7

@nlu90
Copy link
Member Author

nlu90 commented Jan 9, 2020

I noticed travis only has the python package 2.7 listed. Will this be a problem?

- python2.7

@joshfischer1108 Yeah, ideally we also need to update the travis config file. I will add a new commit and see how things work.

@nlu90
Copy link
Member Author

nlu90 commented Jan 10, 2020

@joshfischer1108 With the Travis change, the ci job still passes

@joshfischer1108
Copy link
Member

@nlu90 That's fantastic. Nice work.

Copy link
Member

@xiaoyao1991 xiaoyao1991 left a comment

Choose a reason for hiding this comment

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

LGTM

@nlu90 nlu90 merged commit 257b1a4 into master Jan 10, 2020
@nicknezis
Copy link
Contributor

Should the compile and dist Dockerfiles also be updated to include the right Python packages?

@nicknezis nicknezis mentioned this pull request Feb 2, 2020
5 tasks
nicknezis added a commit that referenced this pull request Mar 4, 2020
This reverts commit 257b1a4.

Conflicts:
	README.md
nicknezis added a commit that referenced this pull request Mar 5, 2020
sreev pushed a commit to sreev/incubator-heron that referenced this pull request Apr 9, 2020
* migrate to python3

* update README

* update travis
sreev pushed a commit to sreev/incubator-heron that referenced this pull request Apr 9, 2020
nicknezis pushed a commit that referenced this pull request Sep 14, 2020
* migrate to python3

* update README

* update travis
nicknezis added a commit that referenced this pull request Sep 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants