Skip to content

Commit

Permalink
Tensorflow requires lower version of pandas (#2045)
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <sighingnow@gmail.com>
  • Loading branch information
sighingnow committed Sep 20, 2022
1 parent 4862835 commit 67a45aa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-graphscope-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
popd
# install tensorflow
python3 -m pip install pytest "tensorflow<=2.5.2" --user
python3 -m pip install pytest "tensorflow<=2.5.2" "pandas<1.5.0" --user
# install java
sudo apt update -y && sudo apt install openjdk-11-jdk -y
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
popd
# install tensorflow
python3 -m pip install pytest "tensorflow<=2.5.2" --user
python3 -m pip install pytest "tensorflow<=2.5.2" "pandas<1.5.0" --user
# install jdk
dnf install -y java-11-openjdk-devel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-graphscope-wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
popd
# install tensorflow
python3 -m pip install pytest "tensorflow<=2.5.2" --user
python3 -m pip install pytest "tensorflow<=2.5.2" "pandas<1.5.0" --user
- name: Run Minimum Test
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ jobs:
popd
# install tensorflow
python3 -m pip install pytest "tensorflow<=2.5.2" --user
python3 -m pip install pytest "tensorflow<=2.5.2" "pandas<1.5.0" --user
# install java
sudo apt update -y && sudo apt install openjdk-11-jdk -y
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ unittest:
.PHONY: minitest
minitest:
cd $(WORKING_DIR)/python && \
pip3 install tensorflow==2.5.2 && \
pip3 install tensorflow==2.5.2 "pandas<1.5.0" && \
python3 -m pytest --cov=graphscope --cov-config=.coveragerc --cov-report=xml --cov-report=term -s -v ./graphscope/tests/minitest

.PHONY: k8stest
k8stest:
cd $(WORKING_DIR)/python && \
pip3 install tensorflow==2.5.2 && \
pip3 install tensorflow==2.5.2 "pandas<1.5.0" && \
python3 -m pytest --cov=graphscope --cov-config=.coveragerc --cov-report=xml --cov-report=term -s -v ./graphscope/tests/kubernetes

.PHONY: clean
Expand Down
4 changes: 2 additions & 2 deletions k8s/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ graphscope-client-manylinux2014-py3-nodocker:
cd $(WORKING_DIR)/../python; \
export PATH=/opt/python/$$py/bin:$$PATH; \
pip3 install -U pip; \
pip3 install "numpy==1.18.5" "grpcio<=1.43.0,>=1.40.0" "grpcio-tools<=1.43.0,>=1.40.0" wheel "auditwheel==5.0.0"; \
pip3 install "numpy==1.18.5" "pandas<1.5.0" "grpcio<=1.43.0,>=1.40.0" "grpcio-tools<=1.43.0,>=1.40.0" wheel "auditwheel==5.0.0"; \
rm -rf build; \
rm -rf dist/*.whl; \
python3 setup.py bdist_wheel; \
Expand All @@ -201,7 +201,7 @@ graphscope-client-darwin-py3:
export DYLD_LIBRARY_PATH=$(WORKING_DIR)/../learning_engine/graph-learn/built/lib:/usr/local/lib:$$DYLD_LIBRARY_PATH && \
cd $(WORKING_DIR)/../python && \
pip3 install -U pip && \
pip3 install "numpy==1.18.5" "grpcio<=1.43.0,>=1.40.0" "grpcio-tools<=1.43.0,>=1.40.0" delocate wheel && \
pip3 install "numpy==1.18.5" "pandas<1.5.0" "grpcio<=1.43.0,>=1.40.0" "grpcio-tools<=1.43.0,>=1.40.0" delocate wheel && \
rm -fr build dist/*.whl || true && \
python3 setup.py bdist_wheel --plat=macosx_10_9_x86_64 && \
for wheel in `ls dist/*.whl`; do \
Expand Down

0 comments on commit 67a45aa

Please sign in to comment.