From 8a53605d056756976b5ab01d722db2bc8a1cf436 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:54:14 -0500 Subject: [PATCH 1/2] Update uvicorn[standard] requirement in /package (#1935) Updates the requirements on [uvicorn[standard]](https://github.com/encode/uvicorn) to permit the latest version. - [Release notes](https://github.com/encode/uvicorn/releases) - [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/uvicorn/compare/0.29.0...0.30.0) --- updated-dependencies: - dependency-name: uvicorn[standard] dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Huong Nguyen <32060364+Huongg@users.noreply.github.com> Co-authored-by: Ravi Kumar Pilla --- package/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/requirements.txt b/package/requirements.txt index f40d3278de..c867b9ff0d 100644 --- a/package/requirements.txt +++ b/package/requirements.txt @@ -13,7 +13,7 @@ pydantic>=2.0.0 secure>=0.3.0 sqlalchemy>=1.4, <3 strawberry-graphql>=0.192.0, <1.0 -uvicorn[standard]~=0.29.0 +uvicorn[standard]~=0.30.0 watchgod~=0.8.2 # [TODO: Need to drop toposort dependency in favor of in-built graphlib] toposort>=1.5 # Needs to be at least 1.5 to be able to raise CircularDependencyError From 4005b58e97da15244f0679bc50abbd09c95f528c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:27:23 -0500 Subject: [PATCH 2/2] Update moto requirement from ~=4.1.14 to ~=5.0.9 in /package (#1934) * Update moto requirement from ~=4.1.14 to ~=5.0.9 in /package Updates the requirements on [moto](https://github.com/getmoto/moto) to permit the latest version. - [Release notes](https://github.com/getmoto/moto/releases) - [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md) - [Commits](https://github.com/getmoto/moto/compare/4.1.14...5.0.9) --- updated-dependencies: - dependency-name: moto dependency-type: direct:production ... Signed-off-by: dependabot[bot] * fix lint Signed-off-by: ravi-kumar-pilla --------- Signed-off-by: dependabot[bot] Signed-off-by: ravi-kumar-pilla Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Huong Nguyen <32060364+Huongg@users.noreply.github.com> Co-authored-by: Ravi Kumar Pilla --- package/test_requirements.txt | 2 +- package/tests/test_integrations/test_sqlite_store.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/test_requirements.txt b/package/test_requirements.txt index 6f1d69b9e5..1c9e3ec12a 100644 --- a/package/test_requirements.txt +++ b/package/test_requirements.txt @@ -11,7 +11,7 @@ flake8~=7.0 isort~=5.11 matplotlib~=3.5 mypy~=1.0 -moto~=4.1.14 +moto~=5.0.9 psutil==5.9.6 # same as Kedro for now pylint~=3.0 pylint-pydantic>=0.3.0 diff --git a/package/tests/test_integrations/test_sqlite_store.py b/package/tests/test_integrations/test_sqlite_store.py index b60e7d8bca..924ff21ddb 100644 --- a/package/tests/test_integrations/test_sqlite_store.py +++ b/package/tests/test_integrations/test_sqlite_store.py @@ -7,7 +7,7 @@ import boto3 import pytest -from moto import mock_s3 +from moto import mock_aws from sqlalchemy import create_engine, func, select from sqlalchemy.orm import sessionmaker @@ -42,7 +42,7 @@ def aws_credentials(): @pytest.fixture(scope="class") def mocked_s3_bucket(aws_credentials): """S3 Mock Client""" - with mock_s3(): + with mock_aws(): conn = boto3.client("s3", region_name="us-east-1") conn.create_bucket(Bucket=BUCKET_NAME) yield conn