From 37d15d2b5db42da7071f08ddf0b80bbc0f99fab8 Mon Sep 17 00:00:00 2001 From: VijithaEkanayake Date: Wed, 14 Feb 2024 22:49:43 +0530 Subject: [PATCH] chore: Add .synk configurations Fixes: https://github.com/h2oai/wave-apps/issues/125 --- churn-risk/.snyk | 4 ++++ churn-risk/requirements.txt | 1 + credit-risk/.snyk | 4 ++++ credit-risk/requirements.txt | 3 ++- explaining-ratings/.snyk | 5 +++++ explaining-ratings/requirements.txt | 4 +++- guess-the-number/.snyk | 5 +++++ guess-the-number/requirements.txt | 6 +++--- insurance-churn-risk/.snyk | 4 ++++ insurance-churn-risk/requirements.txt | 2 ++ sales-forecasting/.snyk | 5 +++++ sales-forecasting/requirements.txt | 10 +++++----- shopping-cart-recommendations/.snyk | 5 +++++ shopping-cart-recommendations/requirements.txt | 2 ++ template-explore-binary-classification/.snyk | 5 +++++ .../requirements.txt | 3 +++ 16 files changed, 58 insertions(+), 10 deletions(-) create mode 100644 explaining-ratings/.snyk create mode 100644 guess-the-number/.snyk create mode 100644 sales-forecasting/.snyk create mode 100644 shopping-cart-recommendations/.snyk create mode 100644 template-explore-binary-classification/.snyk diff --git a/churn-risk/.snyk b/churn-risk/.snyk index 78a523d..1fe908a 100644 --- a/churn-risk/.snyk +++ b/churn-risk/.snyk @@ -3,3 +3,7 @@ ignore: - "*": reason: Not fixed version for h2o yet expires: 2025-01-01T00:00:00.000Z + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/churn-risk/requirements.txt b/churn-risk/requirements.txt index 2e8a508..34356eb 100644 --- a/churn-risk/requirements.txt +++ b/churn-risk/requirements.txt @@ -3,6 +3,7 @@ Pygments==2.15.0 h2o-wave<1.0 h2o-wave-ml>=0.7.0 https://h2o-release.s3.amazonaws.com/h2o/rel-zizler/7/Python/h2o-3.34.0.7-py2.py3-none-any.whl +setuptools==65.5.1 black==20.8b1 flake8-black==0.2.1 diff --git a/credit-risk/.snyk b/credit-risk/.snyk index 78a523d..1fe908a 100644 --- a/credit-risk/.snyk +++ b/credit-risk/.snyk @@ -3,3 +3,7 @@ ignore: - "*": reason: Not fixed version for h2o yet expires: 2025-01-01T00:00:00.000Z + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/credit-risk/requirements.txt b/credit-risk/requirements.txt index 3fa550d..415f424 100644 --- a/credit-risk/requirements.txt +++ b/credit-risk/requirements.txt @@ -1,4 +1,4 @@ -numpy==1.21.0 +numpy==1.22.2 pandas==1.4.0 plotly==4.10.0 pygments==2.15.0 @@ -8,4 +8,5 @@ requests tabulate colorama>=0.3.8 future +setuptools==65.5.1 https://h2o-release.s3.amazonaws.com/h2o/rel-zizler/7/Python/h2o-3.34.0.7-py2.py3-none-any.whl diff --git a/explaining-ratings/.snyk b/explaining-ratings/.snyk new file mode 100644 index 0000000..041b346 --- /dev/null +++ b/explaining-ratings/.snyk @@ -0,0 +1,5 @@ +ignore: + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/explaining-ratings/requirements.txt b/explaining-ratings/requirements.txt index 134b3f1..b08a7d5 100644 --- a/explaining-ratings/requirements.txt +++ b/explaining-ratings/requirements.txt @@ -1,4 +1,6 @@ pandas==1.4.0 h2o-wave<1.0 matplotlib -wordcloud \ No newline at end of file +wordcloud +numpy==1.22.2 +setuptools==65.5.1 \ No newline at end of file diff --git a/guess-the-number/.snyk b/guess-the-number/.snyk new file mode 100644 index 0000000..041b346 --- /dev/null +++ b/guess-the-number/.snyk @@ -0,0 +1,5 @@ +ignore: + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/guess-the-number/requirements.txt b/guess-the-number/requirements.txt index 450d9fa..e03804f 100644 --- a/guess-the-number/requirements.txt +++ b/guess-the-number/requirements.txt @@ -2,11 +2,11 @@ certifi==2024.2.2 click==7.1.2 h11==0.11.0 h2o-wave<1.0 -httpcore==0.12.2 -httpx==0.16.1 +httpcore==0.15.0 +httpx==0.23.0 idna==2.10 rfc3986==1.4.0 sniffio==1.2.0 starlette==0.37.1 typing-extensions==3.10.0 -uvicorn==0.12.2 +uvicorn==0.12.3 diff --git a/insurance-churn-risk/.snyk b/insurance-churn-risk/.snyk index 78a523d..1fe908a 100644 --- a/insurance-churn-risk/.snyk +++ b/insurance-churn-risk/.snyk @@ -3,3 +3,7 @@ ignore: - "*": reason: Not fixed version for h2o yet expires: 2025-01-01T00:00:00.000Z + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/insurance-churn-risk/requirements.txt b/insurance-churn-risk/requirements.txt index 8076c26..1c14a6c 100644 --- a/insurance-churn-risk/requirements.txt +++ b/insurance-churn-risk/requirements.txt @@ -3,6 +3,8 @@ pandas==1.4.0 pygments==2.15.0 h2o-wave<1.0 h2o-wave-ml>=0.6.0 +numpy==1.22.2 +setuptools==65.5.1 https://h2o-release.s3.amazonaws.com/h2o/rel-zizler/7/Python/h2o-3.34.0.7-py2.py3-none-any.whl black==20.8b1 diff --git a/sales-forecasting/.snyk b/sales-forecasting/.snyk new file mode 100644 index 0000000..041b346 --- /dev/null +++ b/sales-forecasting/.snyk @@ -0,0 +1,5 @@ +ignore: + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/sales-forecasting/requirements.txt b/sales-forecasting/requirements.txt index 3fe60ca..67a60ec 100644 --- a/sales-forecasting/requirements.txt +++ b/sales-forecasting/requirements.txt @@ -4,11 +4,11 @@ certifi==2024.2.2 click==7.1.2; python_full_version >= "3.6.1" h11==0.11.0; python_version >= "3.6" and python_full_version >= "3.6.1" h2o-wave<1.0; python_full_version >= "3.6.1" -httpcore==0.12.2; python_version >= "3.6" and python_full_version >= "3.6.1" -httpx==0.16.1; python_version >= "3.6" and python_full_version >= "3.6.1" +httpcore==0.15.0 +httpx==0.23.0 idna==2.10; python_version >= "3.6" and python_full_version >= "3.6.1" jmespath==0.10.0; python_version >= "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" -numpy==1.21.0; python_version >= "3.6" and python_full_version >= "3.6.1" +numpy==1.22.2 pandas==1.4.0; python_version >= "3.6" and python_full_version >= "3.6.1" python-dateutil==2.8.1; python_full_version >= "3.6.1" pytz==2020.4; python_full_version >= "3.6.1" @@ -18,5 +18,5 @@ 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.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" +urllib3==1.26.18 +uvicorn==0.12.3 diff --git a/shopping-cart-recommendations/.snyk b/shopping-cart-recommendations/.snyk new file mode 100644 index 0000000..041b346 --- /dev/null +++ b/shopping-cart-recommendations/.snyk @@ -0,0 +1,5 @@ +ignore: + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/shopping-cart-recommendations/requirements.txt b/shopping-cart-recommendations/requirements.txt index c4f7489..a30e793 100644 --- a/shopping-cart-recommendations/requirements.txt +++ b/shopping-cart-recommendations/requirements.txt @@ -1,3 +1,5 @@ certifi==2024.2.2 h2o-wave<1.0 pandas==1.4.0 +numpy==1.22.2 +urllib3==1.26.18 diff --git a/template-explore-binary-classification/.snyk b/template-explore-binary-classification/.snyk new file mode 100644 index 0000000..041b346 --- /dev/null +++ b/template-explore-binary-classification/.snyk @@ -0,0 +1,5 @@ +ignore: + snyk:lic:pip:certifi:MPL-2.0: + - "*": + reason: False positive + expires: 2025-01-01T00:00:00.000Z diff --git a/template-explore-binary-classification/requirements.txt b/template-explore-binary-classification/requirements.txt index 0dbfebc..6e970ee 100644 --- a/template-explore-binary-classification/requirements.txt +++ b/template-explore-binary-classification/requirements.txt @@ -6,3 +6,6 @@ pandas==1.4.0 matplotlib==3.5.1 starlette==0.37.1 typing-extensions==3.10.0 +httpcore==0.15.0 +httpx==0.23.0 +setuptools==65.5.1