summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2025-01-07 20:14:25 -0500
committer Dan Willemsen <dwillemsen@google.com> 2025-02-03 20:28:46 -0500
commit7ca4d103891b6a508266d8b37def22de535a1811 (patch)
tree21cdbfae498e2d61b28d070bba50aab1a2fad240 /python
parenteb6a11412f1ee4df3fd7a7f9739920d45dc4ce45 (diff)
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
Diffstat (limited to 'python')
-rw-r--r--python/python.go3
1 files changed, 2 insertions, 1 deletions
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(),