So, what's the hypermodern way of setting up a Python development environment on Mac?

I read that I should avoid Homebrew's Python because it's a dependency of other recipes and upgrades can break virtual environments justinmayer.com/posts/homebrew

That leaves Xcode as an option, and probably many others I'm missing.

What are your thoughts?