Skip to content

[MAINT] Pin scikit-build below 1.0 in CI - #2438

Open
ndgrigorian wants to merge 1 commit into
masterfrom
maint/pin-scikit-build
Open

ndgrigorian wants to merge 1 commit into
masterfrom
maint/pin-scikit-build

Conversation

@ndgrigorian

Copy link
Copy Markdown
Collaborator

This PR pins scikit-build<1.0 in the workflows that build dpctl with setup.py

scikit-build 1.0.0 is a compatibility shim over scikit-build-core, and its setup.py build_ext no longer accepts scikit-build's options, so the coverage and both OS compiler jobs fail on master (seen on gh-2402):

setup.py:18: DeprecationWarning: skbuild.setuptools_wrap is a compatibility shim for scikit-build <1.0; it exposes nothing. Port to scikit-build-core APIs.
error: option --generator not recognized

The pyproject.toml pin does not apply, as these jobs call setup.py directly. The docs, Coverity and backfill docs workflows install it the same way, and the examples environments in intel-ci.yml are pinned too, although conda-forge is still at 0.19.0

This is a stopgap until gh-2345 moves the build to scikit-build-core; backfill-docs.yml keeps the pin after that, as it builds old tags

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

scikit-build 1.0 is a shim over scikit-build-core whose setup.py build_ext
rejects --generator and --build-type.
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

@ndgrigorian ndgrigorian mentioned this pull request Dec 2, 2026
5 of 8 tasks
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 75.173%. remained the same — maint/pin-scikit-build into master

This branch has not been deployed

No deployments
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