Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new Python 3.7 image with 3.7.7 #241

Open
tinycogio opened this issue Apr 17, 2020 · 1 comment
Open

Release new Python 3.7 image with 3.7.7 #241

tinycogio opened this issue Apr 17, 2020 · 1 comment

Comments

@tinycogio
Copy link

tinycogio commented Apr 17, 2020

It looks like there was an update to get the python 3.7 interpreter to use version 3.7.7 (fbc2908)

However, it looks like the python docker image is still using the older 3.7.2 interpreter.

Could the docker images get rebuilt with the 3.7.7 interpreter?

Thanks!

app.yaml

runtime: python
env: flex
entrypoint: gunicorn -b :$PORT -c gunicorn.conf.py main:app_factory

runtime_config:
  python_version: 3.7

Deploy/Build logs

Fri Apr 17 14:37:05 PDT 2020

File upload done.
Updating service [default] (this may take several minutes)...done.
--------------------------------------------------------------------------------------------------- REMOTE BUILD OUTPUT ---------------------------------------------------------------------------------------------------
starting build "ae031a8b-9f7c-4d5e-a0ca-d96dbf069559"

FETCHSOURCE
BUILD
Starting Step #0 - "fetcher"
Step #0 - "fetcher": Already have image (with digest): gcr.io/cloud-builders/gcs-fetcher
Step #0 - "fetcher": Fetching manifest gs://<snip>ae/0e61c61d-85a2-4be6-bb7b-1deb843b66b6/manifest.json.
Step #0 - "fetcher": Processing 73 files.
Step #0 - "fetcher": ******************************************************
Step #0 - "fetcher": Status:                      SUCCESS
Step #0 - "fetcher": Started:                     2020-04-17T21:37:20Z
Step #0 - "fetcher": Completed:                   2020-04-17T21:37:20Z
Step #0 - "fetcher": Requested workers:    200
Step #0 - "fetcher": Actual workers:        73
Step #0 - "fetcher": Total files:           73
Step #0 - "fetcher": Total retries:          0
Step #0 - "fetcher": GCS timeouts:           0
Step #0 - "fetcher": MiB downloaded:         0.26 MiB
Step #0 - "fetcher": MiB/s throughput:       0.81 MiB/s
Step #0 - "fetcher": Time for manifest:    200.66 ms
Step #0 - "fetcher": Total time:             0.53 s
Step #0 - "fetcher": ******************************************************
Finished Step #0 - "fetcher"
Starting Step #1
Step #1: Pulling image: gcr.io/gcp-runtimes/python/gen-dockerfile@sha256:76e4c7c235d5acb3ea66227a4ecd6f5b1bff2c53c2d832765af65cf612368db1
Step #1: sha256:76e4c7c235d5acb3ea66227a4ecd6f5b1bff2c53c2d832765af65cf612368db1: Pulling from gcp-runtimes/python/gen-dockerfile
Step #1: d04e4a159eb2: Pulling fs layer
Step #1: 05c79f8d94d2: Pulling fs layer
Step #1: 3c2cba919283: Pulling fs layer
Step #1: 165a366b7bd9: Pulling fs layer
Step #1: 8b12381fd082: Pulling fs layer
Step #1: 5f2d9b8a6c61: Pulling fs layer
Step #1: a1705fbc031f: Pulling fs layer
Step #1: 290eedeabcf5: Pulling fs layer
Step #1: 8f4534289921: Pulling fs layer
Step #1: e8e8949443e6: Pulling fs layer
Step #1: 3048093b82ce: Pulling fs layer
Step #1: c2c220036633: Pulling fs layer
Step #1: 8a87305d5c5c: Pulling fs layer
Step #1: 17c1dd8ad78b: Pulling fs layer
Step #1: 0cdb23aa3f21: Pulling fs layer
Step #1: 33a1afb0142c: Pulling fs layer
Step #1: 165a366b7bd9: Waiting
Step #1: 8b12381fd082: Waiting
Step #1: 5f2d9b8a6c61: Waiting
Step #1: a1705fbc031f: Waiting
Step #1: 290eedeabcf5: Waiting
Step #1: 8f4534289921: Waiting
Step #1: e8e8949443e6: Waiting
Step #1: 3048093b82ce: Waiting
Step #1: c2c220036633: Waiting
Step #1: 8a87305d5c5c: Waiting
Step #1: 17c1dd8ad78b: Waiting
Step #1: 0cdb23aa3f21: Waiting
Step #1: 33a1afb0142c: Waiting
Step #1: 3c2cba919283: Verifying Checksum
Step #1: 3c2cba919283: Download complete
Step #1: 165a366b7bd9: Verifying Checksum
Step #1: 165a366b7bd9: Download complete
Step #1: 8b12381fd082: Verifying Checksum
Step #1: 8b12381fd082: Download complete
Step #1: 05c79f8d94d2: Verifying Checksum
Step #1: 05c79f8d94d2: Download complete
Step #1: d04e4a159eb2: Verifying Checksum
Step #1: d04e4a159eb2: Download complete
Step #1: 290eedeabcf5: Verifying Checksum
Step #1: 290eedeabcf5: Download complete
Step #1: 8f4534289921: Verifying Checksum
Step #1: a1705fbc031f: Verifying Checksum
Step #1: a1705fbc031f: Download complete
Step #1: 8f4534289921: Download complete
Step #1: 5f2d9b8a6c61: Verifying Checksum
Step #1: 5f2d9b8a6c61: Download complete
Step #1: 3048093b82ce: Verifying Checksum
Step #1: 3048093b82ce: Download complete
Step #1: e8e8949443e6: Download complete
Step #1: 8a87305d5c5c: Verifying Checksum
Step #1: 8a87305d5c5c: Download complete
Step #1: 17c1dd8ad78b: Verifying Checksum
Step #1: 17c1dd8ad78b: Download complete
Step #1: 0cdb23aa3f21: Verifying Checksum
Step #1: 0cdb23aa3f21: Download complete
Step #1: c2c220036633: Verifying Checksum
Step #1: c2c220036633: Download complete
Step #1: 33a1afb0142c: Verifying Checksum
Step #1: 33a1afb0142c: Download complete
Step #1: d04e4a159eb2: Pull complete
Step #1: 05c79f8d94d2: Pull complete
Step #1: 3c2cba919283: Pull complete
Step #1: 165a366b7bd9: Pull complete
Step #1: 8b12381fd082: Pull complete
Step #1: 5f2d9b8a6c61: Pull complete
Step #1: a1705fbc031f: Pull complete
Step #1: 290eedeabcf5: Pull complete
Step #1: 8f4534289921: Pull complete
Step #1: e8e8949443e6: Pull complete
Step #1: 3048093b82ce: Pull complete
Step #1: c2c220036633: Pull complete
Step #1: 8a87305d5c5c: Pull complete
Step #1: 17c1dd8ad78b: Pull complete
Step #1: 0cdb23aa3f21: Pull complete
Step #1: 33a1afb0142c: Pull complete
Step #1: Digest: sha256:76e4c7c235d5acb3ea66227a4ecd6f5b1bff2c53c2d832765af65cf612368db1
Step #1: Status: Downloaded newer image for gcr.io/gcp-runtimes/python/gen-dockerfile@sha256:76e4c7c235d5acb3ea66227a4ecd6f5b1bff2c53c2d832765af65cf612368db1
Step #1: gcr.io/gcp-runtimes/python/gen-dockerfile@sha256:76e4c7c235d5acb3ea66227a4ecd6f5b1bff2c53c2d832765af65cf612368db1
Finished Step #1
Starting Step #2
Step #2: Pulling image: gcr.io/cloud-builders/docker@sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6
Step #2: sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6: Pulling from cloud-builders/docker
Step #2: 75f546e73d8b: Already exists
Step #2: 0f3bb76fc390: Already exists
Step #2: 3c2cba919283: Already exists
Step #2: 8944ea7fb66c: Pulling fs layer
Step #2: 8944ea7fb66c: Verifying Checksum
Step #2: 8944ea7fb66c: Download complete
Step #2: 8944ea7fb66c: Pull complete
Step #2: Digest: sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6
Step #2: Status: Downloaded newer image for gcr.io/cloud-builders/docker@sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6
Step #2: gcr.io/cloud-builders/docker@sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6
Step #2: Sending build context to Docker daemon    343kB
Step #2: Step 1/9 : FROM gcr.io/google-appengine/python@sha256:55096029b76bcc83e6ddff5e2dc4198df657a912982920f12b9977863eae7173
Step #2: sha256:55096029b76bcc83e6ddff5e2dc4198df657a912982920f12b9977863eae7173: Pulling from google-appengine/python
Step #2: 40a5c2875f88: Pulling fs layer
Step #2: 72be9390242a: Pulling fs layer
Step #2: 3c2cba919283: Pulling fs layer
Step #2: 91d77be5c6ea: Pulling fs layer
Step #2: 29a75d8abe7e: Pulling fs layer
Step #2: 177dc5a458f7: Pulling fs layer
Step #2: 2c2c0146fdfe: Pulling fs layer
Step #2: f148de29d703: Pulling fs layer
Step #2: 1908d2d66a44: Pulling fs layer
Step #2: 87b7849d11e1: Pulling fs layer
Step #2: a63988796a14: Pulling fs layer
Step #2: 91d77be5c6ea: Waiting
Step #2: 29a75d8abe7e: Waiting
Step #2: 177dc5a458f7: Waiting
Step #2: 2c2c0146fdfe: Waiting
Step #2: f148de29d703: Waiting
Step #2: 1908d2d66a44: Waiting
Step #2: 87b7849d11e1: Waiting
Step #2: a63988796a14: Waiting
Step #2: 3c2cba919283: Verifying Checksum
Step #2: 3c2cba919283: Download complete
Step #2: 72be9390242a: Verifying Checksum
Step #2: 72be9390242a: Download complete
Step #2: 91d77be5c6ea: Verifying Checksum
Step #2: 91d77be5c6ea: Download complete
Step #2: 29a75d8abe7e: Verifying Checksum
Step #2: 29a75d8abe7e: Download complete
Step #2: 40a5c2875f88: Verifying Checksum
Step #2: 40a5c2875f88: Download complete
Step #2: f148de29d703: Verifying Checksum
Step #2: f148de29d703: Download complete
Step #2: 1908d2d66a44: Verifying Checksum
Step #2: 1908d2d66a44: Download complete
Step #2: 2c2c0146fdfe: Verifying Checksum
Step #2: 2c2c0146fdfe: Download complete
Step #2: 177dc5a458f7: Verifying Checksum
Step #2: 177dc5a458f7: Download complete
Step #2: 87b7849d11e1: Verifying Checksum
Step #2: 87b7849d11e1: Download complete
Step #2: a63988796a14: Verifying Checksum
Step #2: a63988796a14: Download complete
Step #2: 40a5c2875f88: Pull complete
Step #2: 72be9390242a: Pull complete
Step #2: 3c2cba919283: Pull complete
Step #2: 91d77be5c6ea: Pull complete
Step #2: 29a75d8abe7e: Pull complete
Step #2: 177dc5a458f7: Pull complete
Step #2: 2c2c0146fdfe: Pull complete
Step #2: f148de29d703: Pull complete
Step #2: 1908d2d66a44: Pull complete
Step #2: 87b7849d11e1: Pull complete
Step #2: a63988796a14: Pull complete
Step #2: Digest: sha256:55096029b76bcc83e6ddff5e2dc4198df657a912982920f12b9977863eae7173
Step #2: Status: Downloaded newer image for gcr.io/google-appengine/python@sha256:55096029b76bcc83e6ddff5e2dc4198df657a912982920f12b9977863eae7173
Step #2:  ---> f186f86e42ea
Step #2: Step 2/9 : LABEL python_version=python3.7
Step #2:  ---> Running in 9dba2c255b80
Step #2: Removing intermediate container 9dba2c255b80
Step #2:  ---> 98d8076c2256
Step #2: Step 3/9 : RUN virtualenv --no-download /env -p python3.7
Step #2:  ---> Running in 65d6ee39550d
Step #2: Running virtualenv with interpreter /opt/python3.7/bin/python3.7
Step #2: Using base prefix '/opt/python3.7'
Step #2: /usr/local/lib/python2.7/dist-packages/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Step #2:   import imp
Step #2: New python executable in /env/bin/python3.7
Step #2: Also creating executable in /env/bin/python
Step #2: Installing setuptools, pip, wheel...done.
Step #2: Removing intermediate container 65d6ee39550d
Step #2:  ---> 08e5ef023e7e
... snip ...

After ssh'ing to the GAE flex instance

$ docker exec -it 96bd4a82c606 /bin/bash
root@96bd4a82c606:/home/vmagent/app# /env/bin/python -V
Python 3.7.2
root@96bd4a82c606:/home/vmagent/app# 

Expected the output to be Python 3.7.7

@abitrolly
Copy link

It is 3.7.9 now. Close?

~ podman run -it gcr.io/google-appengine/python bash            
root@c5d23d90418b:/home/vmagent/app# ls -la ../..
root@c5d23d90418b:/home/vmagent/app# python3
Python 3.7.9 (default, Aug 26 2020, 23:41:20) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants