[python-ng] A task to select a python interpreter.

Review Request #4346 — Created Nov. 1, 2016 and submitted

benjyw
pants
pants-reviews
jsirois
Places the resulting interpreter in products for future python-ng
tasks to consume.

Also made a few changes to the old PythonTask, namely moving
some logic that really belonged in InterpreterCache to there
(so that the new task can use it), and removing some unused methods.

CI passes: https://travis-ci.org/pantsbuild/pants/builds/173577121

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. 
      
  2. kill name
  3. old habits - kill name and sources
    1. Heh, yes. You'd think I would remember that. Done.

  4. How about just use PythonInterpreter as the product type? There is no need to stick to strings as a middleman that I can see.
  5. It would be good to also exercise the no target case you took care to handle in the task code.
  6. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Change Summary:

bf128de830ee9b28afb1801449b27a664407df97

Loading...