From 8c7647c2900ff9c1fc318a12de1f96c54b6c15fa Mon Sep 17 00:00:00 2001 From: "Vazquez,Brais (IT EDP)" Date: Mon, 11 Dec 2023 09:57:35 +0100 Subject: [PATCH 1/2] update streamlit and python quickstarters and agent --- be-python-flask/files/metadata.yml | 2 +- be-python-flask/files/requirements.txt | 4 ++-- be-python-flask/files/tests_requirements.txt | 6 +++--- common/jenkins-agents/python/docker/Dockerfile.ubi8 | 2 +- docs/modules/quickstarters/pages/be-python-flask.adoc | 2 +- docs/modules/quickstarters/pages/ds-streamlit.adoc | 2 +- ds-streamlit/files/requirements.txt | 6 +++--- ds-streamlit/files/test_requirements.txt | 8 ++++---- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/be-python-flask/files/metadata.yml b/be-python-flask/files/metadata.yml index 35a272fad..feacfb6f2 100644 --- a/be-python-flask/files/metadata.yml +++ b/be-python-flask/files/metadata.yml @@ -1,6 +1,6 @@ --- name: Flask -description: "Flask is a micro web framework written in Python. Technologies: Flask 2.2.2, Python 3.9" +description: "Flask is a micro web framework written in Python. Technologies: Flask 3.0.0, Python 3.11" supplier: https://www.palletsprojects.com/p/flask/ version: 4.x type: ods diff --git a/be-python-flask/files/requirements.txt b/be-python-flask/files/requirements.txt index 9e4644e18..2cde62dfb 100644 --- a/be-python-flask/files/requirements.txt +++ b/be-python-flask/files/requirements.txt @@ -1,2 +1,2 @@ -gunicorn==20.1.0 -flask==2.3.2 +gunicorn==21.2.0 +flask==3.0.0 diff --git a/be-python-flask/files/tests_requirements.txt b/be-python-flask/files/tests_requirements.txt index 408da5e34..c5252edcf 100644 --- a/be-python-flask/files/tests_requirements.txt +++ b/be-python-flask/files/tests_requirements.txt @@ -1,6 +1,6 @@ -r ./requirements.txt -mypy==1.3.0 -flake8==6.0.0 -pytest==7.3.1 +mypy==1.7.1 +flake8==6.1.0 +pytest==7.4.3 pytest-cov==4.1.0 diff --git a/common/jenkins-agents/python/docker/Dockerfile.ubi8 b/common/jenkins-agents/python/docker/Dockerfile.ubi8 index 02e46e4c2..d2f2f0c19 100644 --- a/common/jenkins-agents/python/docker/Dockerfile.ubi8 +++ b/common/jenkins-agents/python/docker/Dockerfile.ubi8 @@ -26,7 +26,7 @@ RUN pipVersions=( pip3.8 pip3.9 pip3.11 ); \ fi; \ $pipV config set global.cert /etc/ssl/certs/ca-bundle.crt && \ $pipV install --upgrade pip --user && \ - $pipV install virtualenv==20.23.0 setuptools==67.8.0 Cython==0.29.35 pypandoc==1.11; \ + $pipV install virtualenv==20.25.0 setuptools==69.0.2 Cython==3.0.6 pypandoc==1.12; \ done; # Enables default user to access $HOME folder diff --git a/docs/modules/quickstarters/pages/be-python-flask.adoc b/docs/modules/quickstarters/pages/be-python-flask.adoc index 09a558d47..21b06fcc7 100644 --- a/docs/modules/quickstarters/pages/be-python-flask.adoc +++ b/docs/modules/quickstarters/pages/be-python-flask.adoc @@ -80,7 +80,7 @@ version: 1.0.1 type: ods role: backend runtime: flask -runtimeVersion: 2.2.2 +runtimeVersion: 3.0.0 ``` diff --git a/docs/modules/quickstarters/pages/ds-streamlit.adoc b/docs/modules/quickstarters/pages/ds-streamlit.adoc index 31df7b297..7f23a5ca8 100644 --- a/docs/modules/quickstarters/pages/ds-streamlit.adoc +++ b/docs/modules/quickstarters/pages/ds-streamlit.adoc @@ -75,7 +75,7 @@ version: 1.0.1 type: ods role: dashboard runtime: streamlit -runtimeVersion: 0.18 +runtimeVersion: 1.29.0 ``` == How this quickstarter is built through Jenkins diff --git a/ds-streamlit/files/requirements.txt b/ds-streamlit/files/requirements.txt index c7ddc09d0..41db67856 100644 --- a/ds-streamlit/files/requirements.txt +++ b/ds-streamlit/files/requirements.txt @@ -1,3 +1,3 @@ -streamlit==1.22.0 -plotly==5.14.1 -pandas==2.0.2 +streamlit==1.29.0 +plotly==5.18.0 +pandas==2.1.4 diff --git a/ds-streamlit/files/test_requirements.txt b/ds-streamlit/files/test_requirements.txt index ca60e2e74..3b4425cc7 100644 --- a/ds-streamlit/files/test_requirements.txt +++ b/ds-streamlit/files/test_requirements.txt @@ -1,7 +1,7 @@ -r ./requirements.txt -mypy==1.3.0 -flake8==6.0.0 -pytest==7.3.1 +mypy==1.7.1 +flake8==6.1.0 +pytest==7.4.3 pytest-cov==4.1.0 -black==23.3.0 +black==23.11.0 From 5d0fd2a62e7e0c7c1220e5d9b769071d9dc8fa25 Mon Sep 17 00:00:00 2001 From: "Vazquez,Brais (IT EDP)" Date: Mon, 11 Dec 2023 10:13:09 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c5ab4c48..ecf27971f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Added - Added secret scanning in docker plain ([#963](https://github.com/opendevstack/ods-quickstarters/pull/963)) - Added Nodejs20 agent ([#962](https://github.com/opendevstack/ods-quickstarters/issues/962)) +- Update Streamlit and Python quickstarters and agent ([#968](https://github.com/opendevstack/ods-quickstarters/issues/968)) ### Modified