)]}'
{"tools/tox_install.sh":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"75252fd0804f3fa219ff882961581a1f9466f1fa","unresolved":false,"context_lines":[{"line_number":19,"context_line":"# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep"},{"line_number":20,"context_line":"curl \"$CONSTRAINTS_FILE\" --insecure --progress-bar --output \"$localfile\""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"python -m pip install -c\"$localfile\" openstack-requirements"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"# This is the main purpose of the script: Allow local installation of"},{"line_number":25,"context_line":"# the current repo. It is listed in constraints file and thus any"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ff82abbf_36d6052a","line":22,"updated":"2017-11-28 19:11:12.000000000","message":"The `pip` that gets installed in .tox/py27/bin gets an unusable shebang, and there\u0027s no real way around it AFAICT. Use `python -m pip` to get around it.","commit_id":"cb2778659e8d69d8741ca3167314862f8555a989"},{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"b878afd5a69e92c5a4486e4bff3e0235019bb2cd","unresolved":false,"context_lines":[{"line_number":26,"context_line":"# install will be constrained and we need to unconstrain it."},{"line_number":27,"context_line":"python \"$(which edit-constraints)\" \"$localfile\" -- $CLIENT_NAME"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"python -m pip install -c\"$localfile\" -U \"$@\""},{"line_number":30,"context_line":"exit $?"}],"source_content_type":"text/x-sh","patch_set":1,"id":"ff82abbf_15be4db3","line":29,"range":{"start_line":29,"start_character":41,"end_line":29,"end_character":44},"updated":"2017-11-29 02:41:22.000000000","message":"Ah ok. The change from asterisk to at mark is because at mark doesn\u0027t extract the string including space. Make sense.","commit_id":"cb2778659e8d69d8741ca3167314862f8555a989"}],"tox.ini":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"75252fd0804f3fa219ff882961581a1f9466f1fa","unresolved":false,"context_lines":[{"line_number":6,"context_line":"[testenv]"},{"line_number":7,"context_line":"usedevelop \u003d True"},{"line_number":8,"context_line":"install_command \u003d \"{toxinidir}/tools/tox_install.sh\" \"{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}\" {opts} {packages}"},{"line_number":9,"context_line":"list_dependencies_command \u003d python -m pip freeze"},{"line_number":10,"context_line":"setenv \u003d"},{"line_number":11,"context_line":"  LANG\u003den_US.utf8"},{"line_number":12,"context_line":"  VIRTUAL_ENV\u003d{envdir}"}],"source_content_type":"text/x-properties","patch_set":1,"id":"ff82abbf_566629c3","line":9,"updated":"2017-11-28 19:11:12.000000000","message":"Otherwise, we get\n\nERROR: invocation failed (errno 2), args: [\u0027/Users/tburke/Code/openstack/python swiftclient/.tox/py27/bin/pip\u0027, \u0027freeze\u0027], cwd: /Users/tburke/Code/openstack/python swiftclient\nTraceback (most recent call last):\n  File \"/Users/tburke/.virtualenvs/Python27/bin/tox\", line 11, in \u003cmodule\u003e\n    sys.exit(cmdline())\n  File \"/Users/tburke/.virtualenvs/Python27/lib/python2.7/site-packages/tox/session.py\", line 40, in main\n    retcode \u003d Session(config).runcommand()\n  File \"/Users/tburke/.virtualenvs/Python27/lib/python2.7/site-packages/tox/session.py\", line 392, in runcommand\n    return self.subcommand_test()\n  File \"/Users/tburke/.virtualenvs/Python27/lib/python2.7/site-packages/tox/session.py\", line 575, in subcommand_test\n    action\u003daction)\n  File \"/Users/tburke/.virtualenvs/Python27/lib/python2.7/site-packages/tox/venv.py\", line 414, in _pcall\n    redirect\u003dredirect, ignore_ret\u003dignore_ret)\n  File \"/Users/tburke/.virtualenvs/Python27/lib/python2.7/site-packages/tox/session.py\", line 140, in popen\n    stdout\u003dstdout, stderr\u003dsubprocess.STDOUT)\n  File \"/Users/tburke/.virtualenvs/Python27/lib/python2.7/site-packages/tox/session.py\", line 228, in _popen\n    stdout\u003dstdout, stderr\u003dstderr, env\u003denv)\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 710, in __init__\n    errread, errwrite)\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 1335, in _execute_child\n    raise child_exception\nOSError: [Errno 2] No such file or directory","commit_id":"cb2778659e8d69d8741ca3167314862f8555a989"}]}
