Skip to content

Instantly share code, notes, and snippets.

@CVirus
Created March 4, 2019 11:11
Show Gist options
  • Save CVirus/be4f37f3ca5e8a49efe7a9b18b8758bd to your computer and use it in GitHub Desktop.
Save CVirus/be4f37f3ca5e8a49efe7a9b18b8758bd to your computer and use it in GitHub Desktop.
12:09:27 pm CET in ~/playground/venvs
➜ which ansible
/home/cvirus/.local/bin/ansible
12:09:33 pm CET in ~/playground/venvs
➜ virtualenv -p /usr/bin/python3.6 test_zsh_venv_bug
Running virtualenv with interpreter /usr/bin/python3.6
Using base prefix '/usr'
New python executable in /home/cvirus/playground/venvs/test_zsh_venv_bug/bin/python3.6
Also creating executable in /home/cvirus/playground/venvs/test_zsh_venv_bug/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
12:09:40 pm CET in ~/playground/venvs took 3s
➜ source test_zsh_venv_bug/bin/activate
12:09:58 pm CET in ~/playground/venvs via test_zsh_venv_bug
➜ pip install ansible
Collecting ansible
Collecting PyYAML (from ansible)
Requirement already satisfied: setuptools in ./test_zsh_venv_bug/lib/python3.6/site-packages (from ansible) (40.8.0)
Collecting jinja2 (from ansible)
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting paramiko (from ansible)
Using cached https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl
Collecting cryptography (from ansible)
Using cached https://files.pythonhosted.org/packages/5b/12/b0409a94dad366d98a8eee2a77678c7a73aafd8c0e4b835abea634ea3896/cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl
Collecting MarkupSafe>=0.23 (from jinja2->ansible)
Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting bcrypt>=3.1.3 (from paramiko->ansible)
Using cached https://files.pythonhosted.org/packages/d0/79/79a4d167a31cc206117d9b396926615fa9c1fdbd52017bcced80937ac501/bcrypt-3.1.6-cp34-abi3-manylinux1_x86_64.whl
Collecting pyasn1>=0.1.7 (from paramiko->ansible)
Using cached https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl
Collecting pynacl>=1.0.1 (from paramiko->ansible)
Using cached https://files.pythonhosted.org/packages/27/15/2cd0a203f318c2240b42cd9dd13c931ddd61067809fee3479f44f086103e/PyNaCl-1.3.0-cp34-abi3-manylinux1_x86_64.whl
Collecting asn1crypto>=0.21.0 (from cryptography->ansible)
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible)
Using cached https://files.pythonhosted.org/packages/20/f7/87b62a8895bf7c93e907b05b97bc4459c81a38a61151f03a6eae13d863aa/cffi-1.12.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting six>=1.4.1 (from cryptography->ansible)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible)
Installing collected packages: PyYAML, MarkupSafe, jinja2, pycparser, cffi, six, bcrypt, pyasn1, pynacl, asn1crypto, cryptography, paramiko, ansible
Successfully installed MarkupSafe-1.1.1 PyYAML-3.13 ansible-2.7.8 asn1crypto-0.24.0 bcrypt-3.1.6 cffi-1.12.2 cryptography-2.6.1 jinja2-2.10 paramiko-2.4.2 pyasn1-0.4.5 pycparser-2.19 pynacl-1.3.0 six-1.12.0
12:10:21 pm CET in ~/playground/venvs via test_zsh_venv_bug took 8s
➜ which ansible
/home/cvirus/.local/bin/ansible
12:10:37 pm CET in ~/playground/venvs via test_zsh_venv_bug
➜ deactivate
12:10:47 pm CET in ~/playground/venvs
➜ which ansible
/home/cvirus/.local/bin/ansible
12:10:53 pm CET in ~/playground/venvs
➜ source test_zsh_venv_bug/bin/activate
12:10:57 pm CET in ~/playground/venvs via test_zsh_venv_bug
➜ which ansible
/home/cvirus/playground/venvs/test_zsh_venv_bug/bin/ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment