Skip to content

[ci][wheels] Derive the wheel version from RVersion.hxx - #23203

Open
siliataider wants to merge 1 commit into
root-project:masterfrom
siliataider:macos-wheels-prep-3
Open

[ci][wheels] Derive the wheel version from RVersion.hxx#23203
siliataider wants to merge 1 commit into
root-project:masterfrom
siliataider:macos-wheels-prep-3

Conversation

@siliataider

Copy link
Copy Markdown
Contributor

This Pull request:

Changes or fixes:

The wheel version in pyproject.toml was hard-coded (0.1a14) and had to be edited by hand for every release. This replaces it with a scikit-build-core regex dynamic-metadata provider that parses ROOT's version macros from core/foundation/inc/ROOT/RVersion.hxx and appends a PEP 440 pre-release suffix a1.

Ex.: ROOT 6.42.02 → wheel 6.42.2a1.

Note

The a1a2 bump is manual and should only be used to re-publish a wheel for a ROOT version already on PyPI in case of issues during the first upload attempt; reset to a1 for the next ROOT release.

@siliataider
siliataider requested a review from dpiparo as a code owner August 31, 2026 13:54
@siliataider siliataider added the build-python-wheels Run the workflow to build Python wheels label Aug 31, 2026
@siliataider siliataider self-assigned this Aug 31, 2026
@siliataider
siliataider requested review from vepadulano and removed request for dpiparo August 31, 2026 13:54

@vepadulano vepadulano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM once the CI for wheels is green.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 16h 51m 25s ⏱️
 3 860 tests  3 857 ✅ 0 💤 3 ❌
79 557 runs  79 553 ✅ 1 💤 3 ❌

For more details on these failures, see this check.

Results for commit 5ba7d56.

@siliataider

Copy link
Copy Markdown
Contributor Author

The failing tests are unrelated, should be fixed after #23235

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.

2 participants