Skip to content

Commit 374609b

Browse files
kludge to address #7232, probably superseeded by planned revision to setup/pypi
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent af1f0e3 commit 374609b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/api/python/setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def run(self):
277277
# linux builds should be built in the centos 5 vm for maximum compatibility
278278
# see https://github.com/pypa/manylinux
279279
# see also https://github.com/angr/angr-dev/blob/master/admin/bdist.py
280-
plat_name = 'manylinux2014_' + platform.machine()
280+
plat_name = 'manylinux_2_28_' + platform.machine()
281281
elif 'mingw' in name:
282282
if platform.architecture()[0] == '64bit':
283283
plat_name = 'win_amd64'
@@ -296,7 +296,7 @@ def run(self):
296296
)
297297
elif distos == 'glibc':
298298
if arch == 'x64':
299-
plat_name = 'manylinux2014_x86_64'
299+
plat_name = 'manylinux_2_28_x86_64'
300300
elif arch == 'arm64' or arch == 'aarch64':
301301
# context on why are we match on arm64
302302
# but use aarch64 on the plat_name is
@@ -305,9 +305,9 @@ def run(self):
305305
# so using the currently supported arm64
306306
# build and simply rename it to aarch64
307307
# see full context on #7148
308-
plat_name = 'manylinux2014_aarch64'
308+
plat_name = 'manylinux_2_28_aarch64'
309309
else:
310-
plat_name = 'manylinux2014_i686'
310+
plat_name = 'manylinux_2_28_i686'
311311
elif distos == 'linux' and os_id == 'alpine':
312312
if arch == 'x64':
313313
plat_name = 'musllinux_1_1_x86_64'

0 commit comments

Comments
 (0)