iris-hep / analysis-grand-challenge

Repository dedicated to AGC preparations & execution
https://agc.readthedocs.io
MIT License
24 stars 39 forks source link

Importing of optional dependencies in utils #206

Closed alexander-held closed 9 months ago

alexander-held commented 1 year ago

Currently the utils module imports all its submodules. This leads to issues if libraries like servicex or cabinetry are not available on workers which execute coffea workloads. Those workers do not actually need some of these libraries installed, but the current setup will cause issues in that case. We should not import all utils submodules automatically to prevent such issues.

alexander-held commented 9 months ago

This should be resolved by #213.