From 78cfaf81f5ae741872eecd2fce8af27298e934e9 Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Fri, 13 Dec 2024 15:26:23 -0800 Subject: [PATCH] Try python3 -m pip --- .github/workflows/build-and-test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5d75254dd..e57787542 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -22,10 +22,14 @@ jobs: run: | apt update -y apt install -y --no-install-recommends clang-format-15 cmake libb64-dev rapidjson-dev libre2-dev git wget software-properties-common - apt install -y python3 python3-pip rm -rf /var/lib/apt/lists/* wget -O /tmp/boost.tar.gz https://archives.boost.io/release/1.80.0/source/boost_1_80_0.tar.gz && (cd /tmp && tar xzf boost.tar.gz) && mv /tmp/boost_1_80_0/boost /usr/include/boost - pip install build pytest + # To avoid system/pip package conflict errors - use a venv: + # https://stackoverflow.com/questions/75602063/pip-install-r-requirements-txt-is-failing-this-environment-is-externally-mana + #python3 -m venv .venv + #source .venv/bin/activate + apt install -y python3 python3-pip + python3 -m pip install build pytest - name: Build run: |