From e437d3d4abc5f7c42a078717005dd3873415dc78 Mon Sep 17 00:00:00 2001 From: o-murphy Date: Thu, 9 Jul 2026 17:47:05 +0300 Subject: [PATCH] pyproject.toml: build only cp39 wheels per platform in cibuildwheel --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a1b6179..704c251 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,10 @@ files = "src/libusb_package" ignore_missing_imports = true [tool.cibuildwheel] +# The wheel is tagged py3-none- by libusb_bdist_wheel.get_tag() in setup.py (the extension +# doesn't touch the CPython C API), so it's compatible with any CPython 3.9+ build, including +# free-threaded. One interpreter per platform/arch is enough; python_requires = >=3.9 in setup.cfg. +build = "cp39-*" before-build = "python -m pip install --upgrade pip wheel setuptools setuptools_scm" build-verbosity = 1