Apple today added the Mid 2012 model of the 13-inch MacBook Pro to its obsolete products list worldwide, according to its website.
Released in June 2012, this 13-inch MacBook Pro model was the last Mac with a built-in CD/DVD drive sold by Apple, and it remained for sale until October 2016 as a lower-priced option. Apple continues to sell an external SuperDrive for customers who need a CD/DVD drive, but a USB-C adapter is required to use it with modern MacBooks.
Apple considers a device to be "technologically obsolete" once more than seven years have passed since the company last distributed it for sale. Apple says MacBooks "may be eligible for an extended battery-only repair period for up to 10 years from when the product was last distributed for sale, subject to parts availability."
On the software side, Apple dropped support for the Mid 2012 model of the 13-inch MacBook Pro with macOS Big Sur in 2020.
Apple discontinued the 13-inch MacBook Pro entirely last year.
Source: Macrumors