a368267b6b4cf50138ba567f582409ed31bf5db9,contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py,PythonEval,_build_source_pex,#PythonEval#Any#Any#Any#,232

Before Change


    return PEX(source_pex_path, interpreter=interpreter)

  def _build_source_pex(self, interpreter, path, targets):
    builder = PEXBuilder(path=path, interpreter=interpreter, copy=True)
    for target in targets:
      if has_python_sources(target):
        dump_sources(builder, target, self.context.log)
    builder.freeze()

After Change


    return PEX(source_pex_path, interpreter=interpreter)

  def _build_source_pex(self, interpreter, path, targets):
    pex_builder = PexBuilderWrapper(
      PEXBuilder(path=path, interpreter=interpreter, copy=True),
      PythonRepos.global_instance(),
      PythonSetup.global_instance(),
      self.context.log)
    for target in targets:
      if has_python_sources(target):
        pex_builder.add_sources_from(target)
    pex_builder.freeze()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: pantsbuild/pants
Commit Name: a368267b6b4cf50138ba567f582409ed31bf5db9
Time: 2018-10-26
Author: nh@baroquebobcat.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py
Class Name: PythonEval
Method Name: _build_source_pex


Project Name: pantsbuild/pants
Commit Name: a368267b6b4cf50138ba567f582409ed31bf5db9
Time: 2018-10-26
Author: nh@baroquebobcat.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py
Class Name: PythonEval
Method Name: _resolve_requirements_for_versioned_target_closure


Project Name: pantsbuild/pants
Commit Name: a368267b6b4cf50138ba567f582409ed31bf5db9
Time: 2018-10-26
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/python/tasks/resolve_requirements_task_base.py
Class Name: ResolveRequirementsTaskBase
Method Name: resolve_requirement_strings


Project Name: pantsbuild/pants
Commit Name: a368267b6b4cf50138ba567f582409ed31bf5db9
Time: 2018-10-26
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/python/tasks/isort_prep.py
Class Name: Factory
Method Name: build_isort_pex