| Message ID | 20261026135829.1760798-1-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | python3: add comment about when a patch will be obsolete | expand |
diff --git a/meta/recipes-devtools/python/python3/0001-prefer-valid-entrypoints.patch b/meta/recipes-devtools/python/python3/0001-prefer-valid-entrypoints.patch index ae3698fac47..525a2ca7000 100644 --- a/meta/recipes-devtools/python/python3/0001-prefer-valid-entrypoints.patch +++ b/meta/recipes-devtools/python/python3/0001-prefer-valid-entrypoints.patch @@ -6,6 +6,9 @@ Subject: [PATCH] prefer valid entrypoints When there are multiple distributions found and some of them are invalid, ensure that the entry_points() accessor puts valid dists first. +Note: this has been fixed differently upstream with importlib_metadata 5d253aec and +can be dropped when importlib_metadata 10.1.0 is synced into python itself. + Upstream-Status: Submitted [https://github.com/python/importlib_metadata/issues/534] Signed-off-by: Ross Burton <ross.burton@arm.com> ---
At some point, the standard library module importlib.metadata will be synced with the external importlib_metadata and this patch will fail to apply. Add a comment clarifying that after 10.1.0, it can simply be dropped. Signed-off-by: Ross Burton <ross.burton@arm.com> --- .../python/python3/0001-prefer-valid-entrypoints.patch | 3 +++ 1 file changed, 3 insertions(+)