Skip to content

Commit

Permalink
In TF-GNN's Kokoro scripts, do a final pip list for clarity.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 722646358
  • Loading branch information
arnoegw authored and tensorflower-gardener committed Feb 3, 2025
1 parent 5ed86a1 commit 83e110b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kokoro/github/ubuntu/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ perl -i -lpe '$k+= s/tensorflow>=2\.[0-9]+\.[0-9]+(,<=?[0-9.]+)?;/tf-nightly;/g
python3 setup.py bdist_wheel
pip uninstall -y tensorflow_gnn
pip install dist/tensorflow_gnn-*.whl

echo "Final packages after all pip commands:"
pip list

# Check that tf-nightly is installed but tensorflow is not
# Also check that tf-keras-nightly is installed.
pip freeze | grep -q tf-nightly= && ! pip freeze | grep -q tensorflow=
Expand Down
3 changes: 3 additions & 0 deletions kokoro/github/ubuntu/cpu/build_versioned.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,7 @@ python3 setup.py bdist_wheel
pip uninstall -y tensorflow_gnn
pip install dist/tensorflow_gnn-*.whl

echo "Final packages after all pip commands:"
pip list

bazel test --test_env=TF_USE_LEGACY_KERAS --build_tag_filters="${tag_filters}" --test_tag_filters="${tag_filters}" --test_output=errors --verbose_failures=true --build_tests_only --define=no_tfgnn_py_deps=true --keep_going --experimental_repo_remote_exec //bazel_pip/tensorflow_gnn/...

0 comments on commit 83e110b

Please sign in to comment.