From 7ca4d103891b6a508266d8b37def22de535a1811 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 7 Jan 2025 20:14:25 -0500 Subject: Temporarily disable python precompilation for py3.13 The precompilation logic assumes that the source tree matches the python prebuilts, which is not necessarily true. This very much breaks during major version upgrades, so just disable precompilation temporarily while we generate new prebuilts. Bug: 388344853 Test: treehugger Change-Id: I8d412c5cc112566d1bdad1f03ade606331dacb02 --- python/python.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/python.go b/python/python.go index 09af62ea5..3dbffafb8 100644 --- a/python/python.go +++ b/python/python.go @@ -490,7 +490,8 @@ func (p *PythonLibraryModule) GenerateAndroidBuildActions(ctx android.ModuleCont // generate the zipfile of all source and data files p.srcsZip = p.createSrcsZip(ctx, pkgPath) - p.precompiledSrcsZip = p.precompileSrcs(ctx) + // TODO(b/388344853): precompilation temporarily disabled for python3.13 upgrade + p.precompiledSrcsZip = p.srcsZip //p.precompileSrcs(ctx) android.SetProvider(ctx, PythonLibraryInfoProvider, PythonLibraryInfo{ SrcsPathMappings: p.getSrcsPathMappings(), -- cgit v1.2.3-59-g8ed1b