Skip to content

Commit

Permalink
Ignore the Python managed environment error
Browse files Browse the repository at this point in the history
We've run into https://peps.python.org/pep-0668/, because we install a
bunch of Python packages via apt, and then try to also install the
awscli package via pip, which is not happy about having two sources of
packages.

We've always been doing this, so presumably it's safe to continue
doing so.
  • Loading branch information
sulami committed Feb 21, 2024
1 parent 3314105 commit ccf5de2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-rails-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: prepare
run: |-
apk add --no-cache python3 py3-pip
pip3 install --upgrade pip
pip3 install awscli
pip3 install --break-system-packages --upgrade pip
pip3 install --break-system-packages awscli
- name: workaround git security
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-rails-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: prepare
run: |-
apk add --no-cache python3 py3-pip
pip3 install --upgrade pip
pip3 install awscli
pip3 install --break-system-packages --upgrade pip
pip3 install --break-system-packages awscli
- name: workaround git security
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clone-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: prepare
run: |-
apk add --no-cache python3 py3-pip
pip3 install --upgrade pip
pip3 install awscli
pip3 install --break-system-packages --upgrade pip
pip3 install --break-system-packages awscli
- name: workaround git security
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v3
Expand Down

0 comments on commit ccf5de2

Please sign in to comment.