Add requirements.txt with version tagging

This commit is contained in:
Magne Sjaastad
2022-09-27 11:56:30 +02:00
parent d326149652
commit 809cb84d5e
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -66,15 +66,15 @@ jobs:
- name: Get Python executable path - name: Get Python executable path
id: python-path id: python-path
run: echo "::set-output name=PYTHON_EXECUTABLE::$(python -c 'import sys; import pathlib; print (pathlib.PurePath(sys.executable).as_posix())')" run: echo "::set-output name=PYTHON_EXECUTABLE::$(python -c 'import sys; import pathlib; print (pathlib.PurePath(sys.executable).as_posix())')"
- name: Print Python path - name: Print Python path
run: echo ${{ steps.python-path.outputs.PYTHON_EXECUTABLE }} run: echo ${{ steps.python-path.outputs.PYTHON_EXECUTABLE }}
- name: Install dependencies - name: Install dependencies
# Make sure protobuf version is compatible with grpc - https://github.com/OPM/ResInsight/issues/9304 # Make sure protobuf version is compatible with grpc - https://github.com/OPM/ResInsight/issues/9304
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install protobuf==3.20.* pip install -r requirements.txt
- name: Use CMake - name: Use CMake
uses: lukka/get-cmake@latest uses: lukka/get-cmake@latest
+3 -3
View File
@@ -1,4 +1,4 @@
grpcio grpcio < 1.49
grpcio-tools grpcio-tools < 1.49
protobuf protobuf < 3.21
m2r m2r