From 3001062fd1885b0448b2bcdb1fe1e346e4c48760 Mon Sep 17 00:00:00 2001 From: mayeut Date: Mon, 13 May 2024 08:28:31 +0200 Subject: [PATCH] fix: use `sysconfig` rather than `distutils` in tests/manylinux-check.py --- tests/manylinux-check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/manylinux-check.py b/tests/manylinux-check.py index ad84347a7..980fd9863 100644 --- a/tests/manylinux-check.py +++ b/tests/manylinux-check.py @@ -5,7 +5,7 @@ def is_manylinux1_compatible(): # Only Linux, and only x86-64 / i686 - from distutils.util import get_platform + from sysconfig import get_platform if get_platform() not in ["linux-x86_64", "linux-i686"]: return False @@ -23,7 +23,7 @@ def is_manylinux1_compatible(): def is_manylinux2010_compatible(): # Only Linux, and only x86-64 / i686 - from distutils.util import get_platform + from sysconfig import get_platform if get_platform() not in ["linux-x86_64", "linux-i686"]: return False @@ -41,7 +41,7 @@ def is_manylinux2010_compatible(): def is_manylinux2014_compatible(): # Only Linux, and only supported architectures - from distutils.util import get_platform + from sysconfig import get_platform if get_platform() not in [ "linux-x86_64", "linux-i686",