Skip to content

Commit 2491444

Browse files
committed
Use Python 3.11 on arm-32-linux
1 parent 676573d commit 2491444

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

master/master.cfg

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,12 @@ class HalideBuilder(BuilderConfig):
225225

226226
def python_version(self):
227227
base_version = "3.10"
228-
if self.bits == 32 and self.os == "windows":
228+
if self.arch == "x86" and self.bits == 32 and self.os == "windows":
229229
return f"{base_version}-x86"
230-
if self.bits == 32 and self.os == "linux":
231-
return f"{base_version}-armv7-gnueabihf"
230+
if self.arch == "arm" and self.bits == 32 and self.os == "linux":
231+
# piwheels only provides odd numbered Python versions
232+
# for some reason.
233+
return "3.11-armv7-gnueabihf"
232234
return base_version
233235

234236
# Serialization-via-JIT testing could run anywhere, but we limit it

0 commit comments

Comments
 (0)