From a2f980de4e18de3e179bf3ea61581094b91091ba Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 8 Nov 2017 18:03:52 +0100 Subject: [PATCH] Exclude .devN versioning from compatibility check --- spacy/cli/download.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/cli/download.py b/spacy/cli/download.py index 0d3f11153..943af51ff 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -73,6 +73,7 @@ def get_compatibility(): def get_version(model, comp): + model = model.rsplit('.dev', 1)[0] if model not in comp: version = about.__version__ msg = "No compatible model found for '%s' (spaCy v%s)."