From 773938a6e87dfbe7538a864cb7ef08a948112a18 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 16 Feb 2026 11:57:01 +0530 Subject: [PATCH 1/2] test: Reset mock the right way (#37045) python 3.14.3 has some kinda proxying, so we can't override actual value from outside without using proper API. --- frappe/tests/test_caching.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/tests/test_caching.py b/frappe/tests/test_caching.py index 4111ca8dfb..5ec2d353f2 100644 --- a/frappe/tests/test_caching.py +++ b/frappe/tests/test_caching.py @@ -75,7 +75,7 @@ class TestCachingUtils(IntegrationTestCase): # ensure single call if key is hashable for arg in hashable_values: - external_service.call_count = 0 + external_service.reset_mock() for _ in range(2): request_specific_api(arg, 13) @@ -83,7 +83,7 @@ class TestCachingUtils(IntegrationTestCase): # multiple calls if key cannot be generated for arg in unhashable_values: - external_service.call_count = 0 + external_service.reset_mock() for _ in range(2): request_specific_api(arg, 13) From 55aca7654dc99dc20894673fe0f1d63952a19050 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 16 Feb 2026 11:57:20 +0530 Subject: [PATCH 2/2] build: Bump pillow (#37047) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1486da9b18..0118bf201c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ "filetype~=1.2.0", "GitPython~=3.1.45", "Jinja2~=3.1.6", - "Pillow~=12.0.0", + "Pillow~=12.1.1", "PyJWT~=2.10.1", # We depend on internal attributes, # do NOT add loose requirements on PyMySQL versions.