Repository navigation
Build dpctl with scikit-build-core - #2345
Open
ndgrigorian wants to merge 10 commits into
Open
ndgrigorian wants to merge 10 commits into
ndgrigorian wants to merge 10 commits into
Conversation
ndgrigorian
force-pushed
the
feature/build-with-scikit-build-core
branch
from
November 5, 2026 17:43
fd7a5c2 to
2f74475
Compare
Replace the setup.py build (which uses skbuild.setuptools_wrap internals) with scikit-build-core, and versioneer with setuptools-scm. Closes #2341. Assisted-by: ClaudeCode:claude-opus-5-5
Assisted-by: ClaudeCode:claude-opus-5-5
Find installed data next to a compiled module, since editable installs keep Python files in the source tree. Clear the VS generator platform and toolset in bld.bat, which Ninja rejects. Assisted-by: ClaudeCode:claude-opus-5-5
1 of 8 tasks
ndgrigorian
force-pushed
the
feature/build-with-scikit-build-core
branch
from
December 2, 2026 22:59
2f74475 to
1c2f892
Compare
The loop over the undefined _sources set no options.
They install with the extension, so example.py and the tests find them in editable and regular installs alike.
Install scikit-build-core in the Windows open-source compiler workflow.
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2345/index.html |
ndgrigorian
force-pushed
the
feature/build-with-scikit-build-core
branch
from
December 2, 2026 23:03
1c2f892 to
0357abf
Compare
Collaborator
|
Sorry about the breakage! But I did give several months warning. :) |
Collaborator
Author
It's no problem, your commits were quite helpful regardless of anything (especially with versioning). The PR to pin in CI for the time being is also open. :) |
ndgrigorian
marked this pull request as ready for review
December 2, 2026 23:14
ndgrigorian
requested review from
antonwolfy and
vlad-perevezentsev
as code owners
December 2, 2026 23:14
With the Visual Studio generator, the default on Windows, CMake uses MSVC regardless of CC and CXX.
ndgrigorian
force-pushed
the
feature/build-with-scikit-build-core
branch
from
December 2, 2026 23:33
2d16bc4 to
e520a55
Compare
With -w, cython writes its depfile relative to the source directory, which fails when the temporary build directory is on another drive.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes building dpctl instead with
scikit-build-core, upgrading fromscikit-buildto the more modern build system, and computing the version withsetuptools-scminstead ofversioneerIt includes the commits from gh-2388 (by @henryiii), rebased onto master, with the conda recipe, CHANGELOG and workflows adapted to the changes on master since; the examples are built with
scikit-build-coreas well, with a minimalpyproject.tomleach, anduse_dpctl_sycl_kernelinstalls its SPIR-V resources inside the packagescikit-build 1.0 broke the
setup.py build_extbuilds in CI; gh-2438 pins it below 1.0 until this PR is merged