tflite-micro
tflite-micro copied to clipboard
Failure in test_generate_micro_mutable_op_resolver_tests.sh script
The version of setuptools pinned in #2733 is incompatible with bazel, more info here: https://github.com/pypa/setuptools/issues/4487. Manually downgrading to 70.3.0 resolves this issue.
Tested on commit 389e775, using bazel 7.2.1 on a x86 machine
> tensorflow/lite/micro/tools/ci_build/test_generate_micro_mutable_op_resolver_tests.sh
...
FileNotFoundError: [Errno 2] No such file or directory: '/home/matlun01/.cache/bazel/_bazel_matlun01/efbc9c212fc395edf602ea0bb1bc77d0/execroot/tflite_micro/bazel-out/k8-fastbuild/bin/tensorflow/lite/micro/tools/gen_micro_mutable_op_resolver/generate_micro_mutable_op_resolver_from_model_test.runfiles/tflm_pip_deps_setuptools/site-packages/setuptools/_vendor/jaraco/text/Lorem ipsum.txt'
Alternative fix is creating the file in the pip package installation, something like this:
export JARACO_TEXT=$(find ~/.cache -wholename "**/bin/tensorflow/lite/micro/tools/gen_micro_mutable_op_resolver/generate_micro_mutable_op_resolver_from_model_test.runfiles/tflm_pip_deps_setuptools/site-packages/setuptools/_vendor/jaraco/text") #Or wherever else the error message points
touch $JARACO_TEXT/Lorem ipsum.txt"
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
"This issue is being closed because it has been marked as stale for 5 days with no further activity."
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
"This issue is being closed because it has been marked as stale for 5 days with no further activity."
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
"This issue is being closed because it has been marked as stale for 5 days with no further activity."