Delay XRootD import to only require it if an eos file is requested
This MR delays the requirement of XRootD in utils.py
. This allows Allen standalone to only require xrootd if reading files from eos, which is not really a requirement in most cases.
The motivation for this change is to allow macos compatibility in Allen, as there is no obvious procedure to install xrootd python bindings under macos.
Closes Allen#372 (closed)
Merge request reports
Activity
FYI @graven
added RTA label
- Resolved by Software for LHCb
/ci-test
added ci-test-triggered label
- [2022-09-21 15:28] Validation started with lhcb-master-mr#5701
The dd4hep builds are not expected to function until either Allen!956 (merged) is merged (for sequences that use only subdetectors that are ready for DD4hep) or the respective DD4hep detector elements are implemented.
A segfault is of course not good, so failing more gracefully is something that should be looked at, but not as part of this MR.
assigned to @raaij
mentioned in commit aac53cf2
unassigned @raaij
assigned to @rmatev