Skip to content

Commit f5a4634

Browse files
ci: pip install -U transformers to override wheel's <5 constraint
The continuous-release wheel is built from main which still has transformers<5 in its metadata. pip install without -U sees 4.57.6 already satisfied and won't upgrade to v5.x. Adding -U forces the upgrade past the baked-in constraint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 39ea989 commit f5a4634

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/tests-integration-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
6666
- name: Install transformers and clone matching tag
6767
run: |
68-
pip install transformers accelerate
68+
pip install -U transformers accelerate
6969
TRANSFORMERS_VERSION=$(pip show transformers | awk '/^Version:/ {print $2}')
7070
echo "Installed transformers v${TRANSFORMERS_VERSION}"
7171
git clone --depth=1 --branch "v${TRANSFORMERS_VERSION}" \
@@ -120,7 +120,7 @@ jobs:
120120
121121
- name: Install transformers and clone matching tag
122122
run: |
123-
pip install transformers accelerate
123+
pip install -U transformers accelerate
124124
TRANSFORMERS_VERSION=$(pip show transformers | awk '/^Version:/ {print $2}')
125125
echo "Installed transformers v${TRANSFORMERS_VERSION}"
126126
git clone --depth=1 --branch "v${TRANSFORMERS_VERSION}" \

0 commit comments

Comments
 (0)