From 29bbd05fbe4b5168f82d8ad639c3d5985c3f6f4c Mon Sep 17 00:00:00 2001 From: "Dilyara Zharikova (Baymurzina)" Date: Wed, 28 Jun 2023 15:01:19 +0300 Subject: [PATCH] Feat/newer python dockerfile (#502) * fix: use newer python * fix: use newer python * fix: numpy version --- .../confidence_based_response_selector/Dockerfile | 2 +- .../confidence_based_response_selector/requirements.txt | 2 +- response_selectors/llm_based_response_selector/Dockerfile | 2 +- response_selectors/llm_based_response_selector/requirements.txt | 2 +- response_selectors/ranking_based_response_selector/Dockerfile | 2 +- .../ranking_based_response_selector/requirements.txt | 2 +- services/anthropic_api_lm/Dockerfile | 2 +- services/openai_api_lm/Dockerfile | 2 +- skill_selectors/rule_based_selector/Dockerfile | 2 +- skills/oscar_skill/Dockerfile | 2 +- skills/oscar_skill/requirements.txt | 2 +- skills/program_y_deepy/Dockerfile | 2 +- skills/superbowl_skill/Dockerfile | 2 +- skills/superbowl_skill/requirements.txt | 2 +- skills/topicalchat_tfidf_retrieval/Dockerfile | 2 +- skills/topicalchat_tfidf_retrieval/requirements.txt | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/response_selectors/confidence_based_response_selector/Dockerfile b/response_selectors/confidence_based_response_selector/Dockerfile index cda20638a2..0d2325b6ef 100644 --- a/response_selectors/confidence_based_response_selector/Dockerfile +++ b/response_selectors/confidence_based_response_selector/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 WORKDIR /src diff --git a/response_selectors/confidence_based_response_selector/requirements.txt b/response_selectors/confidence_based_response_selector/requirements.txt index 1d2e7fb9f2..0261e2b1f2 100644 --- a/response_selectors/confidence_based_response_selector/requirements.txt +++ b/response_selectors/confidence_based_response_selector/requirements.txt @@ -2,7 +2,7 @@ flask==1.1.1 itsdangerous==2.0.1 gunicorn==19.9.0 requests==2.22.0 -numpy==1.17.2 +numpy==1.25.0 sentry-sdk==0.12.3 jinja2<=3.0.3 Werkzeug<=2.0.3 diff --git a/response_selectors/llm_based_response_selector/Dockerfile b/response_selectors/llm_based_response_selector/Dockerfile index 252715eff7..8b6bc827e9 100644 --- a/response_selectors/llm_based_response_selector/Dockerfile +++ b/response_selectors/llm_based_response_selector/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 RUN mkdir /src diff --git a/response_selectors/llm_based_response_selector/requirements.txt b/response_selectors/llm_based_response_selector/requirements.txt index 1d2e7fb9f2..0261e2b1f2 100644 --- a/response_selectors/llm_based_response_selector/requirements.txt +++ b/response_selectors/llm_based_response_selector/requirements.txt @@ -2,7 +2,7 @@ flask==1.1.1 itsdangerous==2.0.1 gunicorn==19.9.0 requests==2.22.0 -numpy==1.17.2 +numpy==1.25.0 sentry-sdk==0.12.3 jinja2<=3.0.3 Werkzeug<=2.0.3 diff --git a/response_selectors/ranking_based_response_selector/Dockerfile b/response_selectors/ranking_based_response_selector/Dockerfile index cf1753c468..67666b5916 100644 --- a/response_selectors/ranking_based_response_selector/Dockerfile +++ b/response_selectors/ranking_based_response_selector/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 RUN mkdir /src diff --git a/response_selectors/ranking_based_response_selector/requirements.txt b/response_selectors/ranking_based_response_selector/requirements.txt index 1d2e7fb9f2..0261e2b1f2 100644 --- a/response_selectors/ranking_based_response_selector/requirements.txt +++ b/response_selectors/ranking_based_response_selector/requirements.txt @@ -2,7 +2,7 @@ flask==1.1.1 itsdangerous==2.0.1 gunicorn==19.9.0 requests==2.22.0 -numpy==1.17.2 +numpy==1.25.0 sentry-sdk==0.12.3 jinja2<=3.0.3 Werkzeug<=2.0.3 diff --git a/services/anthropic_api_lm/Dockerfile b/services/anthropic_api_lm/Dockerfile index f2241b109b..8d66fe5bc8 100644 --- a/services/anthropic_api_lm/Dockerfile +++ b/services/anthropic_api_lm/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 WORKDIR /src diff --git a/services/openai_api_lm/Dockerfile b/services/openai_api_lm/Dockerfile index ece445075e..bfbb08a12f 100644 --- a/services/openai_api_lm/Dockerfile +++ b/services/openai_api_lm/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 WORKDIR /src diff --git a/skill_selectors/rule_based_selector/Dockerfile b/skill_selectors/rule_based_selector/Dockerfile index c96ff0dce1..fc924a6f36 100644 --- a/skill_selectors/rule_based_selector/Dockerfile +++ b/skill_selectors/rule_based_selector/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 RUN mkdir /src /src/common diff --git a/skills/oscar_skill/Dockerfile b/skills/oscar_skill/Dockerfile index 2e3a3c2b4e..82bcc14372 100644 --- a/skills/oscar_skill/Dockerfile +++ b/skills/oscar_skill/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 WORKDIR /src diff --git a/skills/oscar_skill/requirements.txt b/skills/oscar_skill/requirements.txt index 1d2e7fb9f2..0261e2b1f2 100644 --- a/skills/oscar_skill/requirements.txt +++ b/skills/oscar_skill/requirements.txt @@ -2,7 +2,7 @@ flask==1.1.1 itsdangerous==2.0.1 gunicorn==19.9.0 requests==2.22.0 -numpy==1.17.2 +numpy==1.25.0 sentry-sdk==0.12.3 jinja2<=3.0.3 Werkzeug<=2.0.3 diff --git a/skills/program_y_deepy/Dockerfile b/skills/program_y_deepy/Dockerfile index 4bdf6c61cc..c3f63b3756 100644 --- a/skills/program_y_deepy/Dockerfile +++ b/skills/program_y_deepy/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 WORKDIR /app diff --git a/skills/superbowl_skill/Dockerfile b/skills/superbowl_skill/Dockerfile index 2e3a3c2b4e..82bcc14372 100644 --- a/skills/superbowl_skill/Dockerfile +++ b/skills/superbowl_skill/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 WORKDIR /src diff --git a/skills/superbowl_skill/requirements.txt b/skills/superbowl_skill/requirements.txt index 1d2e7fb9f2..0261e2b1f2 100644 --- a/skills/superbowl_skill/requirements.txt +++ b/skills/superbowl_skill/requirements.txt @@ -2,7 +2,7 @@ flask==1.1.1 itsdangerous==2.0.1 gunicorn==19.9.0 requests==2.22.0 -numpy==1.17.2 +numpy==1.25.0 sentry-sdk==0.12.3 jinja2<=3.0.3 Werkzeug<=2.0.3 diff --git a/skills/topicalchat_tfidf_retrieval/Dockerfile b/skills/topicalchat_tfidf_retrieval/Dockerfile index d803e92202..ca99dae01a 100644 --- a/skills/topicalchat_tfidf_retrieval/Dockerfile +++ b/skills/topicalchat_tfidf_retrieval/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.4 +FROM python:3.10 RUN mkdir /src COPY ./requirements.txt /src/requirements.txt diff --git a/skills/topicalchat_tfidf_retrieval/requirements.txt b/skills/topicalchat_tfidf_retrieval/requirements.txt index 1c10f16aa9..19a456cee5 100644 --- a/skills/topicalchat_tfidf_retrieval/requirements.txt +++ b/skills/topicalchat_tfidf_retrieval/requirements.txt @@ -2,7 +2,7 @@ flask==1.1.1 itsdangerous==2.0.1 gunicorn==19.9.0 requests==2.22.0 -numpy==1.17.2 +numpy==1.25.0 sentry-sdk==0.13.3 scikit-learn==0.21.3 Cython==0.29.13