mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Strip dev suffixes from version for compatibility check
This commit is contained in:
parent
51639214a1
commit
de45702bbe
|
@ -64,6 +64,7 @@ def get_json(url, desc):
|
|||
|
||||
def get_compatibility():
|
||||
version = about.__version__
|
||||
version = version.rsplit('.dev', 1)[0]
|
||||
comp_table = get_json(about.__compatibility__, "compatibility table")
|
||||
comp = comp_table['spacy']
|
||||
if version not in comp:
|
||||
|
|
Loading…
Reference in New Issue
Block a user