The dict used in this recipe doesn't write into the cache consistently, work
around it until this issue is resolved in python upstream (similar to frozenset
issues).

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-devtools/python/python3-sphinx_4.4.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb 
b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
index 225e7737f60..97ec2619cb9 100644
--- a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
@@ -10,6 +10,12 @@ SRC_URI[sha256sum] = 
"6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0
 
 inherit setuptools3 pypi
 
+ 
+do_install:append () {
+       # The cache format of "{None, 'en', 'ja'}" doesn't seem to be 
consistent (dict ordering?)
+       rm 
${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
+}
+
 RDEPENDS:${PN} = "\
     python3-packaging python3-docutils python3-requests \
     python3-imagesize python3-alabaster python3-jinja2 \
-- 
2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163428): 
https://lists.openembedded.org/g/openembedded-core/message/163428
Mute This Topic: https://lists.openembedded.org/mt/89850499/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to