From a78fa22245440b186106b76ca10185bb9452483a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 13:45:26 +0000 Subject: [PATCH 1/3] ci: update ruff requirement from <0.14.0,>=0.13.0 to >=0.13.0,<0.17.0 Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.13.0...0.16.1) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e81579b2..37727e3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ dev = [ "mypy>=0.981,<1.0.0", "pre-commit>=3.2.0,<4.2.0", "pytest>=8.0.0,<10.0.0", - "ruff>=0.13.0,<0.14.0", + "ruff>=0.13.0,<0.17.0", "responses>=0.6.1,<1.0.0", "mem0ai>=0.1.104,<1.0.0", "opensearch-py>=2.8.0,<3.0.0", @@ -127,7 +127,7 @@ features = ["mem0-memory", "local-chromium-browser", "agent-core-browser", "agen dependencies = [ "strands-agents>=1.0.0", "mypy>=0.981,<1.0.0", - "ruff>=0.13.0,<0.14.0", + "ruff>=0.13.0,<0.17.0", ] [tool.hatch.envs.hatch-static-analysis.scripts] From 27d8132f31dd2fe85b36b4d0c41996b23effac01 Mon Sep 17 00:00:00 2001 From: liramon2 Date: Mon, 3 Aug 2026 10:58:30 -0400 Subject: [PATCH 2/3] Update pyproject.toml Co-authored-by: Strandly (The Agent) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 37727e3e..0a4c294c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ dev = [ "mypy>=0.981,<1.0.0", "pre-commit>=3.2.0,<4.2.0", "pytest>=8.0.0,<10.0.0", - "ruff>=0.13.0,<0.17.0", + "ruff>=0.13.0,<0.15.0", "responses>=0.6.1,<1.0.0", "mem0ai>=0.1.104,<1.0.0", "opensearch-py>=2.8.0,<3.0.0", From 342c8a093a846d1ef825e3498e103b706e0e5cc9 Mon Sep 17 00:00:00 2001 From: liramon2 Date: Mon, 3 Aug 2026 12:13:32 -0400 Subject: [PATCH 3/3] fix: apply ruff formatting --- pyproject.toml | 2 +- tests/test_agent_core_memory.py | 4 ++-- tests/utils/test_generate_schema_util.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0a4c294c..37727e3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ dev = [ "mypy>=0.981,<1.0.0", "pre-commit>=3.2.0,<4.2.0", "pytest>=8.0.0,<10.0.0", - "ruff>=0.13.0,<0.15.0", + "ruff>=0.13.0,<0.17.0", "responses>=0.6.1,<1.0.0", "mem0ai>=0.1.104,<1.0.0", "opensearch-py>=2.8.0,<3.0.0", diff --git a/tests/test_agent_core_memory.py b/tests/test_agent_core_memory.py index a15c4035..37f21318 100644 --- a/tests/test_agent_core_memory.py +++ b/tests/test_agent_core_memory.py @@ -20,8 +20,8 @@ def mock_boto3_client(): mock_bedrock_agent_core = mock.MagicMock() # Configure boto3.client to return our mock - mock_client.side_effect = ( - lambda service, **kwargs: mock_bedrock_agent_core if service == "bedrock-agentcore" else None + mock_client.side_effect = lambda service, **kwargs: ( + mock_bedrock_agent_core if service == "bedrock-agentcore" else None ) yield { diff --git a/tests/utils/test_generate_schema_util.py b/tests/utils/test_generate_schema_util.py index 5daa7b2a..48ce2308 100644 --- a/tests/utils/test_generate_schema_util.py +++ b/tests/utils/test_generate_schema_util.py @@ -207,7 +207,7 @@ def test_invalid_operation(self, mock_boto_client): # Patch hasattr to return False for the operation with patch( "strands_tools.utils.generate_schema_util.hasattr", - side_effect=lambda obj, name: (False if name in ["invalid_operation", "InvalidOperation"] else True), + side_effect=lambda obj, name: False if name in ["invalid_operation", "InvalidOperation"] else True, ): # Mock the conversion functions with patch(