diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-07-10 15:12:31 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-14 17:31:05 +0100 |
commit | f18cee609bfc47fc21132191e7f317a4f780fca6 (patch) | |
tree | 1352b6619f8c60db99bc09c43e5c4c23a8a18b52 /meta/recipes-devtools | |
parent | 257a5e4649d3ea623d5a311d32ef251233964532 (diff) | |
download | poky-f18cee609bfc47fc21132191e7f317a4f780fca6.tar.gz |
python3-setuptools: upgrade 67.6.1 -> 68.0.0
AUH upgrade failed because the LICENSE checksum no longer matched. This
is because the attribution in the file was removed upstream in v67.8.0.
Patch fuzz also needed to be upgraded for
0001-conditionally-do-not-fetch-code-by-easy_install.patch.
Changelog: https://setuptools.pypa.io/en/stable/history.html
(From OE-Core rev: a248b94dff49b0331bd1e37e594f983fc50b3f0d)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch | 12 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-setuptools_68.0.0.bb (renamed from meta/recipes-devtools/python/python3-setuptools_67.6.1.bb) | 4 |
2 files changed, 9 insertions, 7 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 4d56dc89ba..1e5ab498a4 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 | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2b06ca797d3ccc5b195aaa04a085c44bf61d4de3 Mon Sep 17 00:00:00 2001 | 1 | From 5e603da9c01ccb828a03ea3e82d15599971f794f Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Tue, 17 Jul 2018 10:13:38 +0800 | 3 | Date: Tue, 17 Jul 2018 10:13:38 +0800 |
4 | Subject: [PATCH] conditionally do not fetch code by easy_install | 4 | Subject: [PATCH] conditionally do not fetch code by easy_install |
@@ -9,17 +9,16 @@ internet by easy_install. | |||
9 | Upstream-Status: Inappropriate [oe specific] | 9 | Upstream-Status: Inappropriate [oe specific] |
10 | 10 | ||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
12 | |||
13 | --- | 12 | --- |
14 | setuptools/command/easy_install.py | 5 +++++ | 13 | setuptools/command/easy_install.py | 5 +++++ |
15 | 1 file changed, 5 insertions(+) | 14 | 1 file changed, 5 insertions(+) |
16 | 15 | ||
17 | diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py | 16 | diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py |
18 | index 444d3b3..61e445a 100644 | 17 | index 0b8d1159..93308060 100644 |
19 | --- a/setuptools/command/easy_install.py | 18 | --- a/setuptools/command/easy_install.py |
20 | +++ b/setuptools/command/easy_install.py | 19 | +++ b/setuptools/command/easy_install.py |
21 | @@ -648,6 +648,11 @@ class easy_install(Command): | 20 | @@ -644,6 +644,11 @@ class easy_install(Command): |
22 | os.path.exists(tmpdir) and rmtree(tmpdir) | 21 | os.path.exists(tmpdir) and _rmtree(tmpdir) |
23 | 22 | ||
24 | def easy_install(self, spec, deps=False): | 23 | def easy_install(self, spec, deps=False): |
25 | + if os.environ.get('NO_FETCH_BUILD', None): | 24 | + if os.environ.get('NO_FETCH_BUILD', None): |
@@ -30,3 +29,6 @@ index 444d3b3..61e445a 100644 | |||
30 | with self._tmpdir() as tmpdir: | 29 | with self._tmpdir() as tmpdir: |
31 | if not isinstance(spec, Requirement): | 30 | if not isinstance(spec, Requirement): |
32 | if URL_SCHEME(spec): | 31 | if URL_SCHEME(spec): |
32 | -- | ||
33 | 2.41.0 | ||
34 | |||
diff --git a/meta/recipes-devtools/python/python3-setuptools_67.6.1.bb b/meta/recipes-devtools/python/python3-setuptools_68.0.0.bb index ad0d7cc527..4ac789d18c 100644 --- a/meta/recipes-devtools/python/python3-setuptools_67.6.1.bb +++ b/meta/recipes-devtools/python/python3-setuptools_68.0.0.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" | |||
2 | HOMEPAGE = "https://pypi.org/project/setuptools" | 2 | HOMEPAGE = "https://pypi.org/project/setuptools" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=7a7126e068206290f3fe9f8d6c713ea6" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" |
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta | 7 | inherit pypi python_setuptools_build_meta |
8 | 8 | ||
@@ -11,7 +11,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e | |||
11 | SRC_URI += " \ | 11 | SRC_URI += " \ |
12 | file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch" | 12 | file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch" |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "257de92a9d50a60b8e22abfcbb771571fde0dbf3ec234463212027a4eeecbe9a" | 14 | SRC_URI[sha256sum] = "baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235" |
15 | 15 | ||
16 | DEPENDS += "${PYTHON_PN}" | 16 | DEPENDS += "${PYTHON_PN}" |
17 | 17 | ||