From 15e8c646fce32720dc72ad92d0b16920d60d91a6 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Mon, 14 Sep 2026 17:12:16 +0200 Subject: [PATCH] vtk: force VTK_VERSION_SUFFIX empty to avoid a dev version CMake/vtkWheelPreparation.cmake defaults VTK_VERSION_SUFFIX to 'dev0' and only skips it when $CI_COMMIT_TAG is set - upstream's own GitLab CI sets that for tag-triggered pipelines. Our GitHub Actions build checks out the exact v9.7.0 tag with a clean, unpatched tree, but without this override every wheel still gets versioned 9.7.0.dev0 instead of the clean 9.7.0. --- .github/workflows/build-vtk.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-vtk.yml b/.github/workflows/build-vtk.yml index 1c7d7484ce..616105437f 100644 --- a/.github/workflows/build-vtk.yml +++ b/.github/workflows/build-vtk.yml @@ -144,6 +144,12 @@ jobs: -DVTK_JPEG_ENABLE_SIMD=OFF -DPython3_EXECUTABLE="${python_exe}" -DPython3_FIND_STRATEGY=LOCATION + # CMake/vtkWheelPreparation.cmake defaults this to "dev0" and only + # skips it when $CI_COMMIT_TAG is set - upstream's own GitLab CI + # sets that for tag-triggered pipelines, but we build on GitHub + # Actions from the exact v9.7.0 tag with a clean tree, so without + # this override every wheel gets versioned 9.7.0.dev0 instead. + -DVTK_VERSION_SUFFIX= ) case "${PYTHON_TAG}" in