Port to Python 3 (and Google Cloud Storage, and Flask)
- Jan 01, 2021
-
-
Simon Leinen authored
-
Simon Leinen authored
According to Wesley Chun's excellent migration codelab: https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-2-cloudndb those aren't necessary anymore.
-
Simon Leinen authored
We now use the "python39" runtime. This necessitated a few minor changes to the source. The app.yaml file is radically simplified.
-
Simon Leinen authored
-
Simon Leinen authored
The % notation seems to have fallen out of fashion.
-
Simon Leinen authored
-
Simon Leinen authored
Turns out it's not that complicated! Thanks to Tamás Kálmán for explaining this, among many other things, in his blog post about modernizing Google App Engines applications: https://tamaskalman.com/blog/post/migrating-to-python-3-on-google-app-engine---part-2---the-datastore
-
Simon Leinen authored
We're still using Python 2 for now.
-
- Dec 28, 2020
-
-
Simon Leinen authored
This seems useful as a first step towards Python 3 compatibility. If I understand correctly, the Python 3 runtime supports neither "db" nor the classical version of "ndb" (App Engine NDB), but only a newer version, Cloud NDB. Hopefully there's a smooth migration path from App Engine NDB to Cloud NDB.
-