From 1dee10077c1258119e865682e17d004530f3b02f Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Wed, 24 Dec 2025 11:24:44 +0530 Subject: [PATCH 1/2] fix(deps): pin urllib3<2 v2 has breaking changes, and some other ERPNext dependencies pull in newer requests, which has urllib3<3 mentioned. Signed-off-by: Akhil Narang --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index af0fbffd9ff..076ebe8f694 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,9 @@ dependencies = [ "python-youtube~=0.8.0", "taxjar~=1.9.2", "tweepy~=3.10.0", + + # Pin for compatibility, v2 has breaking changes + "urllib3>=1.26.4,<2", ] [build-system] From d713f39fce569575d44c187c4997c7b1721d66f3 Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Wed, 24 Dec 2025 12:15:49 +0530 Subject: [PATCH 2/2] fix: disable uv Seems to cause an issue with dependency resolution when installation dev dependencies Signed-off-by: Akhil Narang --- .github/helper/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/helper/install.sh b/.github/helper/install.sh index cb82d2ad733..876afc2a6bc 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -4,6 +4,8 @@ set -e cd ~ || exit +export BENCH_DISABLE_UV=1 + sudo apt update && sudo apt install redis-server libcups2-dev pip install frappe-bench