Perl 5 -> Perl 6 is the oddball without a migration path because they're totally different.
Apple views that as a good thing.
Python got very lucky with their strong community support. Millions of hours were invested into upgrading Python2 code to Python3, essentially on trust in the early years (2009-2013).
Without the strong community support Python could have gone the way PHP did in the 5 -> 7 -> 8 era
It's interesting to compare these with languages that never did the breaking change to clear out their tech debt. Back in the day, Javascript was nearly universally hated (The Good Parts was very controversial!), and it nearly splintered into multiple languages, but managed to consolidate under ES5 and then explode in popularity without ever having a Python2-3 moment.
Scroll down to Python Versions
They clearly did something better than Java. 94% vs 6% (and that was 2020!)
6 percent of people in 2020 were using Python 2, 12+ years after Python 3 was released. 12 year old Java right now is Java 7, which is only used by 2 percent of people in this link.