Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 6d9b408

Browse files
Dustin TranCopybara-Service
authored andcommitted
Attempt to fix Travis build errors.
Python 2 error is pytz dependency: https://travis-ci.org/tensorflow/datasets/builds/444720602 Python 3 error comes from NumPy. I added changes following your recommendation and they seem to work for Mesh TF: https://travis-ci.org/tensorflow/mesh/builds/444747095. PiperOrigin-RevId: 218348018
1 parent 7ff0a4d commit 6d9b408

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

oss_scripts/oss_pip_install.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ else
1212
pip install -q "tensorflow==$TF_VERSION"
1313
fi
1414

15+
# Make sure we have the latest version of numpy - avoid problems we were
16+
# seeing with Python 3
17+
pip install -q -U numpy
18+
1519
# First ensure that the base dependencies are sufficient for a full import
1620
pip install -q -e .
21+
python -c "import mesh_tensorflow as mtf"
1722

1823
# Then install the test dependencies
1924
pip install -q -e .[tests]
20-
21-
# Make sure we have the latest version of numpy - avoid problems we were
22-
# seeing with Python 3
23-
pip install -q -U numpy

0 commit comments

Comments
 (0)