From 47c682101fe3097533e0b8d679537a3134ecec99 Mon Sep 17 00:00:00 2001
From: Patrick Cloke <clokep@users.noreply.github.com>
Date: Fri, 17 Nov 2023 07:42:49 -0500
Subject: [PATCH] Fix building wheels in CI. (#16653)

pip was using a vendored setuptools that was incompatible with
Python 3.12. Upgrading cibuildwheels to a version with a newer
version of pip (and thus a newer version of setuptools) fixes
the issue.
---
 .github/workflows/release-artifacts.yml | 2 +-
 changelog.d/16653.misc                  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 changelog.d/16653.misc

diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml
index fed3a41586..8019f4c250 100644
--- a/.github/workflows/release-artifacts.yml
+++ b/.github/workflows/release-artifacts.yml
@@ -130,7 +130,7 @@ jobs:
           python-version: "3.x"
 
       - name: Install cibuildwheel
-        run: python -m pip install cibuildwheel==2.9.0
+        run: python -m pip install cibuildwheel==2.16.2
 
       - name: Set up QEMU to emulate aarch64
         if: matrix.arch == 'aarch64'
diff --git a/changelog.d/16653.misc b/changelog.d/16653.misc
new file mode 100644
index 0000000000..9ee7b27226
--- /dev/null
+++ b/changelog.d/16653.misc
@@ -0,0 +1 @@
+Fix building of wheels in CI.
-- 
GitLab