diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index 412dcc0863..57c75dcbc2 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -66,15 +66,15 @@ jobs: - name: Get Python executable path id: python-path run: echo "::set-output name=PYTHON_EXECUTABLE::$(python -c 'import sys; import pathlib; print (pathlib.PurePath(sys.executable).as_posix())')" - + - name: Print Python path run: echo ${{ steps.python-path.outputs.PYTHON_EXECUTABLE }} - + - name: Install dependencies # Make sure protobuf version is compatible with grpc - https://github.com/OPM/ResInsight/issues/9304 run: | python -m pip install --upgrade pip - pip install protobuf==3.20.* + pip install -r requirements.txt - name: Use CMake uses: lukka/get-cmake@latest diff --git a/requirements.txt b/requirements.txt index 9eb16f02e2..2c7a086695 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -grpcio -grpcio-tools -protobuf +grpcio < 1.49 +grpcio-tools < 1.49 +protobuf < 3.21 m2r \ No newline at end of file