Skip to content

Commit 9f02b0f

Browse files
committed
Fix pip3 install
1 parent 542833d commit 9f02b0f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/actions/ubuntu-prerequisites/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ runs:
3131
postgresql-client postgresql-contrib-${POSTGRESQL_VERSION} \
3232
python3-setuptools \
3333
zlib1g-dev
34-
pip3 install behave osmium
34+
pip3 install $PIP_OPTION behave osmium
3535
if [ "$CC" = clang-8 ]; then sudo apt-get install -yq --no-install-suggests --no-install-recommends clang-8; fi
3636
if [ "$PSYCOPG" = "2"]; then
3737
sudo apt-get install -yq --no-install-suggests --no-install-recommends python3-psycopg2
3838
else
39-
pip3 install psycopg
39+
pip3 install $PIP_OPTION psycopg
4040
fi
4141
shell: bash
4242

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ jobs:
386386
POSTGIS_VERSION: 3
387387
BUILD_TYPE: Debug
388388
PSYCOPG: 3
389+
PIP_OPTION: --break-system-packages
389390

390391
steps:
391392
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)