diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/deterministic_imports.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/deterministic_imports.patch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3/deterministic_imports.patch b/meta/recipes-devtools/python/python3/deterministic_imports.patch index 2de6ae2e98..9ae4af36ec 100644 --- a/meta/recipes-devtools/python/python3/deterministic_imports.patch +++ b/meta/recipes-devtools/python/python3/deterministic_imports.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 039d5e652796b55f1132afa568c7432b6ed89afd Mon Sep 17 00:00:00 2001 | 1 | From 38e732371ac234c3f0e6310d6dbc7ddc7f458535 Mon Sep 17 00:00:00 2001 |
| 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 3 | Date: Fri, 27 May 2022 17:05:44 +0100 | 3 | Date: Fri, 27 May 2022 17:05:44 +0100 |
| 4 | Subject: [PATCH] python3: Ensure stale empty python module directories don't | 4 | Subject: [PATCH] python3: Ensure stale empty python module directories don't |
| @@ -13,13 +13,12 @@ As a result, patch this to a behaviour which works for us. | |||
| 13 | 13 | ||
| 14 | Upstream-Status: Submitted [https://github.com/python/cpython/issues/120492; need to first talk to upstream to see if they'll take one or both fixes] | 14 | Upstream-Status: Submitted [https://github.com/python/cpython/issues/120492; need to first talk to upstream to see if they'll take one or both fixes] |
| 15 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | 15 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 16 | |||
| 17 | --- | 16 | --- |
| 18 | Lib/importlib/metadata/__init__.py | 9 ++++++++- | 17 | Lib/importlib/metadata/__init__.py | 9 ++++++++- |
| 19 | 1 file changed, 8 insertions(+), 1 deletion(-) | 18 | 1 file changed, 8 insertions(+), 1 deletion(-) |
| 20 | 19 | ||
| 21 | diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py | 20 | diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py |
| 22 | index 82e0ce1..969cac4 100644 | 21 | index e6ca178..ac5a75b 100644 |
| 23 | --- a/Lib/importlib/metadata/__init__.py | 22 | --- a/Lib/importlib/metadata/__init__.py |
| 24 | +++ b/Lib/importlib/metadata/__init__.py | 23 | +++ b/Lib/importlib/metadata/__init__.py |
| 25 | @@ -710,7 +710,14 @@ class Lookup: | 24 | @@ -710,7 +710,14 @@ class Lookup: |
