Skip to content

Instantly share code, notes, and snippets.

@jeschkies
Last active October 20, 2017 09:30
Show Gist options
  • Save jeschkies/b6c97a03cd5a17bb31a9e2f9630d72bf to your computer and use it in GitHub Desktop.
Save jeschkies/b6c97a03cd5a17bb31a9e2f9630d72bf to your computer and use it in GitHub Desktop.
A showcase of pipenv installing the wrong dependencies.
system in pipenv-test/
› ls
system in pipenv-test/
› python --version
Python 3.5.2
system in pipenv-test/
› pipenv --three install -e git+https://github.com/jeschkies/shakedown.git#egg=dcos-shakedown
Virtualenv already exists!
Removing existing virtualenv…
Creating a virtualenv for this project…
Using /Users/kjeschkies/.pyenv/versions/3.5.2/bin/python3 to create virtualenv…
⠋Running virtualenv with interpreter /Users/kjeschkies/.pyenv/versions/3.5.2/bin/python3
Using base prefix '/Users/kjeschkies/.pyenv/versions/3.5.2'
New python executable in /Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp/bin/python3
Also creating executable in /Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp
Creating a Pipfile for this project…
Installing -e git+https://github.com/jeschkies/shakedown.git#egg=dcos-shakedown…
.
.
.
Adding -e git+https://github.com/jeschkies/shakedown.git#egg=dcos-shakedown to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (0d5d00)!
system in pipenv-test/
› pipenv run python --version
Python 3.5.2
system in pipenv-test/
› pipenv run dcos --version
dcoscli.version=0.5.5
dcos.version=N/A
dcos.commit=N/A
dcos.bootstrap-id=N/A
system in pipenv-test/
› pipenv --rm
Removing virtualenv (/Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp)…
system in pipenv-test/
› pipenv --three install
Creating a virtualenv for this project…
Using /Users/kjeschkies/.pyenv/versions/3.5.2/bin/python3 to create virtualenv…
⠋Running virtualenv with interpreter /Users/kjeschkies/.pyenv/versions/3.5.2/bin/python3
Using base prefix '/Users/kjeschkies/.pyenv/versions/3.5.2'
New python executable in /Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp/bin/python3
Also creating executable in /Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /Users/kjeschkies/.local/share/virtualenvs/pipenv-test-nU6e7SJp
Installing dependencies from Pipfile.lock (0d5d00)…
Ignoring ipaddress: markers 'python_version < "3"' don't match your environment
Ignoring enum34: markers 'python_version < "3"' don't match your environment
Ignoring futures: markers 'python_version == "2.7"' don't match your environment
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 34/34 — 00:00:07
To activate this project's virtualenv, run the following:
$ pipenv shell
system in pipenv-test/
› pipenv run dcos --version
dcoscli.version=0.4.14
dcos.version=1.9.4
dcos.commit=f843772e2740889cc4bba263db44f1403e670037
dcos.bootstrap-id=79f6d6e1c406bffd3fab28b36815220575ae5995
system in pipenv-test/
› pipenv run python --version
Python 3.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment