Skip to content

Commit

Permalink
github: add --ignore-installed to pip install of requirements
Browse files Browse the repository at this point in the history
Problem: recently, our github workflow for spelling and
linkcheck got confused between pre-installed ubuntu packages
and python's pip installed packages.

Just ignore the ubuntu packages. Install our own. It doesn't
seem to take much longer.
  • Loading branch information
wihobbs committed Jan 25, 2025
1 parent ade1abc commit 80a8adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: >-
sudo apt-get update -y &&
sudo apt-get install -y python3-pip &&
sudo pip3 install --upgrade -r ./requirements.txt
sudo pip3 install --ignore-installed --upgrade -r ./requirements.txt
- name: Check Spelling
uses: crate-ci/typos@7ad296c72fa8265059cc03d1eda562fbdfcd6df2 # v1.9.0
Expand Down

0 comments on commit 80a8adb

Please sign in to comment.