Hello,

On 13/10/2021 15:38:49+0800, wangmy wrote:
> Features
> Replace vendored appdirs with platformdirs. (#10202)
> 
> Support PEP 610 to detect editable installs in pip freeze and pip list.
> The pip list column output has a new Editable project location column,
> and the JSON output has a new editable_project_location field. (#10249)
> 
> pip freeze will now always fallback to reporting the editable project
> location when it encounters a VCS error while analyzing an editable 
> requirement.
> Before, it sometimes reported the requirement as non-editable. (#10410)
> 
> pip show now sorts Requires and Required-By alphabetically. (#10422)
> 
> Do not raise error when there are no files to remove with pip cache 
> purge/remove.
> Instead log a warning and continue (to log that we removed 0 files). (#10459)
> 
> When backtracking during dependency resolution, prefer the dependencies which
> are involved in the most recent conflict. This can significantly reduce the
> amount of backtracking required. (#10479)
> 
> Cache requirement objects, to improve performance reducing reparses of
> requirement strings. (#10550)
> 
> Support editable installs for projects that have a pyproject.toml and
> use a build backend that supports PEP 660. (#8212)
> 
> When a revision is specified in a Git URL, use git’s partial clone
> feature to speed up source retrieval. (#9086)
> 
> Add a --debug flag, to enable a mode that doesn’t log errors and
> propagates them to the top level instead. This is primarily to aid with
> 1debugging pip’s crashes. (#9349)
> 
> If a host is explicitly specified as trusted by the user
> (via the --trusted-host option), cache HTTP responses from it in addition
> to HTTPS ones. (#9498)
> 
> Signed-off-by: Wang Mingyu <[email protected]>
> ---
>  .../python/{python3-pip_21.2.4.bb => python3-pip_21.3.bb}       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/python/{python3-pip_21.2.4.bb => 
> python3-pip_21.3.bb} (89%)
> 
> diff --git a/meta/recipes-devtools/python/python3-pip_21.2.4.bb 
> b/meta/recipes-devtools/python/python3-pip_21.3.bb
> similarity index 89%
> rename from meta/recipes-devtools/python/python3-pip_21.2.4.bb
> rename to meta/recipes-devtools/python/python3-pip_21.3.bb
> index 1f0f707f4b..924a564f62 100644
> --- a/meta/recipes-devtools/python/python3-pip_21.2.4.bb
> +++ b/meta/recipes-devtools/python/python3-pip_21.3.bb
> @@ -10,7 +10,7 @@ inherit pypi distutils3
> 
>  SRC_URI += "file://0001-change-shebang-to-python3.patch"
> 
> -SRC_URI[sha256sum] = 
> "0eb8a1516c3d138ae8689c0c1a60fde7143310832f9dc77e11d8a4bc62de193b"
> +SRC_URI[sha256sum] = 
> "741a61baab1dbce2d8ca415effa48a2b6a964564f81a9f4f1fce4c433346c034"
> 

This fails with:

ERROR: python3-pip-native-21.3-r0 do_patch: Applying patch 
'0001-change-shebang-to-python3.patch' on target directory 
'/home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-linux/python3-pip-native/21.3-r0/pip-21.3'
CmdError('quilt --quiltrc 
/home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-linux/python3-pip-native/21.3-r0/recipe-sysroot-native/etc/quiltrc
 push', 0, 'stdout: Applying patch 0001-change-shebang-to-python3.patch\ncan\'t 
find file to patch at input line 30\nPerhaps you used the wrong -p or --strip 
option?\nThe text leading up to this was:\n--------------------------\n|From 
baa85a4dab2e8d64eb25d1181b6420db25ce919a Mon Sep 17 00:00:00 2001\n|From: 
Trevor Gamblin <[email protected]>\n|Date: Tue, 22 Jun 2021 12:31:46 
-0400\n|Subject: [PATCH] change shebang to python3\n|\n|Upstream-Status: 
Inappropriate (OE-specific)\n|\n|Despite no longer supporting python2, some 
files in the pip source refer\n|to "python" instead of "python3", so patch them 
as needed to ensure that\n|they correctly reference the python3 
binary.\n|\n|Signed-off-by: Trevor Gamblin 
<[email protected]>\n|---\n| src/pip/_vendor/appdirs.py              
      | 2 +-\n| src/pip/_vendor/chardet/langbulgarianmodel.py | 2 +-\n| 
src/pip/_vendor/chardet/langgreekmodel.py     | 2 +-\n| 
src/pip/_vendor/chardet/langhebrewmodel.py    | 2 +-\n| 
src/pip/_vendor/chardet/langhungarianmodel.py | 2 +-\n| 
src/pip/_vendor/chardet/langrussianmodel.py   | 2 +-\n| 
src/pip/_vendor/chardet/langthaimodel.py      | 2 +-\n| 
src/pip/_vendor/chardet/langturkishmodel.py   | 2 +-\n| 
src/pip/_vendor/chardet/metadata/languages.py | 2 +-\n| 
src/pip/_vendor/requests/certs.py             | 2 +-\n| 10 files changed, 10 
insertions(+), 10 deletions(-)\n|\n|diff --git a/src/pip/_vendor/appdirs.py 
b/src/pip/_vendor/appdirs.py\n|index 33a3b7741..60b9ef5f7 100644\n|--- 
a/src/pip/_vendor/appdirs.py\n|+++ 
b/src/pip/_vendor/appdirs.py\n--------------------------\nNo file to patch.  
Skipping patch.\n1 out of 1 hunk ignored\npatching file 
src/pip/_vendor/chardet/langbulgarianmodel.py\npatching file 
src/pip/_vendor/chardet/langgreekmodel.py\npatching file 
src/pip/_vendor/chardet/langhebrewmodel.py\npatching file 
src/pip/_vendor/chardet/langhungarianmodel.py\npatching file 
src/pip/_vendor/chardet/langrussianmodel.py\npatching file 
src/pip/_vendor/chardet/langthaimodel.py\npatching file 
src/pip/_vendor/chardet/langturkishmodel.py\npatching file 
src/pip/_vendor/chardet/metadata/languages.py\npatching file 
src/pip/_vendor/requests/certs.py\nPatch 0001-change-shebang-to-python3.patch 
does not apply (enforce with -f)\n\nstderr: ')
ERROR: nativesdk-python3-pip-21.3-r0 do_patch: Applying patch 
'0001-change-shebang-to-python3.patch' on target directory 
'/home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-pip/21.3-r0/pip-21.3'
CmdError('quilt --quiltrc 
/home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-pip/21.3-r0/recipe-sysroot-native/etc/quiltrc
 push', 0, 'stdout: Applying patch 0001-change-shebang-to-python3.patch\ncan\'t 
find file to patch at input line 30\nPerhaps you used the wrong -p or --strip 
option?\nThe text leading up to this was:\n--------------------------\n|From 
baa85a4dab2e8d64eb25d1181b6420db25ce919a Mon Sep 17 00:00:00 2001\n|From: 
Trevor Gamblin <[email protected]>\n|Date: Tue, 22 Jun 2021 12:31:46 
-0400\n|Subject: [PATCH] change shebang to python3\n|\n|Upstream-Status: 
Inappropriate (OE-specific)\n|\n|Despite no longer supporting python2, some 
files in the pip source refer\n|to "python" instead of "python3", so patch them 
as needed to ensure that\n|they correctly reference the python3 
binary.\n|\n|Signed-off-by: Trevor Gamblin 
<[email protected]>\n|---\n| src/pip/_vendor/appdirs.py              
      | 2 +-\n| src/pip/_vendor/chardet/langbulgarianmodel.py | 2 +-\n| 
src/pip/_vendor/chardet/langgreekmodel.py     | 2 +-\n| 
src/pip/_vendor/chardet/langhebrewmodel.py    | 2 +-\n| 
src/pip/_vendor/chardet/langhungarianmodel.py | 2 +-\n| 
src/pip/_vendor/chardet/langrussianmodel.py   | 2 +-\n| 
src/pip/_vendor/chardet/langthaimodel.py      | 2 +-\n| 
src/pip/_vendor/chardet/langturkishmodel.py   | 2 +-\n| 
src/pip/_vendor/chardet/metadata/languages.py | 2 +-\n| 
src/pip/_vendor/requests/certs.py             | 2 +-\n| 10 files changed, 10 
insertions(+), 10 deletions(-)\n|\n|diff --git a/src/pip/_vendor/appdirs.py 
b/src/pip/_vendor/appdirs.py\n|index 33a3b7741..60b9ef5f7 100644\n|--- 
a/src/pip/_vendor/appdirs.py\n|+++ 
b/src/pip/_vendor/appdirs.py\n--------------------------\nNo file to patch.  
Skipping patch.\n1 out of 1 hunk ignored\npatching file 
src/pip/_vendor/chardet/langbulgarianmodel.py\npatching file 
src/pip/_vendor/chardet/langgreekmodel.py\npatching file 
src/pip/_vendor/chardet/langhebrewmodel.py\npatching file 
src/pip/_vendor/chardet/langhungarianmodel.py\npatching file 
src/pip/_vendor/chardet/langrussianmodel.py\npatching file 
src/pip/_vendor/chardet/langthaimodel.py\npatching file 
src/pip/_vendor/chardet/langturkishmodel.py\npatching file 
src/pip/_vendor/chardet/metadata/languages.py\npatching file 
src/pip/_vendor/requests/certs.py\nPatch 0001-change-shebang-to-python3.patch 
does not apply (enforce with -f)\n\nstderr: ')

See for example:
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/4511/steps/12/logs/stdio


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156997): 
https://lists.openembedded.org/g/openembedded-core/message/156997
Mute This Topic: https://lists.openembedded.org/mt/86282734/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to