Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Migration path from Cloud Endpoints Frameworks for Python 2.7 run time to 3.0 runtime

We use Cloud Endpoints Frameworks library withGAE standard -  python 2.7 Run time 
Details
https://cloud.google.com/endpoints/docs/frameworks/python/about-cloud-endpoints-frameworks

This page says: 
Important: Endpoints Frameworks supports only Python 2.7.x. It doesn't support Python 3.x.

Did not find any documentation on  migration for this library 

What is Google recommended path for replacing 'Endpoints Framework' when migrating to Python 3.0 run time? 
Is Google team working on providing python 3.0 support for  'Endpoints Framework' 

1 5 509
5 REPLIES 5

Yes, Cloud Endpoints Frameworks doesn't support Python 3.x. And according to this Google Group[1], there is no ETA for this, but it seems that they are aware of it. Also, I've found this stackoverflow thread[2] that a possible workaround would be to use Cloud Endpoints on App Engine Flexible environment.

You may also check this documentation[3] as a reference if you would like to migrate to the Python 3 runtime on App Engine Standard.

[1] https://groups.google.com/g/google-cloud-endpoints/c/MnbLC95W1y4/m/nbmrUkVWBgAJ
[2] https://stackoverflow.com/questions/58428630/can-i-use-endpoints-frameworks-with-gae-if-it-supports-...
[3] https://cloud.google.com/appengine/docs/standard/python3/python-differences

Is support for Cloud Endpoints Frameworks for python 3.0 on roadmap of Google?
Can Google PM please share roadmap   or can this case be escalated?



 

Hi @milind2 

Thank you for the response. 

You may create a feature request regarding your issue for Cloud Endpoints Frameworks for Python 3.0.

It looks like there was a feature request filed here shortly after this response, but it was closed as infeasible shortly after.

Since it has been announced that Python 2.7 hits end of support in January 2024, I'm sure I'm not alone in scrambling for a solution here to keep my company's backend working.

I understand that Cloud Endpoints will not be part of the Python 3 future, but I don't even see any best practices for how one should be building new mobile backend APIs in the Python 3 App Engine runtime.  The current documentation for getting started on the Python 3 runtime only talks about creating a web service, and makes no mention of serving an API for a mobile backend at all, and it was the fact that it was easy to do both of those things that led us to choosing App Engine in the first place.

Is using App Engine as a mobile backend no longer an explicitly supported use case in Python 3?  Or if it is, can you point me to any documentation on that?

Thanks in advance for any advice.

I am in the same situation except on Java.

Endpoints Frameworks only supports Java 8 (which is now no longer supported on GAE Standard).  GAE Standard must use Java 11/17 but Endpoints Frameworks only show documentation for Java 8.

What should applications that use GAE Standard Environment with Cloud Endpoints Framework v2 in Java 8 do to migrate/upgrade?