REVERTME: dont import functools reduce

this is not compatible with 2.5
revert when we drop support for 2.5

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>