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

[overall tracking] Figure Out Which GAE Builtins to Keep Using #3995

Closed
phil-lopreiato opened this issue Nov 20, 2021 · 0 comments
Closed

[overall tracking] Figure Out Which GAE Builtins to Keep Using #3995

phil-lopreiato opened this issue Nov 20, 2021 · 0 comments

Comments

@phil-lopreiato
Copy link
Member

phil-lopreiato commented Nov 20, 2021

So, seems like Google backtracked on this...

https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3#services

Beginning in September 2021, App Engine allows apps in the Python 3 runtime to access some App Engine bundled services and APIs previously available only in the Python 2 runtime.

This is good news, because we can rip out a bunch of the janky compatibility shims we had to write. But unfortunate that we had to writ them in the first place.

A quick brainstorm from me and @ZachOrr on what we should do:

  • memcache -> legacy bundled
  • ndb -> new library, but do a janky import for write compatibility so I can delete my janky crap
  • testbed -> legacy bundled, so I can delete my datastore implementation
  • webserver -> stick with flask
  • app_identity -> had no good replacement, keep using for the stuff we need (verifying the project ID in production)
  • taskqueue -> I need to do some science, if we can get that stuff working locally without needing Redis, let’s drop my implementations
  • urlfetch -> let’s keep using requests
  • users -> We should stick with Firebase users except for things like admin auth validation - where we should continue to use Google (since it looks at the project IAM stuff)
phil-lopreiato added a commit that referenced this issue Nov 20, 2021
Follow https://cloud.google.com/appengine/docs/standard/python3/services/access

This will install the dependency so other pulls can start using pieces.

towards #3995
phil-lopreiato added a commit that referenced this issue Nov 26, 2021
Towards #3995

This will simplify a few things, mainly the fact we can just have native interop between old/new apps without having to do a bunch of hackery to get datastore seriliazation/memcache to agree on a data format.
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

1 participant