Purity and generalized chain conditions