Skip to content

Commit f07c5cd

Browse files
authored
fix runner ci requirements (#125)
* change pytorch lightning version * fix pip version * fix pip in code cov
1 parent ec4da08 commit f07c5cd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test_runner.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727

2828
- name: Install dependencies
2929
run: |
30-
python -m pip install --upgrade pip
30+
# Fix pip version < 24.1 due to lightning incomaptibility
31+
python -m pip install pip==23.2.1
3132
pip install -r runner-requirements.txt
3233
pip install pytest
3334
pip install sh
@@ -56,7 +57,8 @@ jobs:
5657

5758
- name: Install dependencies
5859
run: |
59-
python -m pip install --upgrade pip
60+
# Fix pip version < 24.1 due to lightning incomaptibility
61+
python -m pip install pip==23.2.1
6062
pip install -r runner-requirements.txt
6163
pip install pytest
6264
pip install pytest-cov[toml]

runner-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# --------- pytorch --------- #
99
torch>=1.11.0,<2.0.0
1010
torchvision>=0.11.0
11-
pytorch-lightning==1.8.3
11+
pytorch-lightning==1.8.3.post2
1212
torchmetrics==0.11.0
1313

1414
# --------- hydra --------- #

0 commit comments

Comments
 (0)