Skip to content

vtk: force VTK_VERSION_SUFFIX empty to avoid a dev version - #1933

Open
luhenry wants to merge 1 commit into
mainfrom
vtk
Open

luhenry wants to merge 1 commit into
mainfrom
vtk

Conversation

@luhenry

@luhenry luhenry commented Sep 14, 2026

Copy link
Copy Markdown
Member
  • Package: vtk

CMake/vtkWheelPreparation.cmake defaults VTK_VERSION_SUFFIX to dev0, only skipped when $CI_COMMIT_TAG is set — upstream's own GitLab CI sets that automatically for tag-triggered pipelines. Our build runs on GitHub Actions from 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. Different root cause than the other version-pin PRs in this batch (asv/pynng/uharfbuzz/zlib-ng/nodejs-wheel-binaries) — those are a patch-dirtied-tree + setuptools_scm issue; this one is a CMake cache default gated on a GitLab-only CI variable.

Fix: add -DVTK_VERSION_SUFFIX= to the cmake configure args.

License: OK, unchanged.

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