2649b5de8d60e813bc842c9bfe8b4e7b222c49ad,src/python/pants/backend/python/util_rules/pex_test.py,,create_pex_and_get_all_data,#,328
Before Change
rule_runner.scheduler.write_digest(digest)
pex_path = os.path.join(rule_runner.build_root, "test.pex")
with zipfile.ZipFile(pex_path, "r") as zipfp:
with zipfp.open("PEX-INFO", "r") as pex_info:
pex_info_content = pex_info.readline().decode()
pex_list = zipfp.namelist()
return {
"pex": pex,
"local_path": pex_path,
"info": json.loads(pex_info_content),
After Change
pex_process_type(
pex,
argv=["info"],
extra_env=dict(PEX_TOOLS="1"),
description="Extract PEX-INFO.",
),
],
)
result = rule_runner.request(ProcessResult, [process])
pex_info_content = result.stdout.decode()
with zipfile.ZipFile(pex_path, "r") as zipfp:
pex_list = zipfp.namelist()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pantsbuild/pants
Commit Name: 2649b5de8d60e813bc842c9bfe8b4e7b222c49ad
Time: 2021-03-12
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/util_rules/pex_test.py
Class Name:
Method Name: create_pex_and_get_all_data
Project Name: merenlab/anvio
Commit Name: d4539e9ae2c90a342e9e4dea9708a809a1fc753f
Time: 2019-08-26
Author: quentin.clayssen@gmail.com
File Name: anvio/taxoestimation.py
Class Name: SCGsTaxonomy
Method Name: __init__
Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: f2398b2581a86239d6d5dba9b977f283030b2f9d
Time: 2019-05-10
Author: simonboehm@mailbox.org
File Name: cde/evaluation/simulation_eval/plotting/question1_plots.py
Class Name:
Method Name: