Temporarily disable python precompilation for py3.11
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: 278602456 Test: treehugger Change-Id: Idb206bb1d971e8c0fa556c75419623c3bc457898
This commit is contained in:
parent
1311c1af27
commit
b1094d602b
1 changed files with 2 additions and 1 deletions
|
@ -454,7 +454,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/278602456): precompilation temporarily disabled for python3.11 upgrade
|
||||
p.precompiledSrcsZip = p.srcsZip //p.precompileSrcs(ctx)
|
||||
}
|
||||
|
||||
func isValidPythonPath(path string) error {
|
||||
|
|
Loading…
Reference in a new issue