Skip to content
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

[RF] Move RooFit pythonizations to roofit and make them pip installable #16608

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guitargeek
Copy link
Contributor

@guitargeek guitargeek commented Oct 5, 2024

This change is improving the development workflow, now how users are getting ROOT and RooFit!

This will help with more modular RooFit builds, and it's also a big step
towards making the RooFit developer experience for the pythonizations
more pleasant.

The goal is that people can contribute to the RooFit pythonizations
without having to interact with any CMake or C++ compilation, which was
requested by our power users.

Testing changes to the pythonizations is easy now, because they can be
installed easily with pip on top of an existing ROOT install, in which
case this install will override the RooFit pythonizations shipped with
ROOT.

This makes developing the pythonizations much easier!

A README is added to roofit/pythonizations that outlines the steps as follows:

Therefore, the easiest and recommended way to develop RooFit pythonizations is as follows:

  1. Make sure ROOT and RooFit are installed on your system
  2. Clone the ROOT repository and go inside the roofit/pythonizations directory
  3. Install with pip install -e . for an editable install (virtual environment recommended)
  4. Any changes to the RooFit pythonizations will be in effect immediately without recompiling or installing anything!
  5. Make your changes, open PR to ROOT repository

@guitargeek guitargeek self-assigned this Oct 5, 2024
@guitargeek guitargeek added the clean build Ask CI to do non-incremental build on PR label Oct 5, 2024
@guitargeek guitargeek changed the title [RF] Move RooFit pythonizations into roofit subdirectory [RF] Move RooFit pythonizations to roofit and make them pip installable Oct 5, 2024
Copy link

github-actions bot commented Oct 5, 2024

Test Results

    17 files      17 suites   4d 3h 56m 15s ⏱️
 2 714 tests  2 713 ✅ 0 💤 1 ❌
43 530 runs  43 529 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit a77b9a9.

♻️ This comment has been updated with latest results.

This will help with more modular RooFit builds, and it's also a big step
towards making the RooFit developer experience for the pythonizations
more pleasant.

The goal is that people can contribute to the RooFit pythonizations
without having to interact with any CMake or C++ compilation, which was
requested by our power users.

Testing changes to the pythonizations is easy now, because they can be
installed easily with pip on top of an existing ROOT install, in which
case this install will override the RooFit pythonizations shipped with
ROOT.

This makes developing the pythonizations *much* easier!
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:Python Interface in:RooFit/RooStats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant