From bd6433bbab66de70086e6df9130aab25cca4fe7e Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 14 Oct 2021 10:30:57 +0200 Subject: [PATCH] Temporarily use v3.1.0 models in CI --- .github/azure-steps.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/azure-steps.yml b/.github/azure-steps.yml index 543804b9f..c47e9799e 100644 --- a/.github/azure-steps.yml +++ b/.github/azure-steps.yml @@ -61,8 +61,11 @@ steps: condition: eq(${{ parameters.gpu }}, true) - script: | - python -m spacy download ca_core_news_sm - python -m spacy download ca_core_news_md + #python -m spacy download ca_core_news_sm + #python -m spacy download ca_core_news_md + # temporarily install the v3.1.0 models + pip install --no-deps https://github.com/explosion/spacy-models/releases/download/ca_core_news_sm-3.1.0/ca_core_news_sm-3.1.0-py3-none-any.whl + pip install --no-deps https://github.com/explosion/spacy-models/releases/download/ca_core_news_md-3.1.0/ca_core_news_md-3.1.0-py3-none-any.whl python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')" displayName: 'Test download CLI' condition: eq(variables['python_version'], '3.8')