Skip to content

Commit 5d0da54

Browse files
committed
==oldest
1 parent 56dcc07 commit 5d0da54

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci-tests-fabric.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ jobs:
101101

102102
- name: Set min. dependencies
103103
if: ${{ matrix.requires == 'oldest' }}
104-
run: python .actions/assistant.py replace_oldest_ver
104+
run: |
105+
python .actions/assistant.py replace_oldest_ver
106+
pip install "cython<3.0" wheel
107+
pip install "pyyaml==5.4" --no-build-isolation
105108
106109
- name: Adjust PyTorch versions in requirements files
107110
if: ${{ matrix.requires != 'oldest' }}
@@ -111,7 +114,6 @@ jobs:
111114
for fpath in `ls requirements/**/*.txt`; do \
112115
python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \
113116
done
114-
pip install "pyyaml==5.4" --no-build-isolation
115117
116118
- name: pip wheels cache
117119
uses: actions/cache/restore@v4

.github/workflows/ci-tests-pytorch.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ jobs:
106106

107107
- name: Set min. dependencies
108108
if: ${{ matrix.requires == 'oldest' }}
109-
run: python .actions/assistant.py replace_oldest_ver
109+
run: |
110+
python .actions/assistant.py replace_oldest_ver
111+
pip install "cython<3.0" wheel
112+
pip install "pyyaml==5.4" --no-build-isolation
110113
111114
- name: Adjust PyTorch versions in requirements files
112115
if: ${{ matrix.requires != 'oldest' }}
@@ -117,7 +120,6 @@ jobs:
117120
python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \
118121
done
119122
cat requirements/pytorch/base.txt
120-
pip install "pyyaml==5.4" --no-build-isolation
121123
122124
- name: pip wheels cache
123125
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)