Browse Source

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.
Patrick Cloke 5 months ago
parent
commit
47c682101f
2 changed files with 2 additions and 1 deletions
  1. 1 1
      .github/workflows/release-artifacts.yml
  2. 1 0
      changelog.d/16653.misc

+ 1 - 1
.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'

+ 1 - 0
changelog.d/16653.misc

@@ -0,0 +1 @@
+Fix building of wheels in CI.