Add requirements.txt with version tagging

This commit is contained in:
Magne Sjaastad 2022-09-23 07:30:52 +02:00
parent 57d3f7dd55
commit 587f700ae4
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
grpcio
grpcio-tools
protobuf
grpcio < 1.49
grpcio-tools < 1.49
protobuf < 3.21
m2r