From bac182993d08dc6298c1c9c89afdbfa0172a92e3 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Mon, 18 Apr 2022 23:08:49 -0500
Subject: [PATCH] Wheel buid: allow 3.10, fix git config

---
 scripts/build-wheels.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/build-wheels.sh b/scripts/build-wheels.sh
index c722c716..34c8cd71 100755
--- a/scripts/build-wheels.sh
+++ b/scripts/build-wheels.sh
@@ -33,6 +33,8 @@ function stop_spinner {
 
 #start_spinner
 
+git config --global --add safe.directory /io
+
 curl https://tiker.net/tmp/.tmux.conf
 yum install -y git yum openssl-devel ruby
 
@@ -55,9 +57,6 @@ cat /deps/ocl-icd/COPYING >> /io/LICENSE
 
 # Compile wheels
 for PYBIN in /opt/python/*/bin; do
-    if [[ "${PYBIN}" == *cp310* ]]; then
-        continue
-    fi
     # Build with the oldest numpy available to be compatible with newer ones
     "${PYBIN}/pip" install oldest-supported-numpy pybind11 mako
     "${PYBIN}/pip" wheel /io/ -w wheelhouse/ --no-deps
-- 
GitLab