Skip to content

Commit eccb91f

Browse files
hjmjohnsonclaude
andcommitted
DOC: Update Python packaging docs for Python >= 3.10 minimum
Update the minimum Python version requirement from 3.9 to 3.10 and modernize the wheel build examples from cp38/ITK 5.3 to cp310/ITK 6.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1662770 commit eccb91f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/docs/contributing/python_packaging.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Building ITK Python wheels requires the following:
2020
- CMake >= 3.16
2121
- Git
2222
- C++ Compiler (see [scikit-build platform specific requirements](https://scikit-build.readthedocs.io/en/latest/generators.html))
23-
- Python >= 3.9
23+
- Python >= 3.10
2424

2525
## Automated Platform Scripts
2626

@@ -40,11 +40,11 @@ git clone https://github.com/InsightSoftwareConsortium/ITKPythonPackage.git
4040

4141
pushd ITKPythonPackage
4242
export MANYLINUX_VERSION=2014
43-
./scripts/dockcross-manylinux-build-wheels.sh cp38
43+
./scripts/dockcross-manylinux-build-wheels.sh cp310
4444
[...]
4545

4646
ls -1 dist/
47-
itk-5.3.0.dev20231108-cp38-cp38m-manylinux2014_x86_64.whl
47+
itk-6.0.0.dev20260401-cp310-cp310-manylinux2014_x86_64.whl
4848
```
4949

5050
### macOS
@@ -61,11 +61,11 @@ Then, run [macpython-build-wheels.sh](https://github.com/InsightSoftwareConsorti
6161
git clone https://github.com/InsightSoftwareConsortium/ITKPythonPackage.git
6262
[...]
6363

64-
./scripts/macpython-build-wheels.sh cp38
64+
./scripts/macpython-build-wheels.sh cp310
6565
[...]
6666

6767
ls -1 dist/
68-
itk-5.3.0.dev20231108-cp38-cp38m-macosx_10_9_x86_64.whl
68+
itk-6.0.0.dev20260401-cp310-cp310-macosx_11_0_arm64.whl
6969
```
7070

7171
### Windows

0 commit comments

Comments
 (0)