bindings: python: generate CPython 3.13 wheels
authorVincent Fazio <vfazio@xes-inc.com>
Wed, 6 Nov 2024 14:22:48 +0000 (08:22 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 12 Nov 2024 12:59:48 +0000 (13:59 +0100)
Support for CPython 3.13 was added to cibuildwheel in 2.21.3 and
advertised by build in 1.2.2.post1.

Update the dependencies used by generate_pypi_artifacts.sh so CPython
3.13 wheels are now generated.

Closes: https://github.com/brgl/libgpiod/issues/106
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Link: https://lore.kernel.org/r/20241106142248.305219-1-vfazio@xes-inc.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/generate_pypi_artifacts.sh

index c2fb79f3d1115d5001f57c3b749382027301c399..d5dbd315854d4c82e477eec17bf7eb38aa442ab8 100755 (executable)
@@ -108,8 +108,7 @@ python3 -m "${venv_module}" .venv
 venv_python="${temp_dir}/.venv/bin/python"
 
 # Install build dependencies
-# cibuildwheel 2.18.1 pins the toolchain containers to 2024-05-13-0983f6f
-${venv_python} -m pip install build==1.2.1 cibuildwheel==2.18.1
+${venv_python} -m pip install build==1.2.2.post1 cibuildwheel==2.21.3
 
 LIBGPIOD_VERSION=${src_version} ${venv_python} -m build --sdist --outdir ./dist "${source_dir}"
 sdist=$(find ./dist -name '*.tar.gz')