This repository has been archived by the owner. It is now read-only.
DEPRECATED: gcr.io/google_appengine/python-compat-multicore
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
appengine-compat
appengine-vmruntime
develop
resources Explicitly specify version numbers when pip installing packages Jul 24, 2017
tests/e2e Add error checking and more verbose error messages. Nov 19, 2016
.dockerignore
.gitignore Modifying test harness for 10x test development velocity. Client now … Apr 21, 2016
.travis.yml Adding linting to tests Apr 22, 2016
CONTRIBUTING.md
DEVELOPING.md
Dockerfile Remove extraneous symlink from /home/vmagent/app/app to /home/vmagent… Dec 19, 2016
LICENSE Re-organization Mar 18, 2016
Makefile Fix gcloud invocation Jul 23, 2017
README.md Update README with warnings Aug 23, 2017
build.sh Add basic cloudbuild support. Jun 16, 2017
cloudbuild.yaml
common.mk

README.md

DEPRECATED: Google App Engine Flexible Environment Python Compat Runtime

This repository contains the source code used for the App Engine Flexible Environment Python Compat (multicore) runtime, corresponding to env:flex + runtime: python-compat in your app.yaml. This runtime provides best effort compatibility with applications written to target the App Engine Standard Environment with Python 2.7. This runtime is deprecated and incomplete.

Using this runtime

Do not use this runtime for new development. If you are using this runtime, you should expediently migrate to the vanilla Python runtime before November 2017.

Gunicorn configuration

By default the multi-process version of the runtime is launched via the Gunicorn webserver and is configured to use gevent-based concurrency and a number of processes equal to the number of CPU cores available.

This can be changed by creating a file called gunicorn.conf.py in your application's root directory, which will override the default gunicorn.conf.py included with this project. Refer the gunicorn documentation for details.

Caveats

This runtime is deprecated and incomplete. Only critical bug fixes are planned.

Notably:

  • Handlers in app.yaml that are flagged as login: required or login: admin are not supported. Attemping to access these handlers will result in a 404 as the handlers will not be registered.
  • threadsafe: false in app.yaml is ignored. Your application must either be threadsafe or you much change the gunicorn configuration to use sync workers.
  • Deferred TaskQueues are not functional.

There may be other features that are not implemented or not functional in this version.

Contributing changes

See CONTRIBUTING.md

Licensing

See LICENSE