]> code.ossystems Code Review - openembedded-core.git/commit
python3-pip: Improve reproducibility
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Feb 2022 14:49:30 +0000 (14:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Feb 2022 15:06:46 +0000 (15:06 +0000)
commit2c74d5346e7581949fbdebc4744c8317236221c3
tree7743f61b011a2b2fdb88f51a2f3526abc42c6f5d
parent5b58328b610273fea42c144cd590e638c0dc1e4e
python3-pip: Improve reproducibility

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-pip/reproducible.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3-pip_22.0.3.bb