Skip to content

Commit

Permalink
CI: Use better pip check to uninstall existing pandas (pandas-dev#54096)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored Jul 13, 2023
1 parent 7672459 commit 7d0b0e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build_pandas/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ runs:

- name: Uninstall existing Pandas installation
run: |
if pip list | grep -q ^pandas; then
pip uninstall -y pandas || true
if pip show pandas 1>/dev/null; then
pip uninstall -y pandas
fi
shell: bash -el {0}

Expand Down

0 comments on commit 7d0b0e2

Please sign in to comment.