mirror of https://github.com/explosion/spaCy.git
Exclude .devN versioning from compatibility check
This commit is contained in:
parent
4194bc5744
commit
a2f980de4e
|
@ -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)."
|
||||
|
|
Loading…
Reference in New Issue