Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in test_generate_micro_mutable_op_resolver_tests.sh script #2739

Open
AdrianLundell opened this issue Oct 30, 2024 · 1 comment
Open

Comments

@AdrianLundell
Copy link
Contributor

The version of setuptools pinned in #2733 is incompatible with bazel, more info here: pypa/setuptools#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'
@AdrianLundell
Copy link
Contributor Author

AdrianLundell commented Oct 30, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant