Skip to content

Conversation

@guitargeek
Copy link
Contributor

@guitargeek guitargeek commented Nov 9, 2025

So far, the part of SOFIE that uses the C Python API was included in PyMVA for convenience, but the functionality is completely unrelated.

Moving this code to SOFIE itself means we can fully build and test SOFIE without enabling tmva-pymva.

The only subtelty is that we want to be able to disable these SOFIE features that require linking against libpython, because this is not always allowed (e.g. in the Python wheels). Therefore, this part is only built if we build also the other ROOT libraries that links against libpython besides PyMVA, wich is TPython.

@guitargeek guitargeek self-assigned this Nov 9, 2025
@guitargeek guitargeek changed the title [WIP][ci] Enable tmva-pymva to check with Python 3.14 and new torch [TMVA] Disentangle PyMVA and SOFIE Nov 9, 2025
The output with the version info when the module is found is very
useful.
@guitargeek guitargeek added the clean build Ask CI to do non-incremental build on PR label Nov 9, 2025
@guitargeek guitargeek changed the title [TMVA] Disentangle PyMVA and SOFIE [tmva][sofie] Disentangle PyMVA and SOFIE Nov 9, 2025
Also, fix the comparison of the status code retuned by the Python
invokation.
So far, the part of SOFIE that uses the C Python API was included in
PyMVA for convenience, but the functionality is completely unrelated.

Moving this code to SOFIE itself means we can fully build and test SOFIE
without enabling `tmva-pymva`.

The only subtelty is that we want to be able to disable these SOFIE
features that require linking against `libpython`, because this is not
always allowed (e.g. in the Python wheels). Therefore, this part is only
built if we build also the other ROOT libraries that links against
`libpython` besides PyMVA, wich is `TPython`.
This keyword argument is not relevant for defining the model and will
cause errors in newer Keras versions.
@github-actions
Copy link

github-actions bot commented Nov 9, 2025

Test Results

    21 files      21 suites   3d 17h 19m 36s ⏱️
 3 741 tests  3 741 ✅ 0 💤 0 ❌
76 716 runs  76 716 ✅ 0 💤 0 ❌

Results for commit 0305b56.

@guitargeek guitargeek marked this pull request as ready for review November 10, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR in:TMVA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant