HMD confirms all Nokia smartphones will get the Android O update

Moreover, the smartphones are supposed to be released globally by the end of this month, which looks like a major effort for a start-up company like HMD.
The smartphones will get the Android O update once the new release is available from Google for their OEM partners, the same way HMD Global is committed to the monthly Android security updates.
However, even if Google released Android O this fall, it will take some time for HMD to make the update available for all its Nokia smartphones. It's also worth noting that the Finnish company is expected to introduce at least three other smartphones by the end of the year, aside from the Nokia 3, 5 and 6.
source: Techradar
Things that are NOT allowed: