diff mbox series

python3-sphinx: remove obsolete __pycache__ deletion

Message ID 20261119145907.3851749-1-ross.burton@arm.com
State Under Review
Headers show
Series python3-sphinx: remove obsolete __pycache__ deletion | expand

Commit Message

Ross Burton Nov. 19, 2026, 2:59 p.m. UTC
The pyc files are reproducible since Python 3.11[1], so this workaround
is no longer needed.

[1] cpython 33d95c6facd ("bpo-37596: Make `set` and `frozenset`
    marshalling deterministic (GH-27926)")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-sphinx_9.2.0.bb | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb b/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb
index fde0777022d..91240e52cb0 100644
--- a/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_9.2.0.bb
@@ -10,11 +10,6 @@  SRC_URI += "file://0001-Revert-singlehtml-deprecate-the-fix_refuris-helper-f.pat
 
 inherit python_flit_core pypi
 
-do_install:append () {
-	# The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?)
-	rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
-}
-
 RDEPENDS:${PN} = "\
     python3-alabaster \
     python3-babel \