Live data from Hacker News

Python 3 is now available on App Engine standard environment

cloud.google.com

31–40 of 84 posts

Re: Python 3 is now available on App Engine standard environment

#31

Hi all, Product Manager for App Engine here. Happy to answer any questions about Python 3 on the App Engine standard environment.

What is the access to your hosted postgres like? Do you still have to use that proxy thing? I'm wondering how much effort is require to move a sqlalchemy based app over to this.

You would use Cloud SQL to access PostgreSQL.

Here's how you configure your App Engine standard environment project to use Cloud SQL: https://cloud.google.com/appengine/docs/standard/python3/usi...

The Cloud SQL for PostgreSQL docs contain code samples to get you started: https://cloud.google.com/sql/docs/postgres/

This should all work with SQLAlchemy.

Re: Python 3 is now available on App Engine standard environment

#34

> At this time, the original App Engine-only APIs are not available in Second Generation runtimes, including Python 3.7. This means that if you already have a significant app running on Appengine Standard, none of the built-in APIs are supported (memcache, images, search, task queues, email, etc). That's a significant blocker to anyone wanting to upgrade their existing Standard 2.7 app to 3.7.

The sentence before that quote:

> We are progressively evolving the original App Engine APIs to make them accessible across all GCP platforms.

So I think they're planning a solution for you.

Re: Python 3 is now available on App Engine standard environment

#39

Hi all, Product Manager for App Engine here. Happy to answer any questions about Python 3 on the App Engine standard environment.

What is the access to your hosted postgres like? Do you still have to use that proxy thing? I'm wondering how much effort is require to move a sqlalchemy based app over to this.

It is not possible to access Postgres based CloudSQL from Python on AppEngine standard. See here:

https://cloud.google.com/sql/docs/postgres/connect-app-engin...

Note that only node and Java are listed under non-Flex.

I got burned by this and had to start over with MySQL.

Post reply on HN