If I use ..
"runtime_config:

python_version: 3"

in app.yaml file, then the runtime config uses python3.6 by default. I 
specifically want it to use python3.5.5 and not python3.6.

REF:
https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml
===
You can use the runtime_config section to select a specific version of 
Python:

runtime_config:
    python_version: <version number>
The valid values for python_version are:

3 which uses the latest supported Python 3.x release, which is currently 
3.6.4.
3.4 Deprecated. This uses Python 3.4.8.
3.5 which uses Python 3.5.5.
3.6 which uses Python 3.6.4.
2 which uses Python 2.7.9.
===

On Thursday, August 2, 2018 at 10:21:37 AM UTC-7, [email protected] wrote:
>
> Please would it be possible to update the app.yaml file with the following 
> information and see what is the behavior.
>
> App.yaml
>
> ----------------------
>
> #[START RUNTIME]
>
> runtime: python
>
> env: flex
>
> entrypoint: gunicorn -b :$PORT mysite.wsgi
>
> runtime_config:
>
> python_version: 3
>
> #[END RUNTIME]
>
>
> Please check the following sample django documentation and cross reference 
> the app.yaml in your environment.
>
>
> https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/flexible/hello_world_django
>
>
> Also, it would be really helpful it you could also check the following 
> documentation to configure the app.yaml with version 3 for runtime 
> configuration.
>
> https://cloud.google.com/appengine/docs/flexible/python/runtime
>
>
> Another possibility is to try and deploy the file in a different location 
> with two versions for run-time interpreter, version 3 and 3.5, see which 
> one is actually working for you. Thanks. 
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e16a5108-c303-4f1c-8b96-0fb363331e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to