From d727f1968f09f820d453e70d23194ac71f9f82b0 Mon Sep 17 00:00:00 2001 From: Joel Grus Date: Fri, 30 Nov 2018 13:41:04 -0800 Subject: [PATCH] pin msgpack --- requirements.txt | 4 ++++ setup.py | 1 + 2 files changed, 5 insertions(+) diff --git a/requirements.txt b/requirements.txt index 7ae5fdaf8b7..11320bf906d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,6 +19,10 @@ overrides # imports this. nltk +# Pin msgpack because the newer version introduces an incompatibility with spaCy +# Get rid of this if we ever unpin spacy +msgpack>=0.5.6,<0.6.0 + # Mainly used for the faster tokenizer. spacy>=2.0,<2.1 diff --git a/setup.py b/setup.py index 242a37cd0ed..103c3dc293d 100644 --- a/setup.py +++ b/setup.py @@ -105,6 +105,7 @@ "jsonnet==0.10.0 ; sys.platform != 'win32'", 'overrides', 'nltk', + 'msgpack>=0.5.6,<0.6.0', 'spacy>=2.0,<2.1', 'numpy', 'tensorboardX==1.2',