Skip to content

Commit

Permalink
Ignore installed python packages in downstream CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Jan 6, 2025
1 parent 34a1794 commit 3dd91b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,16 @@ jobs:
- name: "Clone libsemigroups_pybind11 . . ."
run: git clone "$URL" --depth 1 --branch v1
- name: "Install prerequisites for libsemigroups_pybind11 . . ."
# The flag --ignore-installed is included below so pip doesn't try and
# uninstall the system version of the packages specified in
# requirements.txt. This was happening with the typing_extensions
# package.
run: |
cd libsemigroups_pybind11
sudo apt-get --yes update
sudo apt-get install python3 --yes
sudo apt-get install python3-pip --yes
sudo -H pip3 install -r requirements.txt
sudo -H pip3 install --ignore-installed -r requirements.txt
- name: "Building libsemigroups_pybind11 . . ."
run: |
cd libsemigroups_pybind11
Expand Down

0 comments on commit 3dd91b1

Please sign in to comment.