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

How to migrate from Py2 to Py3 #1355

Merged
merged 33 commits into from Jul 25, 2017

Conversation

Projects
None yet
3 participants
@jvanderaa
Copy link
Contributor

jvanderaa commented Jul 17, 2017

The commands done to migrate Ubuntu from Py2 to Py3.

Fixes:

Provides documentation of migrating from Py2 to Py3 on Ubuntu 16.04.

jeremystretch added some commits Oct 19, 2016

jeremystretch and others added some commits Jul 14, 2017

How to migrate from Py2 to Py3
The commands done to migrate Ubuntu from Py2 to Py3.

@jeremystretch jeremystretch changed the base branch from master to develop Jul 17, 2017

# Migration
Remove Python 2 packages
```no-highlight
# apt-get remove --purge -y python-dev python-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev zlib1g-dev

This comment has been minimized.

@lae

lae Jul 17, 2017

Contributor

Uninstalling development packages here and reinstalling them below doesn't quite make sense.

This comment has been minimized.

@jeremystretch

jeremystretch Jul 18, 2017

Contributor

Agreed. Only the Python-specific packages should be listed.

This comment has been minimized.

@jvanderaa

jvanderaa Jul 18, 2017

Author Contributor

I agree. In this process is that something I should then edit and re-submit a PR?

This comment has been minimized.

@jeremystretch

jeremystretch Jul 18, 2017

Contributor

Yep, just push the new commit to your branch and the PR will get updated.

@jvanderaa
Copy link
Contributor Author

jvanderaa left a comment

Updated to not to remove any dependency that would be re-installed.

@jeremystretch jeremystretch merged commit 0991f94 into digitalocean:develop Jul 25, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details

lampwins pushed a commit to lampwins/netbox that referenced this pull request Oct 13, 2017

How to migrate from Py2 to Py3 (digitalocean#1355)
* How to migrate from Py2 to Py3

The commands done to migrate Ubuntu from Py2 to Py3.

* Update Migrating-to-Python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.