The consumer price index (CPI) in Canada rose 3.3 percent year on year in July, according to data from Statistics Canada on Tuesday.