witty-crayon-22786
02/17/2021, 7:13 PMwitty-crayon-22786
02/17/2021, 7:13 PMhundreds-father-404
02/17/2021, 7:13 PMwitty-crayon-22786
02/17/2021, 7:14 PMwitty-crayon-22786
02/17/2021, 7:15 PMVenvPexProcess
instances do though… at least linting and typechecking will failhundreds-father-404
02/17/2021, 7:19 PMwitty-crayon-22786
02/17/2021, 7:20 PMwitty-crayon-22786
02/17/2021, 7:21 PM--no-process-execution-cleanup-local-dirs
witty-crayon-22786
02/17/2021, 7:22 PMwitty-crayon-22786
02/17/2021, 7:23 PMwitty-crayon-22786
02/17/2021, 7:26 PMenough-analyst-54434
02/17/2021, 7:26 PMenough-analyst-54434
02/17/2021, 7:27 PMpytest
the module.witty-crayon-22786
02/17/2021, 7:27 PMenough-analyst-54434
02/17/2021, 7:27 PMenough-analyst-54434
02/17/2021, 7:28 PMwitty-crayon-22786
02/17/2021, 7:28 PMwitty-crayon-22786
02/17/2021, 7:29 PMenough-analyst-54434
02/17/2021, 7:29 PMenough-analyst-54434
02/17/2021, 7:29 PMenough-analyst-54434
02/17/2021, 7:30 PMenough-analyst-54434
02/17/2021, 7:30 PMpytest
as the entrypointwitty-crayon-22786
02/17/2021, 7:30 PMenough-analyst-54434
02/17/2021, 7:30 PMenough-analyst-54434
02/17/2021, 7:30 PMwitty-crayon-22786
02/17/2021, 7:31 PMwitty-crayon-22786
02/17/2021, 7:32 PMwitty-crayon-22786
02/17/2021, 7:32 PMenough-analyst-54434
02/17/2021, 7:33 PMwitty-crayon-22786
02/17/2021, 7:33 PMenough-analyst-54434
02/17/2021, 7:33 PMenough-analyst-54434
02/17/2021, 7:35 PMwitty-crayon-22786
02/17/2021, 7:35 PM$ git diff -- src/python/pants/backend/python/goals/pytest_runner.py
diff --git a/src/python/pants/backend/python/goals/pytest_runner.py b/src/python/pants/backend/python/goals/pytest_runner.py
index 39b170045..a09c951ab 100644
--- a/src/python/pants/backend/python/goals/pytest_runner.py
+++ b/src/python/pants/backend/python/goals/pytest_runner.py
@@ -172,7 +172,7 @@ async def setup_pytest_for_target(
PexRequest(
output_filename="pytest_runner.pex",
interpreter_constraints=interpreter_constraints,
- entry_point="pytest:main",
+ entry_point="pytest",
internal_only=True,
pex_path=[pytest_pex, requirements_pex],
),
fixes it: thanks John. i won’t have time to get the fix out with a test before i leave though.enough-analyst-54434
02/17/2021, 7:35 PMenough-analyst-54434
02/17/2021, 7:35 PMwitty-crayon-22786
02/17/2021, 7:37 PMsrc/python/pants/backend/python/goals/pytest_runner_integration_test.py
didn’t catch this. perhaps it’s failing in a way that raises rather than returning?enough-analyst-54434
02/17/2021, 8:27 PMenough-analyst-54434
02/19/2021, 12:25 AMpex
venv script to behave like PEX
and just documenting how we handle entrypoint functions.enough-analyst-54434
02/19/2021, 12:47 AM