Getting dependencies working with partitions