a368267b6b4cf50138ba567f582409ed31bf5db9,src/python/pants/backend/python/tasks/isort_prep.py,Factory,build_isort_pex,#Any#Any#Any#Any#Any#,55

Before Change


      @classmethod
      def build_isort_pex(cls, context, interpreter, pex_path, requirements_lib):
        with safe_concurrent_creation(pex_path) as chroot:
          builder = PEXBuilder(path=chroot, interpreter=interpreter)
          dump_requirement_libs(builder=builder,
                                interpreter=interpreter,
                                req_libs=[requirements_lib],
                                log=context.log)
          builder.set_script("isort")
          builder.freeze()

    def __init__(self, pex_path, interpreter=None):

After Change


      @classmethod
      def build_isort_pex(cls, context, interpreter, pex_path, requirements_lib):
        with safe_concurrent_creation(pex_path) as chroot:
          pex_builder = PexBuilderWrapper(
            PEXBuilder(path=chroot, interpreter=interpreter),
            PythonRepos.global_instance(),
            PythonSetup.global_instance(),
            context.log)
          pex_builder.add_requirement_libs_from(req_libs=[requirements_lib])
          pex_builder.set_script("isort")
          pex_builder.freeze()

    def __init__(self, pex_path, interpreter=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


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


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_requirements