From 809cb84d5e7d00e76ee811a795c3d48992a45080 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 23 Sep 2022 07:30:52 +0200 Subject: [PATCH] Add requirements.txt with version tagging --- .github/workflows/ResInsightWithCache.yml | 6 +++--- requirements.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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