Skip to content

Commit 4452ea0

Browse files
Merge pull request #101 from heartexlabs/DEV-2081
fix: DEV-2081: Fix requirements after Jinja2 update
2 parents 69bc963 + b5f86fc commit 4452ea0

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

label_studio_ml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
package_name = 'label-studio-ml'
33

44
# Package version
5-
__version__ = '1.0.7'
5+
__version__ = '1.0.7.rc1'

label_studio_ml/default_configs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
1010

1111
COPY . ./
1212

13-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 _wsgi:app
13+
CMD exec gunicorn --preload --bind :$PORT --workers 1 --threads 8 --timeout 0 _wsgi:app

label_studio_ml/examples/simple_text_classifier/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
1010

1111
COPY . ./
1212

13-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 _wsgi:app
13+
CMD exec gunicorn --preload --bind :$PORT --workers 1 --threads 8 --timeout 0 _wsgi:app
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
gunicorn==20.1.0
2-
label-studio-ml==1.0.4
2+
label-studio-ml==1.0.7.rc0
33
rq==1.10.1
4-
scikit-learn==0.24.1
4+
scikit-learn==0.24.1
5+
Jinja2==3.0.3
6+
itsdangerous==2.0.1
7+
werkzeug==2.0.2

requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ attr==0.3.1
22
attrs>=19.2.0
33
appdirs>=1.4.3
44
colorama>=0.4.4
5-
Flask==1.1.4
5+
Flask==1.1.2
66
lxml>=4.2.5
77
Pillow
88
requests>=2.22.0,<3
99
scikit-learn==0.24.1
10-
label-studio-tools==0.0.0.dev11
10+
label-studio-tools==0.0.0.dev11
11+
Jinja2==3.0.3
12+
itsdangerous==2.0.1
13+
werkzeug==2.0.2

0 commit comments

Comments
 (0)