modern-monkey-78364
01/09/2023, 7:21 AM--no-binary=protobuf
in my requirements.txt file to resolve this issue. But unfortunately, after adding this, I am not able to decode some of my protobuf objects at runtime, and hence I am removing this part. But after removing one of my test case doesn’t run at all. It keeps showing something like:
[INFO] Long running tasks:
Run Pytest for src/backend/unit_test.py:tests
So, looking at some help in debugging this, as the new commit has no other change except removal and --no-binary=protobuf and subsequent change in pytest_lockfile.txt after running ./pants generate-lockfiles --resolve=pytest
.broad-processor-92400
01/09/2023, 7:33 AM--debug
(https://www.pantsbuild.org/docs/reference-test#debug)
2. passing extra args to pytest, e.g. -vv
to see the tests as they run (https://www.pantsbuild.org/docs/python-test-goal#passing-arguments-to-pytest)
For example, ./pants test --debug src/backend/unit_test.py -- -vv
will show more output from pytest, as that file is running, which might reveal what's making it slow.modern-monkey-78364
01/09/2023, 7:56 AMmodern-monkey-78364
01/09/2023, 7:58 AMmodern-monkey-78364
01/09/2023, 8:34 AMmodern-monkey-78364
01/09/2023, 9:52 AM