0672196d5863f446a9fce40d5a0aae6831b2b681,src/python/pants/backend/python/util_rules/extract_pex_test.py,,get_distributions,#Any#,34
Before Change
interpreter_constraints=PexInterpreterConstraints([">=3.6"]),
internal_only=True,
)
options_bootstrapper = create_options_bootstrapper(
args=[
"--backend-packages=pants.backend.python",
"--python-setup-requirement-constraints=constraints.txt",
]
)
built_pex = rule_runner.request(Pex, [pex_request, options_bootstrapper, PantsEnvironment()])
return rule_runner.request(ExtractedPexDistributions, [built_pex])
After Change
rule_runner: RuleRunner, *, requirements: Iterable[str], constraints: Iterable[str]
) -> ExtractedPexDistributions:
// NB: The constraints are important for determinism.
rule_runner.set_options(
[
"--backend-packages=pants.backend.python",
"--python-setup-requirement-constraints=constraints.txt",
]
)
rule_runner.create_file("constraints.txt", "\n".join(constraints))
pex_request = PexRequest(
output_filename="test.pex",
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/util_rules/extract_pex_test.py
Class Name:
Method Name: get_distributions
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/awslambda/python/awslambda_python_rules_test.py
Class Name:
Method Name: create_python_awslambda
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/rules_test.py
Class Name:
Method Name: test_infer_python_inits
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/options_parsing_test.py
Class Name:
Method Name: test_options_parse_scoped
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/rules_test.py
Class Name:
Method Name: test_infer_python_conftests
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/module_mapper_test.py
Class Name:
Method Name: test_map_first_party_modules_to_addresses
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/build_files_test.py
Class Name:
Method Name: test_address_specs_filter_by_exclude_pattern
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/internals/build_files_test.py
Class Name:
Method Name: test_address_specs_filter_by_tag
Project Name: pantsbuild/pants
Commit Name: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/module_mapper_test.py
Class Name:
Method Name: test_map_module_to_address