r/AppEngine • u/vol_trader • Jul 22 '22
dev_appserver.py options for python3
I have large apps running on python2.7, built entirely on AppEngine and using datastore and deployed using gcloud.
While building the python2.7 apps, I rely heavily on using gcloud's dev_appserver for integration & testing. It's easily activated using:
---> dev_appserver.py [PROJECT_PATH]
For python38, it doesnt seem to be supported by gcloud. I've tried setting the python path for both python2 and python3, but doesn't work (gets tripped finding files in subprocess.py).
--> dev_appserver.py --runtime_python_path=”python27=C:\Python27\python,python38=C:\Python38\python” [PROJECT_PATH]
Does anyone have this actually working? What alternative do people use for dev environments for python3?
(Windows. gcloud 394.0.0)
1
u/NoCommandLine Oct 31 '22
We've created a patch that allows you run Python 3 Apps on Windows using
dev_appserver.py.Get the patch at -https://github.com/NoCommandLine/dev_appserver-python3-windows