pip install ROOT: Experiences making a complex multilanguage package accessible for Python users

Saved in:
Bibliographic Details
Published in:EPJ Web of Conferences vol. 337 (2025)
Main Author: Padulano, Vincenzo Eduardo
Other Authors: Rembser, Jonas
Published:
EDP Sciences
Subjects:
Online Access:Citation/Abstract
Full Text - PDF
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Abstract:ROOT is a software toolkit at the core of LHC experiments and High Energy and Nuclear Physics (HENP) collaborations worldwide, widely used by the community and in continuous development with it. The package is available through many channels that cater different types of users with different needs. This ranges from software releases (called LCG stacks) provided via a distributed file system developed at CERN (CVMFS) for all HENP users to benefit, to pre-built binaries available on the three major platforms (Linux, MacOS, Windows), to more specialised packaging systems such as Homebrew, Snap, conda. The last example is one of the main systems to distribute software to a Python user base, particularly beneficial for complex environments with realworld scientific applications in mind such as those found in HENP. Nonetheless, a conda package installer tool can’t be assumed to exist on a machine if Python is installed. This in turn adds an additional heavyweight dependency for both the user and the packager. Instead, the standard Python implementation defaults to using pip as a package installer. This technology, together with the Python Package Index (PyPI), distributes many Python packages and has the advantage of providing a lightweight path to downstream development of a package with some upstream Python dependencies. This contribution highlights the steps required towards making pip install ROOT possible, demonstrating its availability as an early-stage release, and discussing some of the unique challenges of delivering a highly-performant multi-language software via the standard Python packaging system.
ISSN:2101-6275
2100-014X
DOI:10.1051/epjconf/202533701096
Source:Advanced Technologies & Aerospace Database