Skip to content

fix(pyproject.toml): add python_version marker to cibuildwheel and missing pytest-xdist in [dev]#560

Open
JalinWang wants to merge 2 commits into
alibaba:mainfrom
JalinWang:fix/dep-resolve-cibuildwheel
Open

fix(pyproject.toml): add python_version marker to cibuildwheel and missing pytest-xdist in [dev]#560
JalinWang wants to merge 2 commits into
alibaba:mainfrom
JalinWang:fix/dep-resolve-cibuildwheel

Conversation

@JalinWang

Copy link
Copy Markdown
Collaborator

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."

An example error message:
image

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."
@JalinWang JalinWang requested a review from Cuiyus July 8, 2026 03:44
@JalinWang JalinWang requested a review from feihongxu0824 as a code owner July 8, 2026 03:44
@JalinWang JalinWang changed the title fix: add python_version marker to cibuildwheel in test extras fix(pyproject.toml): add python_version marker to cibuildwheel and pytest-xdist in [dev] Jul 8, 2026
@JalinWang JalinWang changed the title fix(pyproject.toml): add python_version marker to cibuildwheel and pytest-xdist in [dev] fix(pyproject.toml): add python_version marker to cibuildwheel and missing pytest-xdist in [dev] Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant