From 7358b87f58d1590cb02a07795bef81a6b5536fe4 Mon Sep 17 00:00:00 2001 From: VijithaEkanayake Date: Wed, 14 Feb 2024 17:59:59 +0530 Subject: [PATCH] chore: update starlette to 0.37.1 Fixes: https://github.com/h2oai/wave-apps/issues/125 --- .github/workflows/snyk-scan.yaml | 12 ++++++------ guess-the-number/requirements.txt | 4 ++-- sales-forecasting/requirements.txt | 4 ++-- .../requirements.txt | 6 ++++-- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/snyk-scan.yaml b/.github/workflows/snyk-scan.yaml index 51fa73c..dbf84f6 100644 --- a/.github/workflows/snyk-scan.yaml +++ b/.github/workflows/snyk-scan.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Check changed Deps files uses: tj-actions/changed-files@v35 @@ -42,12 +42,12 @@ jobs: sed '/^\.\//d; /^https:\/\//d; /^flake8/d; /^black==/d' requirements.txt > t.txt \ && mv t.txt requirements.txt - python3.8 -m pip install -r requirements.txt && cd $topdir + python3.10 -m pip install -r requirements.txt && cd $topdir snyk test \ -d \ --file=$file \ - --command=python3.8 \ + --command=python3.10 \ --skip-unresolved \ --package-manager=pip done @@ -66,7 +66,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Monitor Python dependencies env: @@ -80,12 +80,12 @@ jobs: sed '/^\.\//d; /^https:\/\//d; /^flake8/d; /^black==/d' requirements.txt > t.txt \ && mv t.txt requirements.txt - python3.8 -m pip install -r requirements.txt && cd $topdir + python3.10 -m pip install -r requirements.txt && cd $topdir snyk monitor \ -d \ --file=$file \ - --command=python3.8 \ + --command=python3.10 \ --skip-unresolved \ --package-manager=pip \ --remote-repo-url=wave-apps/${{ steps.extract_ref.outputs.ref }} \ diff --git a/guess-the-number/requirements.txt b/guess-the-number/requirements.txt index 8381187..8681440 100644 --- a/guess-the-number/requirements.txt +++ b/guess-the-number/requirements.txt @@ -7,6 +7,6 @@ httpx==0.16.1 idna==2.10 rfc3986==1.4.0 sniffio==1.2.0 -starlette==0.13.8 -typing-extensions==3.7.4.3 +starlette==0.37.1 +typing-extensions==3.10.0 uvicorn==0.12.2 diff --git a/sales-forecasting/requirements.txt b/sales-forecasting/requirements.txt index 54230e0..72c5a60 100644 --- a/sales-forecasting/requirements.txt +++ b/sales-forecasting/requirements.txt @@ -16,7 +16,7 @@ rfc3986==1.4.0; python_version >= "3.6" and python_full_version >= "3.6.1" s3transfer==0.3.3 six==1.15.0; python_full_version >= "3.6.1" sniffio==1.2.0; python_version >= "3.6" and python_full_version >= "3.6.1" -starlette==0.13.8; python_version >= "3.6" and python_full_version >= "3.6.1" -typing-extensions==3.7.4.3; python_version < "3.8" and python_full_version >= "3.6.1" +starlette==0.37.1 +typing-extensions==3.10.0 urllib3==1.26.2; python_version >= "2.7" and python_full_version < "3.0.0" and python_version != "3.4" or python_full_version >= "3.5.0" and python_version < "4" and python_version != "3.4" uvicorn==0.12.2; python_full_version >= "3.6.1" diff --git a/template-explore-binary-classification/requirements.txt b/template-explore-binary-classification/requirements.txt index db4c4c2..c29b943 100644 --- a/template-explore-binary-classification/requirements.txt +++ b/template-explore-binary-classification/requirements.txt @@ -1,5 +1,7 @@ -h2o_wave==0.20.0 +h2o_wave==0.26.3 toml==0.10.2 loguru==0.6.0 pandas==1.4.0 -matplotlib==3.5.1 \ No newline at end of file +matplotlib==3.5.1 +starlette==0.37.1 +typing-extensions==3.10.0