mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-18 17:15:15 -05:00
Add requirements.txt with version tagging
This commit is contained in:
@@ -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
@@ -1,4 +1,4 @@
|
|||||||
grpcio
|
grpcio < 1.49
|
||||||
grpcio-tools
|
grpcio-tools < 1.49
|
||||||
protobuf
|
protobuf < 3.21
|
||||||
m2r
|
m2r
|
||||||
Reference in New Issue
Block a user