Thx for the reply and clarification on python 3.12.
Workaround - instead of testing locally, do it all on Cloud Shell, i.e., Run the Cloud Run Emulator, and Deploy to Cloud Run.
Note - be sure to edit the .vscode/launch.json to point to the Dockerfile for the project.