73e97c2cb047db4eedaf22af9d472fb253ea64ac,src/python/pants/backend/python/goals/setup_py_test.py,,create_setup_py_rule_runner,#,58

Before Change




def create_setup_py_rule_runner(*, rules: Iterable) -> RuleRunner:
    return RuleRunner(
        rules=rules,
        target_types=[
            PexBinary,
            PythonDistribution,
            PythonLibrary,
            PythonRequirementLibrary,
            Resources,
            Files,
        ],
        objects={"setup_py": PythonArtifact},
    )


// We use a trivial test that our SetupKwargs plugin hook works.
class PluginSetupKwargsRequest(SetupKwargsRequest):

After Change




def create_setup_py_rule_runner(*, rules: Iterable) -> RuleRunner:
    rule_runner = RuleRunner(
        rules=rules,
        target_types=[
            PexBinary,
            PythonDistribution,
            PythonLibrary,
            PythonRequirementLibrary,
            Resources,
            Files,
        ],
        objects={"setup_py": PythonArtifact},
    )
    rule_runner.set_options([], env_inherit={"PATH", "PYENV_ROOT", "HOME"})
    return rule_runner


// We use a trivial test that our SetupKwargs plugin hook works.
class PluginSetupKwargsRequest(SetupKwargsRequest):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 73e97c2cb047db4eedaf22af9d472fb253ea64ac
Time: 2021-03-08
Author: stuhood@gmail.com
File Name: src/python/pants/backend/python/goals/setup_py_test.py
Class Name:
Method Name: create_setup_py_rule_runner


Project Name: pantsbuild/pants
Commit Name: a6e07cefbde47684bcc540c9f187d3c88311921b
Time: 2020-10-22
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/goals/pytest_runner_integration_test.py
Class Name:
Method Name: rule_runner


Project Name: pantsbuild/pants
Commit Name: 73e97c2cb047db4eedaf22af9d472fb253ea64ac
Time: 2021-03-08
Author: stuhood@gmail.com
File Name: tests/python/pants_test/init/test_plugin_resolver.py
Class Name:
Method Name: rule_runner


Project Name: pantsbuild/pants
Commit Name: d3e79fc2bc5005682a75c72243394390f579f76a
Time: 2020-10-26
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/goals/pytest_runner_integration_test.py
Class Name:
Method Name: rule_runner