mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 09:51:44 -06:00
Add requirements.txt with version tagging
This commit is contained in:
parent
57d3f7dd55
commit
587f700ae4
6
.github/workflows/ResInsightWithCache.yml
vendored
6
.github/workflows/ResInsightWithCache.yml
vendored
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
grpcio
|
||||
grpcio-tools
|
||||
protobuf
|
||||
grpcio < 1.49
|
||||
grpcio-tools < 1.49
|
||||
protobuf < 3.21
|
||||
m2r
|
Loading…
Reference in New Issue
Block a user