Skip to content

[TMVA] Re-enable many tutorials for which we lost test coverage (PyMVA, SOFIE, RBatchGenerator) #19123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 23, 2025

Conversation

guitargeek
Copy link
Contributor

@guitargeek guitargeek commented Jun 22, 2025

In PR #17098, the check in tutorials/CMakeLists.txt if ROOT is built with PyMVA was accidentally corrupted by also renaming the build option from tmva-pymva to machine_learning-pymva.

This resulted in the dependencies of the PyMVA, SOFIE, and RBatchGenerator tutorials never being looked for, and then the tutorials were always vetoed because the dependencies were not found. Meaning, we didn't run these tutorials since November last year.

This commit fixes that by always checking for the Python modules.

In PR root-project#17098, the check in
`tutorials/CMakeLists.txt` if ROOT is built with PyMVA was accidentally
corrupted by also renaming the build option from `tmva-pymva` to
`machine_learning-pymva`.

This resulted in the dependencies of the PyMVA, SOFIE, and
RBatchGenerator tutorials never being looked for, and then the tutorials
were always vetoed because the dependencies were not found. Meaning, we
didn't run these tutorials since November last year.

This commit fixes that by always checking for the Python modules.
This makes the configuration less error prone.
@guitargeek guitargeek changed the title [TMVA] Re-enable PyMVA tutorials as tests by fixing Python module checks [TMVA] Re-enable many tutorials for which we lost test coverage Jun 22, 2025
@guitargeek guitargeek changed the title [TMVA] Re-enable many tutorials for which we lost test coverage [TMVA] Re-enable many tutorials for which we lost test coverage (PyMVA, SOFIE, RBatchGenerator) Jun 22, 2025
Copy link

Test Results

    20 files      20 suites   4d 2h 9m 25s ⏱️
 3 042 tests  3 041 ✅ 0 💤 1 ❌
59 059 runs  59 058 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 0aed3a1.

@dpiparo dpiparo self-requested a review June 23, 2025 07:24
@guitargeek guitargeek merged commit e55a4ea into root-project:master Jun 23, 2025
21 of 25 checks passed
@guitargeek guitargeek deleted the pymva_tutorials branch June 23, 2025 07:42
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