From 15091ef668b544ceb881f8179c0c25c97afd3f5f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 7 Nov 2024 17:23:57 +0000 Subject: [PATCH] python3-setuptools: add more comments to a patch Add more explanatory comments, including when we can drop the patch. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- ...-conditionally-do-not-fetch-code-by-easy_install.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch index e227c2889cf..16b316e9cc2 100644 --- a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch +++ b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch @@ -3,11 +3,13 @@ From: Hongxu Jia Date: Tue, 17 Jul 2018 10:13:38 +0800 Subject: [PATCH] conditionally do not fetch code by easy_install -If var-NO_FETCH_BUILD is set, do not allow to fetch code from -internet by easy_install. +If NO_FETCH_BUILD is set, do not fetch code in easy_install. This avoids setup.py +trying to fetch missing dependencies at build time. -Upstream-Status: Inappropriate [oe specific] +This is only used by the deprecated codepath as implemented by setuptools3.bbclass, so +when that ever gets removed this patch can also be deleted. +Upstream-Status: Denied [https://github.com/pypa/setuptools/issues/4735] Signed-off-by: Hongxu Jia --- setuptools/command/easy_install.py | 5 +++++ -- 2.47.3