Skip to content

[build] Migrate build backend to scikit-build-core#22645

Open
jase231 wants to merge 2 commits into
root-project:masterfrom
jase231:jserwe_scikit_build_core
Open

[build] Migrate build backend to scikit-build-core#22645
jase231 wants to merge 2 commits into
root-project:masterfrom
jase231:jserwe_scikit_build_core

Conversation

@jase231

@jase231 jase231 commented Jun 17, 2026

Copy link
Copy Markdown

This Pull request:

Migrates the Python build backend from setuptools to scikit-build-core, which is built for CMake. This change entirely eliminates the need for setup.py, moving all wheel build config into pyproject.toml.

Changes or fixes:

  • Replaced setuptools with scikit-build-core
    • Wheel-specific config and defines are now passed directly to the build system in pyproject.toml thanks to scikit-build-core's CMake integration
  • Moves alpha version warning into a version-conditional check in __init__.py to avoid injecting the warning code at build time
  • Increases the ROOT wheel distribution's version to 0.1a14
  • Fixes several issues that made linking against the wheel-provided ROOT installation challenging:
    • Eliminates the mock_site_packages paths that previously ended up hardcoded into CMake configs
    • Fixes mysterious missing PCM errors

Checklist:

  • tested changes locally (successfully produced wheels and ran AGC without issue)
  • updated the docs (not necessary as far as I can tell)

@vepadulano vepadulano added the build-python-wheels Run the workflow to build Python wheels label Jun 17, 2026
@vepadulano vepadulano requested a review from siliataider June 17, 2026 12:59
@github-actions

Copy link
Copy Markdown

Test Results

    19 files      19 suites   2d 20h 45m 42s ⏱️
 3 865 tests  3 864 ✅ 0 💤 1 ❌
66 302 runs  66 301 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 966e205.

@jase231 jase231 force-pushed the jserwe_scikit_build_core branch from 72ee658 to 20e4743 Compare June 18, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-python-wheels Run the workflow to build Python wheels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants