Return cached_chroots instead of yielding them.

Review Request #2762 - Created Sept. 3, 2015 and submitted

Information
John Sirois
pants
jsirois/issues/2110/cached_chroot_return
2110, 2130
2765
13343bc...
Reviewers
pants-reviews
gmalmquist, kwlzn, mateor
A forthcoming change to the `PythonRepl` and `ScalaRepl `tasks requires
this on the python side for sanity sake.  Although we still have one
`temporary_chroot` `@contextmanager` user in `PythonBinaryCreate`, the
transition wll be straightforward so cleaning this up now is not
disruptive.

 src/python/pants/backend/python/tasks/pytest_run.py              | 26 +++++++++++++-------------
 src/python/pants/backend/python/tasks/python_eval.py             | 27 +++++++++++++++------------
 src/python/pants/backend/python/tasks/python_repl.py             | 28 ++++++++++++++--------------
 src/python/pants/backend/python/tasks/python_run.py              | 46 ++++++++++++++++++++++++----------------------
 src/python/pants/backend/python/tasks/python_task.py             | 16 +++++-----------
 tests/python/pants_test/backend/python/tasks/test_python_task.py | 10 +++++-----
 6 files changed, 76 insertions(+), 77 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/78654314
Kris Wilson
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...