How is development setup on the M2? Specifically Docker and Python. Docker VM has always seemed rather meh on my M1 and installing different python versions with pyenv either goes well or has _a lot_ of workarounds.
For Python, Python itself is rarely the problem, but more often some older libraries that don't have wheels for M1 Mac, or incompatibilities. Upgrading your dependencies, if it's an option, is often enough.
Asdf + PDM are also nice tools to work with multiple projects/Py versions easily.