Thanks for the 2.0.0.dev7 release. There is a mino...
# general
m
Thanks for the 2.0.0.dev7 release. There is a minor bug , that I found and not sure whether it exists in prior dev releases of 2.0.0. The issue is, when having an entrypoint that points to a no-arg function in a module (entrypoint=helloworld.main:say_hello), ./pants run ${python_binary_target_address} fails. But I can build the PEX file using ./pants binary ${python_binary_target_address} and run it using ./dist/pex_file.pex. There is a workaround, so it is not a big issue but wanted to highlight it as I came across it.
w
what error do you see?
m
Sorry for the late response. Below is the snapshot of error message, along with main.py and its corresponding BUILD file. if the entrypoint for the binary is helloworld.main, everything is good.