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 <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Khem Raj 2022-01-11 12:18:12 -08:00
parent 6d54262497
commit d323e21f1a

View File

@ -4,9 +4,19 @@ Upstream-Status: Inappropriate [disable feature]
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
--- a/setupext.py.orig 2021-12-14 09:44:33.499041044 -0800 --- a/setup.py
+++ a/setupext.py 2021-12-14 09:45:00.447041706 -0800 +++ b/setup.py
@@ -64,40 +64,7 @@ @@ -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 BytesIO
The file loaded into memory. The file loaded into memory.
""" """
@ -45,6 +55,6 @@ Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
- -
- return BytesIO(data) - return BytesIO(data)
+ raise IOError(f"Automatic downloading is disabled.") + raise IOError(f"Automatic downloading is disabled.")
def get_and_extract_tarball(urls, sha, dirname): def get_and_extract_tarball(urls, sha, dirname):