diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index bccec0629..9ca8574ca 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -48,7 +48,7 @@ jobs: if [[ ${{ matrix.python-version }} == '3.8' ]]; then pip install .[spacy] # download the small English pretrained spaCy model needed by spacy analyzer - python -m spacy download en_core_web_sm + python -m spacy download en_core_web_sm --upgrade-strategy only-if-needed fi # For Python 3.7 # - voikko and pycld3 dependencies diff --git a/setup.py b/setup.py index 10b80eaf9..a66f9ebd0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def read(fname): zip_safe=False, python_requires='>=3.7', install_requires=[ - 'connexion2[swagger-ui]', + 'connexion[swagger-ui]==2.12.*', 'swagger_ui_bundle', 'flask>=1.0.4,<3', 'flask-cors', @@ -47,8 +47,8 @@ def read(fname): extras_require={ 'fasttext': ['fasttext==0.9.2'], 'voikko': ['voikko'], - 'nn': ['tensorflow-cpu==2.7.0', 'lmdb==1.3.0'], - 'omikuji': ['omikuji==0.4.*'], + 'nn': ['tensorflow-cpu==2.7.1', 'lmdb==1.3.0'], + 'omikuji': ['omikuji==0.5.*'], 'yake': ['yake==0.4.5'], 'pycld3': ['pycld3'], 'spacy': ['spacy==3.2.*'],