summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pip_22.0.3.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pip-native: install scripts in ${bindir}Tim Orling2022-02-251-0/+17
| | | | | | | | | | | | | | | | The naïve approach of simply unzipping the built wheel is not sufficient. 'pip install' would normally have created the [console_scripts] from entry-points.txt in ${D}${bindir}. For bootstrapping purposes, hardcode the scripts and install them into ${D}${bindir}. Skip the ${bindir}/pip variant. [YOCTO #14739] (From OE-Core rev: 5b58328b610273fea42c144cd590e638c0dc1e4e) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: Don't change shebangRichard Purdie2022-02-251-0/+1
| | | | | | | | | | Patch pip to disable shebang mangling and also force the python executable to be python3 from the environment when building anything for the target (or nativesdk). (From OE-Core rev: 8ceb0bec18422818dcdb0efecec08ed155dc4715) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: inherit setuptools_build_metaTim Orling2022-02-251-2/+17
| | | | | | | | | | | | | | | | | | | Upstream provides a pyproject.toml which declares setuptools.build_meta as the backend for PEP-517 packaging. We bootstrap the -native installation by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR, so that all other recipes can use pip to install wheels (as intended by upstream). Check for presence of ${D}${bindir}/pip and remove if found (this was originally to make sure Python2 pip was the default). [YOCTO #14638] (From OE-Core rev: 082fb72ed1683a699ef4bc2c92aa987ce9c46509) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 22.0.2 -> 22.0.3wangmy2022-02-101-0/+33
Changelog: ========= Features ------- Print the exception via rich.traceback, when running with --debug. (#10791) Bug Fixes --------- Only calculate topological installation order, for packages that are going to be installed/upgraded. This fixes an AssertionError that occured when determining installation order, for a very specific combination of upgrading-already-installed-package + change of dependencies + fetching some packages from a package index. This combination was especially common in Read the Docs' builds. (#10851) Use html.parser by default, instead of falling back to html5lib when --use-deprecated=html5lib is not passed. (#10869) Improved Documentation ---------------------- Clarify that using per-requirement overrides disables the usage of wheels. (#9674) (From OE-Core rev: 72874df0a76869c21a28908597a6ea04213d1aeb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>