Exclude .devN versioning from compatibility check

This commit is contained in:
Matthew Honnibal 2017-11-08 18:03:52 +01:00
parent 4194bc5744
commit a2f980de4e
1 changed files with 1 additions and 0 deletions

View File

@ -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)."