Skip to content

COMP: Drop Python 3.9 from default wheel build targets#126

Closed
hjmjohnson wants to merge 1 commit intov6.0b01from
fix-notebook-python-version
Closed

COMP: Drop Python 3.9 from default wheel build targets#126
hjmjohnson wants to merge 1 commit intov6.0b01from
fix-notebook-python-version

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

Drop Python 3.9 from the default python3-minor-versions on the v6.0b01 branch, matching what main already has.

Most ITK 5.4+ remote module wheels declare requires-python >= "3.10" in pyproject.toml. The test-linux-notebooks job picks python3-minor-versions[0] as its Python — with the old default ["9","10","11"], that's Python 3.9, which can't install >=3.10 wheels.

Affected modules

Any module referencing @v6.0b01 with test-notebooks: true fails:

Error:

ERROR: Package 'itk-splitcomponents' requires a different Python: 3.9.25 not in '>=3.10'

Most ITK 5.4+ remote module wheels declare requires-python >= 3.10
in pyproject.toml. The test-linux-notebooks job picks the first
element of python3-minor-versions ([0]) as its Python version.
With the old default ["9","10","11"], this meant installing
the built wheel into Python 3.9, which fails:

  ERROR: Package 'itk-splitcomponents' requires a different Python:
         3.9.25 not in '>=3.10'

The main branch already fixed this (default ["10","11"]).
Backport the same change to v6.0b01 so modules referencing
@v6.0b01 get working notebook tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hjmjohnson
Copy link
Copy Markdown
Member Author

This change is inline with many other remote module and ITK changes to drop python 3.9

@dzenanz dzenanz requested a review from thewtex April 13, 2026 14:12
@hjmjohnson
Copy link
Copy Markdown
Member Author

Closing — the Python 3.9 drop was already merged upstream. Branch was 19 commits behind main; after rebase, the single commit was detected as already applied.

@hjmjohnson hjmjohnson closed this Apr 13, 2026
@hjmjohnson hjmjohnson reopened this Apr 13, 2026
@hjmjohnson hjmjohnson closed this Apr 13, 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.

2 participants