File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,15 @@ INVOKE="${BUILD_DIR}/.venv/bin/invoke"
33
33
${PIP} install pip-tools build invoke
34
34
35
35
# Install proto build dependencies
36
- $( cd ${BUILD_DIR} && ${PIPCOMPILE} > ${BUILD_DIR} /requirements.txt)
36
+ $( cd ${BUILD_DIR} /workers/ && ${PIPCOMPILE} -o ${BUILD_DIR} /requirements.txt )
37
37
${PIP} install -r ${BUILD_DIR} /requirements.txt
38
38
39
- # Build proto files into pb2 files
40
- cd ${BUILD_DIR} /tests && ${INVOKE} -c test_setup build-protos
39
+ # Build proto files into pb2 files (invoke handles fixing include paths for the protos)
40
+ cd ${BUILD_DIR} /workers/ tests && ${INVOKE} -c test_setup build-protos
41
41
42
42
# Build and install the package into the original environment (not the build venv)
43
- pip install ${BUILD_DIR}
43
+ # Do NOT use ${PIP} from the venv
44
+ pip install ${BUILD_DIR} /workers/
44
45
45
46
# Clean up and return to the original directory
46
47
rm -rf ${BUILD_DIR}
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ async def _test():
61
61
# Call the MCP tool, so we can validate the trace naming is correct.
62
62
result = await client .call_tool ("add_exclamation" , {"phrase" : "Python is awesome" })
63
63
64
- content = str (result [0 ])
64
+ content = str (result . content [0 ])
65
65
assert "Python is awesome!" in content
66
66
67
67
loop .run_until_complete (_test ())
You can’t perform that action at this time.
0 commit comments