I'm trying to upgrade the GAE runtime on several python projects from 
python37 to python38.
I've used dev_appserver.py to test the apps locally before we deploy but 
I'm getting an unknown runtime error after changing the runtime to 
python38. Python 3.8 should be a supported runtime according to the appengine 
docs 
<https://cloud.google.com/appengine/docs/standard/python3/configuring-your-app-with-app-yaml>
.

I've also updated all gcloud cli components to the latest version. Is this 
just something that's been changed/deprecated and I'm just not aware of it? 
or is it actually a bug and missing from the `dev_appserver.py` tool?

Any help would be appreciated! :)


```
RuntimeError: Unknown runtime 'python38'; supported runtimes are 'custom', 
'go', 'go111', 'java', 'java7', 'java8', 'php55', 'php72', 'python', 
'python-compat', 
'python27', 'python37'.
```


Full traceback:

```
Traceback (most recent call last):
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 96, 
in <module>
    _run_file(__file__, globals())
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 90, 
in _run_file
    execfile(_PATHS.script_file(script_name), globals_)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
 
line 613, in <module>
    main()
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
 
line 601, in main
    dev_server.start(options)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
 
line 373, in start
    options.api_host, apiserver.port, wsgi_request_info_)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py",
 
line 259, in start
    ssl_port)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py",
 
line 396, in _create_module
    ssl_port=ssl_port)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py",
 
line 1313, 
in __init__
    super(AutoScalingModule, self).__init__(**kwargs)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py",
 
line 599, in __init__
    self._module_configuration)
  File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py",
 
line 226, in _create_instance_factory
    sorted(repr(k) for k in runtime_factories.FACTORIES))))
RuntimeError: Unknown runtime 'python38'; supported runtimes are 'custom', 
'go', 'go111', 'java', 'java7', 'java8', 'php55', 'php72', 'python', 
'python-compat', 
'python27', 'python37'.
```

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b10c6aeb-c30f-4d17-b163-c7bd26a97d61n%40googlegroups.com.

Reply via email to