From d323e21f1a3b9ae6d5b38e14efb6c4e72fb4992c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 11 Jan 2022 12:18:12 -0800 Subject: python3-matplotlib: Do not use setuptools_scm_git_archive this gets invoked during compile task which is not disabling network access, any network activity should be explicitly enabled except during do_fetch Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../matplotlib-disable-download.patch | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-matplotlib') diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch b/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch index e032ceb2c9..42ffeb8970 100644 --- a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch +++ b/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch @@ -4,9 +4,19 @@ Upstream-Status: Inappropriate [disable feature] Signed-off-by: Mark Hatle ---- a/setupext.py.orig 2021-12-14 09:44:33.499041044 -0800 -+++ a/setupext.py 2021-12-14 09:45:00.447041706 -0800 -@@ -64,40 +64,7 @@ +--- a/setup.py ++++ b/setup.py +@@ -317,7 +317,6 @@ setup( # Finally, pass this all along t + "certifi>=2020.06.20", + "numpy>=1.17", + "setuptools_scm>=4", +- "setuptools_scm_git_archive", + ], + install_requires=[ + "cycler>=0.10", +--- a/setupext.py ++++ b/setupext.py +@@ -64,40 +64,7 @@ def get_from_cache_or_download(url, sha) BytesIO The file loaded into memory. """ @@ -45,6 +55,6 @@ Signed-off-by: Mark Hatle - - return BytesIO(data) + raise IOError(f"Automatic downloading is disabled.") - - + + def get_and_extract_tarball(urls, sha, dirname): -- cgit v1.2.3-54-g00ecf