Skip to content

Commit

Permalink
Downgrade spaCy to version 2.0.13 and force msgpack==0.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mertyildiran committed Jan 6, 2019
1 parent daf94d1 commit 26122cd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ ! ${verified::-3} = "$CHECKSUM2" ]; then
fi


pip3 install --upgrade wikipedia==1.4.0 PyUserInput==0.1.11 tinydb==3.9.0.post1 youtube_dl spacy==2.0.18 pyowm==2.9.0 tensorflow==1.0.0 deepspeech==0.2.0a5 SpeechRecognition tweepy==3.6.0 metadata_parser==0.9.20 hug==2.4.0 hug-middleware-cors==1.0.0 waitress==1.1.0 requests==2.20.0 pyjwt==1.6.4 SQLAlchemy==1.2.10 PyMySQL==0.8.1 && \
pip3 install --upgrade wikipedia==1.4.0 PyUserInput==0.1.11 tinydb==3.9.0.post1 youtube_dl spacy==2.0.13 pyowm==2.9.0 tensorflow==1.0.0 deepspeech==0.2.0a5 SpeechRecognition tweepy==3.6.0 metadata_parser==0.9.20 hug==2.4.0 hug-middleware-cors==1.0.0 waitress==1.1.0 requests==2.20.0 pyjwt==1.6.4 SQLAlchemy==1.2.10 PyMySQL==0.8.1 msgpack==0.5.6 && \
python3 -m spacy download en && \
pip3 install https://github.com/huggingface/neuralcoref-models/releases/download/en_coref_sm-3.0.0/en_coref_sm-3.0.0.tar.gz && \
printf "import nltk\nnltk.download('names')\nnltk.download('brown')\nnltk.download('wordnet')\nnltk.download('punkt')" | python3 && echo -e "\n\n${GREEN}Dragonfire is successfully installed to your computer.${NC}\n"
2 changes: 1 addition & 1 deletion install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [ ! ${verified::-3} = "$CHECKSUM2" ]; then
wget -nc -O - https://github.com/DragonComputer/Dragonfire/releases/download/v0.9.9/deepconv-v2.tar.gz | tar xvfz -
fi

pip3 install --upgrade wikipedia==1.4.0 PyUserInput==0.1.11 tinydb==3.9.0.post1 youtube_dl spacy==2.0.18 pyowm==2.9.0 tensorflow==1.0.0 deepspeech==0.2.0a5 SpeechRecognition tweepy==3.6.0 metadata_parser==0.9.20 hug==2.4.0 hug-middleware-cors==1.0.0 waitress==1.1.0 requests==2.20.0 pyjwt==1.6.4 SQLAlchemy==1.2.10 PyMySQL==0.8.1 && \
pip3 install --upgrade wikipedia==1.4.0 PyUserInput==0.1.11 tinydb==3.9.0.post1 youtube_dl spacy==2.0.13 pyowm==2.9.0 tensorflow==1.0.0 deepspeech==0.2.0a5 SpeechRecognition tweepy==3.6.0 metadata_parser==0.9.20 hug==2.4.0 hug-middleware-cors==1.0.0 waitress==1.1.0 requests==2.20.0 pyjwt==1.6.4 SQLAlchemy==1.2.10 PyMySQL==0.8.1 msgpack==0.5.6 && \
pip3 install --upgrade flake8 sphinx sphinx_rtd_theme recommonmark m2r pytest && \
python3 -m spacy download en && \
pip3 install https://github.com/huggingface/neuralcoref-models/releases/download/en_coref_sm-3.0.0/en_coref_sm-3.0.0.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [ ! ${verified::-3} = "$CHECKSUM2" ]; then
wget -nc -O - https://github.com/DragonComputer/Dragonfire/releases/download/v0.9.9/deepconv-v2.tar.gz | tar xvfz -
fi

pip3 install --upgrade wikipedia==1.4.0 PyUserInput==0.1.11 tinydb==3.9.0.post1 youtube_dl spacy==2.0.18 pyowm==2.9.0 tensorflow==1.0.0 deepspeech==0.2.0a5 SpeechRecognition tweepy==3.6.0 metadata_parser==0.9.20 hug==2.4.0 hug-middleware-cors==1.0.0 waitress==1.1.0 requests==2.20.0 pyjwt==1.6.4 SQLAlchemy==1.2.10 PyMySQL==0.8.1 && \
pip3 install --upgrade wikipedia==1.4.0 PyUserInput==0.1.11 tinydb==3.9.0.post1 youtube_dl spacy==2.0.13 pyowm==2.9.0 tensorflow==1.0.0 deepspeech==0.2.0a5 SpeechRecognition tweepy==3.6.0 metadata_parser==0.9.20 hug==2.4.0 hug-middleware-cors==1.0.0 waitress==1.1.0 requests==2.20.0 pyjwt==1.6.4 SQLAlchemy==1.2.10 PyMySQL==0.8.1 msgpack==0.5.6 && \
python3 -m spacy download en && \
pip3 install https://github.com/huggingface/neuralcoref-models/releases/download/en_coref_sm-3.0.0/en_coref_sm-3.0.0.tar.gz && \
printf "import nltk\nnltk.download('names')\nnltk.download('brown')\nnltk.download('wordnet')\nnltk.download('punkt')" | python3 && echo -e "\n\n${GREEN}Dragonfire is successfully installed to your computer.${NC}\n"
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def pkgconfig(*packages):
'PyUserInput==0.1.11',
'tinydb==3.9.0.post1',
'youtube_dl',
'spacy==2.0.18',
'spacy==2.0.13',
'pyowm==2.9.0',
'tensorflow==1.0.0',
'deepspeech==0.2.0a5',
Expand All @@ -143,7 +143,8 @@ def pkgconfig(*packages):
'SpeechRecognition',
'pyjwt==1.6.4',
'SQLAlchemy==1.2.10',
'PyMySQL==0.8.1'
'PyMySQL==0.8.1',
'msgpack==0.5.6'
],

# List additional groups of dependencies here (e.g. development
Expand Down

0 comments on commit 26122cd

Please sign in to comment.