077673acef5171b8fff8102b92fba0cf6a223393,src/python/pants/backend/python/goals/setup_py.py,,generate_chroot,#Any#,648
Before Change
ResolvePexEntryPointRequest(binary[PexEntryPointField], binary[PexBinarySources])
)
binary_entry_points = await MultiGet(
Get(ResolvedPexEntryPoint, ResolvePexEntryPointRequest, request)
for request in entry_point_requests
)
for key, binary_entry_point in zip(key_to_binary_spec.keys(), binary_entry_points):
entry_points = setup_kwargs["entry_points"] = setup_kwargs.get("entry_points", {})
After Change
f"type {binary.alias}."
)
entry_point = binary[PexEntryPointField].value
if not entry_point:
raise InvalidEntryPoint(
"Every `pex_binary` used in `.with_binaries()` for the `provides` field for "
f"{exported_addr} must explicitly set the `entry_point` field, but "
f"{binary.address} left the field off. Set `entry_point` to "
"`path.to.module:func`, e.g. `project.app:main`."
)
if ":" not in entry_point:
raise InvalidEntryPoint(
"Every `pex_binary` used in `with_binaries()` for the `provides()` field for "
f"{exported_addr} must set the `entry_point` field in the format "
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 077673acef5171b8fff8102b92fba0cf6a223393
Time: 2020-10-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/goals/setup_py.py
Class Name:
Method Name: generate_chroot
Project Name: pantsbuild/pants
Commit Name: 6a5d77c31e772cec5fedbf149f3d41108c5aae8c
Time: 2018-05-16
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name:
Method Name: javac_compile_process_result
Project Name: pantsbuild/pants
Commit Name: 500e1268ceddfe67674ae2a3b741f1ea199046c0
Time: 2020-09-21
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/goals/create_python_binary.py
Class Name:
Method Name: create_python_binary