diff options
| author | Tim Orling <ticotimo@gmail.com> | 2023-02-03 09:50:25 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-04 17:02:10 +0000 |
| commit | 7aeaa145586c18b8157522ec2297f9ec11ecda4b (patch) | |
| tree | cc63d94e41e5f60aa259731a39e23aa4714fd3ee /meta/recipes-devtools/python/python3-poetry-core/deterministic.patch | |
| parent | e958163345825dc79e1e1deb8ccafb3978702753 (diff) | |
| download | poky-7aeaa145586c18b8157522ec2297f9ec11ecda4b.tar.gz | |
python3-poetry-core: upgrade 1.4.0 -> 1.5.0
* Drop deterministic.patch; merged https://github.com/python-poetry/poetry-core/pull/545
* Drop vendored pyparsing LICENSE; no longer vendored
https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#150---2023-01-27
(From OE-Core rev: 32921155acf776c91ee2fb002660b419512f0932)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-poetry-core/deterministic.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3-poetry-core/deterministic.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-devtools/python/python3-poetry-core/deterministic.patch b/meta/recipes-devtools/python/python3-poetry-core/deterministic.patch deleted file mode 100644 index 402ee53094..0000000000 --- a/meta/recipes-devtools/python/python3-poetry-core/deterministic.patch +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | builders/wheel: Ensure dist-info is written determinisically | ||
| 2 | |||
| 3 | glob() returns values in "on disk" order. To make the RECORD file | ||
| 4 | deterministic and consistent between builds we need to sort the | ||
| 5 | data before adding to the records list. | ||
| 6 | |||
| 7 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://github.com/python-poetry/poetry-core/pull/545] | ||
| 10 | |||
| 11 | Index: builders/wheel.py | ||
| 12 | =================================================================== | ||
| 13 | --- a/src/poetry/core/masonry/builders/wheel.py | ||
| 14 | +++ b/src/poetry/core/masonry/builders/wheel.py | ||
| 15 | @@ -294,7 +294,7 @@ class WheelBuilder(Builder): | ||
| 16 | |||
| 17 | def _copy_dist_info(self, wheel: zipfile.ZipFile, source: Path) -> None: | ||
| 18 | dist_info = Path(self.dist_info) | ||
| 19 | - for file in source.glob("**/*"): | ||
| 20 | + for file in sorted(source.glob("**/*") ): | ||
| 21 | if not file.is_file(): | ||
| 22 | continue | ||
| 23 | |||
