In practice nobody cares about the Android version or upgrades. People just want to install the latest apps, which you can do for a very long time even on an outdated entry-level Android phone.
Depends on the app and how outdated we're talking about. You can buy new Android devices on the shelf from major retailers that won't run some mainstream apps.