The invention relates to novel heterocyclic compounds of the formula (I) in which all of the variables are as defined in the specification to their preparation to their medical use in particular to their use in the treatment of cancer and neurodegenrative disorders and to medicaments comprising them.