From 62e49d58424f586b9629e19ecafc8c1617dd1aff Mon Sep 17 00:00:00 2001 From: David Minton Date: Fri, 18 Aug 2023 08:06:36 -0400 Subject: [PATCH] Added some lines to get distutils into the system to deal with a failed wheel build due to not finding a package using an old Python version. --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4b99eb862..44fc840e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,19 +5,19 @@ requires = [ "cmake>=3.5.0", "cython>=3.0.0", "ninja", - "pytest" + "pytest", + "distutils" ] build-backend = "setuptools.build_meta" [tool.cibuildwheel] -dependency-versions = "latest" test-requires = ["pytest","cython"] test-command = "pytest {package}/tests" [tool.cibuildwheel.linux] environment = {SKBUILD_CONFIGURE_OPTIONS="-DBUILD_SHARED_LIBS=OFF", FFLAGS="${FFLAGS} -fPIC", CFLAGS="${CFLAGS} -fPIC", LDFLAGS="${LDFLAGS} -fPIE", LIBS="-lgomp"} before-all = [ - "yum install wget m4 doxygen -y", + "yum install wget m4 doxygen python3-distutils-extra -y", "buildscripts/build_dependencies.sh", ]