Skip to content

Commit 69eb140

Browse files
authored
Merge pull request #53 from Techainer/flask2
Upgrade to Flask 2
2 parents 931dfb3 + 3586534 commit 69eb140

File tree

4 files changed

+14
-19
lines changed

4 files changed

+14
-19
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
- name: Install dependencies for Unix
4141
if: ${{ matrix.os != 'windows-latest' }}
4242
run: |
43-
pip3 install -U scikit-build
44-
pip3 install -U awscli pip pytest coverage codecov
43+
python3 -m pip install -U scikit-build
44+
python3 -m pip install -U awscli pip pytest coverage codecov setuptools
4545
4646
- name: Install dependencies for Windows
4747
if: ${{ matrix.os == 'windows-latest' }}
4848
run: |
49-
pip3 install -U scikit-build --user
50-
pip3 install -U awscli pip pytest coverage codecov --user
49+
python3 -m pip install -U scikit-build --user
50+
python3 -m pip install -U awscli pip pytest coverage codecov --user
5151
5252
- name: Build and install
5353
run: python3 setup.py install

mlchain/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
)
88

99
# Parameters of MLchain
10-
__version__ = "0.2.7"
10+
__version__ = "0.2.8"
1111

1212
HOST = "https://www.api.mlchain.ml"
1313
WEB_HOST = HOST

requirements.txt

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
attrs>=20.3.0
2-
blosc>=1.10.4; sys_platform != 'win32'
3-
Click==7.1.2
4-
itsdangerous==1.1.0
2+
blosc==1.10.6; sys_platform != 'win32'
53
h11==0.12.0
6-
Flask==1.1.4
7-
Flask-Cors>=3.0.9
8-
gunicorn>=20.1.0
9-
gevent>=21.8.0
10-
MarkupSafe==2.0.1
11-
Jinja2==2.11.3
4+
Flask==2.1.0
5+
Flask-Cors==3.0.10
6+
gunicorn==20.1.0
7+
gevent==21.12.0
128
msgpack==1.0.3
139
numpy<1.20; python_version == '3.6'
1410
numpy<=1.20.3; python_version >= '3.7'
@@ -18,18 +14,17 @@ starlette[full]==0.19.0
1814
requests>=2.25.1
1915
six>=1.13.0
2016
toml>=0.10.0
21-
trio>=0.19.0
17+
trio==0.20.0
2218
urllib3>=1.26.2
2319
uvicorn[standard]==0.17.6
2420
uvloop==0.14.0; sys_platform != 'win32' and python_version == '3.6'
25-
uvloop>=0.14.0; sys_platform != 'win32' and python_version >= '3.7'
26-
Werkzeug==1.0.1
21+
uvloop>=0.16.0; sys_platform != 'win32' and python_version >= '3.7'
2722
httpx==0.22.0
2823
grpcio
2924
protobuf>=3.10.0
3025
boto3>=1.16.43
3126
pyyaml>=5.3.1
32-
sentry-sdk[flask]>=1.5.7
27+
sentry-sdk[flask]>=1.5.8
3328
thefuzz
3429
GPUtil>=1.4.0
3530
tqdm

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import os
66
from setuptools import setup, find_packages
77

8-
__version__ = "0.2.7"
8+
__version__ = "0.2.8"
99

1010
project = "mlchain"
1111

0 commit comments

Comments
 (0)