From ecbd262ac47aa09e65725af30ae077f8e1b6996e Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 6 Dec 2022 14:43:47 +0100 Subject: [PATCH] dist: Always use manylinux2014 for Python 3.11+, add manylinux_2_28 --- direct/src/dist/commands.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/direct/src/dist/commands.py b/direct/src/dist/commands.py index 02e2285606..d36d95f374 100644 --- a/direct/src/dist/commands.py +++ b/direct/src/dist/commands.py @@ -233,7 +233,10 @@ class build_apps(setuptools.Command): 'macosx_10_6_x86_64', 'win_amd64', ] - if sys.version_info >= (3, 10): + if sys.version_info >= (3, 11): + # manylinux2010 is not offered for Python 3.11 anymore + self.platforms[0] = 'manylinux2014_x86_64' + elif sys.version_info >= (3, 10): # manylinux1 is not offered for Python 3.10 anymore self.platforms[0] = 'manylinux2010_x86_64' if sys.version_info >= (3, 8): @@ -1440,6 +1443,10 @@ class bdist_apps(setuptools.Command): 'manylinux_2_24_ppc64': ['gztar'], 'manylinux_2_24_ppc64le': ['gztar'], 'manylinux_2_24_s390x': ['gztar'], + 'manylinux_2_28_x86_64': ['gztar'], + 'manylinux_2_28_aarch64': ['gztar'], + 'manylinux_2_28_ppc64le': ['gztar'], + 'manylinux_2_28_s390x': ['gztar'], # Everything else defaults to ['zip'] }