How to test with Python 3.5 on Debian jessie - noyainrain/meetling GitHub Wiki

# Install Python 3.5
cd /tmp
git clone --branch=3.5 --single-branch https://github.com/python/cpython.git
cd cpython
./configure
make
sudo make altinstall

# Create a Python 3.5 virtual environment
cd {project-path}
pyvenv-3.5 py35

# Work in the virtual environment
source py35/bin/activate
# Run tests here...
deactivate