summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pip
Commit message (Collapse)AuthorAgeFilesLines
* python3-pip: remove unneeded reproducible.patchAlexander Kanavin2022-09-021-83/+0
| | | | | | | | | | | | | | | | | | Since "python_pep517: use installer instead of pip" pip is no longer used in builds, and therefore doesn't need to behave reproducibly. I have submitted the patch upstream; upstream have suggested that the way it had been used previously is non-reproducible by design, and if pip is again brought into builds in the future, we should use specific options for reproducibility: https://github.com/pypa/pip/issues/11424 (From OE-Core rev: 654f9d5088d00ee27b4d2f7b3bb371195de52247) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: submit reproducible.patch upstreamAlexander Kanavin2022-09-021-1/+1
| | | | | | | | (From OE-Core rev: ed62eccaa49404aac96e4882a9db6c03d17bb4e2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 22.1.2 -> 22.2.1wangmy2022-08-042-146/+40
| | | | | | | | | | | | | | | | | | | reproducible.patch refreshed for new version. 0001-change-shebang-to-python3.patch removed as not needed since upstream has removed the shebang lines. License-Update: src/pip/_vendor/html5lib/LICENSE: removed since it's not it new version src/pip/_vendor/chardet/LICENSE: file format modified, change St to Street src/pip/_vendor/pygments/LICENSE: Copyright year updated to 2022 (From OE-Core rev: d69f360bb48001a4ec9220c8f935bb5fe43b4f7a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: Improve reproducibilityRichard Purdie2022-02-251-0/+74
| | | | | | | | | | | | | | | Pip installed wheels are not reproducible currently. The direct_url files encode an installation path and the installed wheels compile the python files at their location, not their final install location which is incorrect. To fix this, simply disable the direct_urls and pass the "root" to the python compile function to strip that path out of the compiled files. (From OE-Core rev: 2c74d5346e7581949fbdebc4744c8317236221c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: Don't change shebangRichard Purdie2022-02-251-0/+28
| | | | | | | | | | 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: update 21.2.4 -> 21.3Alexander Kanavin2021-10-231-25/+12
| | | | | | | | | | Adjust patch as file is removed from source tree. (From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 20.0.2 -> 21.1.2Trevor Gamblin2021-06-271-30/+98
| | | | | | | | | | | | | | | | | | | 21.1.2 contains a fix for CVE-2021-3572 (https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b) The LICENSE.txt signature changed due to an update to the copyright dates, but the terms are the same. Also update 0001-change-shebang-to-python3.patch to cover all files in pip's src directory, since we need to ensure compatibility. Finally, fix the ordering of the "inherit" and "SRC_URI" lines so that devtool will correctly identify that there is a new version upstream. (From OE-Core rev: 2135167ca86ff9d112ef3e71f5320c775d075b6c) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: change shebang to python3Changqing Li2020-04-261-0/+60
we have offcially dropped python2, so it is possible that our code run on python3 only host, so change shebang to python3 to avoid error like: python: command not found (From OE-Core rev: 4a4fabaa8f6915513a3b1ef2268c402e96eca888) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>