Read the decree document here (Spanish)
There are a number of reports on the development.
First reported by Jon Hiltz at Marijuana.com, the decree arrived after months of speculation. Peña Nieto was once a vehement opponent of cannabis legalization, but has since called for a re-examination of global drug policy after a nationwide public debate on legalization in early 2016. “So far, the solutions [to control drugs and crime] implemented by the international community have been frankly insufficient,” Peña Nieto told the 2016 United Nations General Assembly Special Sessions in April 2016. “We must move beyond prohibition to effective prevention.”