From 7965fe31ed0a5bb21d9a21dc90455d64195d0319 Mon Sep 17 00:00:00 2001 From: Jalin Wang Date: Wed, 8 Jul 2026 11:41:58 +0800 Subject: [PATCH 1/2] fix: add python_version marker to cibuildwheel in test extras uv/poetry/pdm resolves dependencies for all Python versions in requires-python (>=3.9), not just the active interpreter. cibuildwheel 3.4.0 requires Python>=3.11, so it must be gated with an environment marker to avoid resolution failures on Python 3.9/3.10." --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4f7add507..63bd4d8fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-cov >=4.1", "pytest-mock >=3.12", "pytest-xdist >=3.5", - "cibuildwheel == 3.4.0", + "cibuildwheel == 3.4.0; python_version >= '3.11'", ] docs = [ "mkdocs >=1.5", @@ -71,7 +71,7 @@ dev = [ "pytest >=8.0", "pytest-cov >=4.1", "pytest-mock >=3.12", - "cibuildwheel == 3.4.0", + "cibuildwheel == 3.4.0; python_version >= '3.11'", # Inherit docs deps "mkdocs >=1.5", "mkdocs-material >=9.5", From 809f6f7f34f17529d613f5aa8c393b6ef3c3857b Mon Sep 17 00:00:00 2001 From: Jalin Wang Date: Wed, 8 Jul 2026 14:47:15 +0800 Subject: [PATCH 2/2] fix: add "pytest-xdist >=3.5", --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 63bd4d8fe..4a32d7816 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,7 @@ dev = [ "pytest >=8.0", "pytest-cov >=4.1", "pytest-mock >=3.12", + "pytest-xdist >=3.5", "cibuildwheel == 3.4.0; python_version >= '3.11'", # Inherit docs deps "mkdocs >=1.5",