Open ividal opened 3 days ago
@aittalam You have a tonne of information and even found how to solve this already - just created this so as to not lose it :)
Were you able to resolve this via regenerating the lockfiles? pants generate-lockfiles
Unfortunately not, mine was more like a local patch to be able to run tests rather than actually fixing the issue:
remove the build files added to lm-buddy:
rm lumigator/python/mzai/lm_buddy/BUILD.pants
rm lumigator/python/mzai/lm_buddy/tests/BUILD.pants
rebuild the lockfiles (will take a bit):
pants generate-lockfiles
run the test
pants test lumigator/python/mzai/backend/tests:backend_tests@parametrize=darwin
... regenerating lockfiles fixes one issue (the fact that it did not found jobrunner anymore) but not the larger problem (the BUILD.pants files are not enough for lmb to work with pants).
I'll check it more thoroughly tomorrow but I am happy to collect any further info / pointers in the meantime :-)
pants generate-lockfiles
I was. Actually just deleting those and then running through bootstrap again did it.
Describe the bug pants test for backaend yields an error as if ray were missing.
System Information (please complete the following information):
To Reproduce Steps to reproduce the behavior:
pants test lumigator/python/mzai/backend/tests:backend_tests@parametrize=darwin
Expected behavior See tests run, ideally 0 errors and full coverage 😇 🎄
Screenshots N/A
Additional context