Skip to content

Commit f69c32f

Browse files
committed
Install click with previous spaCy in upgrade test
spacy <=3.8.14 imports click without declaring it (#13971), and modern typer no longer depends on click, so the pre-upgrade install fails on import without it.
1 parent 29bc4f2 commit f69c32f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/cibuildwheel.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ jobs:
7878

7979
- name: Install previous spaCy version
8080
run: |
81-
# strip the release-v/prerelease-v prefix to get a version specifier
82-
pip install "spacy>=3.8.0,<${GITHUB_REF_NAME##*-v}" || pip install "spacy<4"
81+
# strip the release-v/prerelease-v prefix to get a version specifier;
82+
# click is needed because spacy <=3.8.14 imports it without
83+
# declaring it (#13971) and modern typer no longer pulls it in
84+
pip install "spacy>=3.8.0,<${GITHUB_REF_NAME##*-v}" click || pip install "spacy<4" click
8385
python -m spacy download en_core_web_sm
8486
python -c "
8587
import spacy

0 commit comments

Comments
 (0)