Skip to content

Instantly share code, notes, and snippets.

@jtratner

jtratner/output Secret

Last active March 10, 2018 18:30
Show Gist options
  • Save jtratner/440e949b64889aa5afe90e1c871385af to your computer and use it in GitHub Desktop.
Save jtratner/440e949b64889aa5afe90e1c871385af to your computer and use it in GitHub Desktop.
+ pip install -e /Users/jtratner/pipenv
Obtaining file:///Users/jtratner/pipenv
Requirement already satisfied: setuptools>=36.2.1 in /usr/local/lib/python2.7/site-packages (from pipenv==11.3.2)
Requirement already satisfied: virtualenv in /usr/local/lib/python2.7/site-packages (from pipenv==11.3.2)
Requirement already satisfied: virtualenv-clone>=0.2.5 in /usr/local/lib/python2.7/site-packages (from pipenv==11.3.2)
Requirement already satisfied: pathlib in /usr/local/lib/python2.7/site-packages (from pipenv==11.3.2)
Installing collected packages: pipenv
Found existing installation: pipenv 11.3.2
Uninstalling pipenv-11.3.2:
Successfully uninstalled pipenv-11.3.2
Running setup.py develop for pipenv
Successfully installed pipenv
+ git --git-dir /Users/jtratner/pipenv/.git rev-parse HEAD
f34f94d793dd246aac6dbc28f8dcfd67b4aace38
+ pipenv --version
pipenv, version 11.3.2
++ mktemp -d
+ TDIR=/var/folders/fm/sjgpzb856kld04jvq82bxrcw0000gp/T/tmp.SwkygLHD
+ cd /var/folders/fm/sjgpzb856kld04jvq82bxrcw0000gp/T/tmp.SwkygLHD
+ pipenv install pytest
Creating a virtualenv for this project…
Using /usr/local/opt/python/bin/python2.7 (2.7.14) to create virtualenv…
Already using interpreter /usr/local/opt/python/bin/python2.7
New python executable in /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/bin/python2.7
Also creating executable in /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0
Creating a Pipfile for this project…
Installing pytest…
Collecting pytest
Using cached pytest-3.4.2-py2.py3-none-any.whl
Collecting six>=1.10.0 (from pytest)
Using cached six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/lib/python2.7/site-packages (from pytest)
Collecting py>=1.5.0 (from pytest)
Using cached py-1.5.2-py2.py3-none-any.whl
Collecting funcsigs; python_version < "3.0" (from pytest)
Using cached funcsigs-1.0.2-py2.py3-none-any.whl
Collecting attrs>=17.2.0 (from pytest)
Using cached attrs-17.4.0-py2.py3-none-any.whl
Collecting pluggy<0.7,>=0.5 (from pytest)
Installing collected packages: six, py, funcsigs, attrs, pluggy, pytest
Successfully installed attrs-17.4.0 funcsigs-1.0.2 pluggy-0.6.0 py-1.5.2 pytest-3.4.2 six-1.11.0
Adding pytest to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (a52cde)!
Installing dependencies from Pipfile.lock (a52cde)…
To activate this project's virtualenv, run the following:
$ pipenv shell
+ pipenv --rm
Removing virtualenv (/Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0)…
+ pipenv install
Creating a virtualenv for this project…
Using /usr/local/bin/python2.7 (2.7.14) to create virtualenv…
Running virtualenv with interpreter /usr/local/bin/python2.7
New python executable in /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/bin/python2.7
Also creating executable in /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0
Installing dependencies from Pipfile.lock (a52cde)…
To activate this project's virtualenv, run the following:
$ pipenv shell
+ pipenv run pytest -h
Traceback (most recent call last):
File "/Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/bin/pytest", line 7, in <module>
from pytest import main
File "/Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/lib/python2.7/site-packages/pytest.py", line 9, in <module>
from _pytest.config import (
File "/Users/jtratner/.virtualenvs/tmp.SwkygLHD-6-Qv5eT0/lib/python2.7/site-packages/_pytest/config.py", line 9, in <module>
import six
ImportError: No module named six
+ cat Pipfile
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
pytest = "*"
[requires]
python_version = "2.7"
+ cat Pipfile.lock
{
"_meta": {
"hash": {
"sha256": "d9a5e8e7a8376e93dc640e253fc91b5a8259bd29e7286ec7d740919a6ea52cde"
},
"pipfile-spec": 6,
"requires": {
"python_version": "2.7"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.python.org/simple",
"verify_ssl": true
}
]
},
"default": {
"pytest": {
"hashes": [
"sha256:062027955bccbc04d2fcd5d79690947e018ba31abe4c90b2c6721abec734261b",
"sha256:117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5"
],
"version": "==3.4.2"
}
},
"develop": {}
}
set -x
pip install -e ~/pipenv
git --git-dir ~/pipenv/.git rev-parse HEAD
pipenv --version
TDIR=$(mktemp -d)
cd $TDIR
pipenv install pytest
pipenv --rm
pipenv install
pipenv run pytest -h
cat Pipfile
cat Pipfile.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment