Fixed dependencies in DaVinci when running pytest collect at compile time
This brings compatibility with future Gaudi versions (v39) and will thus fix errors in lhcb-gaudi-head
This brings compatibility with future Gaudi versions (v39) and will thus fix errors in lhcb-gaudi-head