Skip to content

Commit

Permalink
Merge pull request #53 from Techainer/flask2
Browse files Browse the repository at this point in the history
Upgrade to Flask 2
  • Loading branch information
meocong committed Mar 30, 2022
2 parents 931dfb3 + 3586534 commit 69eb140
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
- name: Install dependencies for Unix
if: ${{ matrix.os != 'windows-latest' }}
run: |
pip3 install -U scikit-build
pip3 install -U awscli pip pytest coverage codecov
python3 -m pip install -U scikit-build
python3 -m pip install -U awscli pip pytest coverage codecov setuptools
- name: Install dependencies for Windows
if: ${{ matrix.os == 'windows-latest' }}
run: |
pip3 install -U scikit-build --user
pip3 install -U awscli pip pytest coverage codecov --user
python3 -m pip install -U scikit-build --user
python3 -m pip install -U awscli pip pytest coverage codecov --user
- name: Build and install
run: python3 setup.py install
Expand Down
2 changes: 1 addition & 1 deletion mlchain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)

# Parameters of MLchain
__version__ = "0.2.7"
__version__ = "0.2.8"

HOST = "https://www.api.mlchain.ml"
WEB_HOST = HOST
Expand Down
21 changes: 8 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
attrs>=20.3.0
blosc>=1.10.4; sys_platform != 'win32'
Click==7.1.2
itsdangerous==1.1.0
blosc==1.10.6; sys_platform != 'win32'
h11==0.12.0
Flask==1.1.4
Flask-Cors>=3.0.9
gunicorn>=20.1.0
gevent>=21.8.0
MarkupSafe==2.0.1
Jinja2==2.11.3
Flask==2.1.0
Flask-Cors==3.0.10
gunicorn==20.1.0
gevent==21.12.0
msgpack==1.0.3
numpy<1.20; python_version == '3.6'
numpy<=1.20.3; python_version >= '3.7'
Expand All @@ -18,18 +14,17 @@ starlette[full]==0.19.0
requests>=2.25.1
six>=1.13.0
toml>=0.10.0
trio>=0.19.0
trio==0.20.0
urllib3>=1.26.2
uvicorn[standard]==0.17.6
uvloop==0.14.0; sys_platform != 'win32' and python_version == '3.6'
uvloop>=0.14.0; sys_platform != 'win32' and python_version >= '3.7'
Werkzeug==1.0.1
uvloop>=0.16.0; sys_platform != 'win32' and python_version >= '3.7'
httpx==0.22.0
grpcio
protobuf>=3.10.0
boto3>=1.16.43
pyyaml>=5.3.1
sentry-sdk[flask]>=1.5.7
sentry-sdk[flask]>=1.5.8
thefuzz
GPUtil>=1.4.0
tqdm
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os
from setuptools import setup, find_packages

__version__ = "0.2.7"
__version__ = "0.2.8"

project = "mlchain"

Expand Down

0 comments on commit 69eb140

Please sign in to comment.