a368267b6b4cf50138ba567f582409ed31bf5db9,src/python/pants/backend/python/tasks/pex_build_util.py,,dump_requirements,#Any#Any#Any#Any#Any#,103
Before Change
distributions = resolve_multi(interpreter, deduped_reqs, platforms, find_links)
locations = set()
for platform, dists in distributions.items():
for dist in dists:
if dist.location not in locations:
log.debug(" Dumping distribution: .../{}".format(os.path.basename(dist.location)))
builder.add_distribution(dist)
locations.add(dist.location)
def resolve_multi(interpreter, requirements, platforms, find_links):
Multi-platform dependency resolution for PEX files.
Returns a list of distributions that must be included in order to satisfy a set of requirements.
After Change
deprecated("1.11.0.dev0",
"This function has been moved onto the PexBuilderWrapper class.")
PexBuilderWrapper (
builder,
PythonRepos.global_instance(),
PythonSetup.global_instance() ,
log
).add_resolved_requirements(reqs, platforms)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: a368267b6b4cf50138ba567f582409ed31bf5db9
Time: 2018-10-26
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/python/tasks/pex_build_util.py
Class Name:
Method Name: dump_requirements
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/checkstyle/checkstyle.py
Class Name: Checkstyle
Method Name: checker_pex
Project Name: pantsbuild/pants
Commit Name: a368267b6b4cf50138ba567f582409ed31bf5db9
Time: 2018-10-26
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/python/tasks/python_binary_create.py
Class Name: PythonBinaryCreate
Method Name: _create_binary