Skip to content

Commit

Permalink
fix: install pandas fail
Browse files Browse the repository at this point in the history
  • Loading branch information
huskar-t committed Jun 19, 2024
1 parent 8ac1d3e commit 6aaa9d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ jobs:
export LD_LIBRARY_PATH=$PWD/TDengine/build/build/lib
source $VENV
export TDENGINE_URL=localhost:6041
poetry run pip install psutil pandas
poetry run pip install psutil pandas "numpy<2.0.0"
poetry run pytest tests
- name: Build Artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
run: |
export LD_LIBRARY_PATH=$PWD/TDengine/build/build/lib
export TDENGINE_URL=localhost:6041
poetry run pip install psutil pandas
poetry run pip install psutil pandas "numpy<2.0.0"
poetry run pytest tests
- name: Build Artifacts
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ubuntu-2004.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
#source $VENV
export TDENGINE_URL=localhost:6041
curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" localhost:6041/rest/sql
poetry run pip install psutil pandas pytest-cov
poetry run pip install psutil pandas pytest-cov "numpy<2.0.0"
poetry run pytest --cov-report term --cov-report html --cov-report xml --cov=taos --cov=taosrest --cov-append tests
Expand All @@ -125,7 +125,7 @@ jobs:
cd examples || ls -l
pip3 install .. > /dev/null || echo "failed to install taospy from source code"
pip3 install taos-ws-py > /dev/null || echo "failed to install taos-ws-py"
pip3 install pandas sqlalchemy > /dev/null || echo "failed to install pandas"
pip3 install pandas "numpy<2.0.0" sqlalchemy > /dev/null || echo "failed to install pandas"
taosBenchmark -d power -t 10 -n 10 -y
for i in `find . -name "*.py" \
|grep -Ev "cloud|trades|v2|websocket_with_req_id|tmq_consumer|rest_cursor|rest_client.py|import-json|connect_rest_examples|schemaless_insert"`; \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ubuntu-2204.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
export LD_LIBRARY_PATH=$PWD/TDengine_v2/build/build/lib
#source $VENV
export TDENGINE_URL=localhost:6041
poetry run pip install psutil pandas pytest-cov
poetry run pip install psutil "numpy<2.0.0" pandas pytest-cov
poetry run pytest tests --cov-report term --cov-report html --cov-report xml --cov=taos --cov=taosrest tests
- name: 'Upload taosd logs'
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
#source $VENV
export TDENGINE_URL=localhost:6041
curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" localhost:6041/rest/sql
poetry run pip install psutil pandas pytest-cov
poetry run pip install psutil "numpy<2.0.0" pandas pytest-cov
poetry run pytest --cov-report term --cov-report html --cov-report xml --cov=taos --cov=taosrest --cov-append tests
Expand Down

0 comments on commit 6aaa9d5

Please sign in to comment.