Skip to content

Commit

Permalink
CI: python/pip: work around PEP 668 issue
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Oberbrunner <garyo@darkstarsystems.com>
  • Loading branch information
garyo committed May 7, 2024
1 parent 422295c commit a258f6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ jobs:
- name: update Python pip
run: |
mkdir -p "$HOME/.config/pip"
# work around PEP 668, "This environment is externally managed"
echo "[global]\nbreak-system-packages = true" >> "$HOME/.config/pip/pip.conf"
python3 -mpip install --upgrade pip
- name: Install Conan
Expand Down

0 comments on commit a258f6e

Please sign in to comment.