Here is Apples stance:
Scripting Language Runtimes
Deprecations
- Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)
- Use of Python 2.7 isn’t recommended as this version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run
python3
from within Terminal. (51097165)
https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes
So - perhaps it might not be worth to spend too much effort into trying to use the on-board Python but bring the Python that we need with us in an installer? Then it would be in our hands what to use.