Skip to content

Instantly share code, notes, and snippets.

@jarshwah
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jarshwah/db6dbbbe68bdac4fc12f to your computer and use it in GitHub Desktop.
Save jarshwah/db6dbbbe68bdac4fc12f to your computer and use it in GitHub Desktop.
Update djangocore-box VM to run py3.3 tests properly
sudo apt-get update
sudo apt-get install gcc libffi-dev vim
sudo apt-get install python3.3 python3.3-dev python3.3-minimal
workon py2.7
pip install -r /home/vagrant/.hosthome/Development/django/tests/requirements/py2.txt
deactivate
rm /home/vagrant/.virtualenvs/py3.3/bin/python
cd /home/vagrant/.virtualenvs/
mkvirtualenv py3.3 --python=`which python3.3`
workon py3.3
pip install -r /home/vagrant/.hosthome/Development/django/tests/requirements/py3.txt --upgrade
pip install -r /home/vagrant/.hosthome/Development/django/tests/requirements/mysql.txt --upgrade
runtests3.3-mysql from_db_value.tests.FromDBValueTest.test_values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment