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

Convert to Python 3 #886

Merged
merged 8 commits into from Apr 25, 2018
Merged

Convert to Python 3 #886

merged 8 commits into from Apr 25, 2018

Conversation

hdoupe
Copy link
Collaborator

@hdoupe hdoupe commented Apr 24, 2018

This PR converts PolicyBrain to Python 3. So far, I have only run the Python 2to3 module. I'm pretty impressed with the initial results...only 22 out of the 172 tests failed. However, even once all the tests are passing, we will have to take care to test the app thoroughly before deploying it.

@hdoupe hdoupe added WIP and removed in progress labels Apr 24, 2018
@hdoupe hdoupe added ready and removed WIP labels Apr 25, 2018
@hdoupe
Copy link
Collaborator Author

hdoupe commented Apr 25, 2018

The heroku buildpack needs to be updated, too. I plan to do this in a follow up PR. We currently use a build-pack that was forked from the official buildpack: https://github.com/heroku-python/conda-buildpack.

Also, the worker nodes need to be upgraded to Python 3. Note that the webapp and the worker nodes can be out-of-sync since the worker nodes run as separate processes. I will update this in a follow up PR.

@hdoupe hdoupe merged commit 0857c58 into ospc-org:master Apr 25, 2018
@brendancol brendancol removed the ready label Apr 25, 2018
hdoupe pushed a commit to hdoupe/ospc.org that referenced this pull request Apr 26, 2018
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.

None yet

2 participants