Add more debugging information to package test scripts.
@@ -58,6 +58,10 @@ main() {
exit 1
fi
+ if [[ ! -f "${package}" ]]; then
+ die "The package '${package}' does not exist."
+ fi
+
echo "*** 1"
pip freeze
@@ -95,6 +99,10 @@ main() {
echo "*** 5"
pip freeze
+ python --version
+ pip install tf-ngihtly
+ pip freeze
+
# Test pip package
pip install --upgrade "${package}"
python -c "import tensorflow_federated as tff; print(tff.federated_computation(lambda: 'Hello World')())"
