Open kercos opened 5 years ago
Work is in progress to update the ndb library to be compatible with Python 3 at https://github.com/googleapis/google-cloud-python/tree/master/ndb. That client is currently in development, but not yet ready for production use cases.
@tswast: Amazing! Thanks for sharing, that's exactly what I was hoping for. I see issues tagged with api:ndb, is there anywhere we can track the progress of this. When should we start migrating our code?
I was a bit worried because according to Understanding differences between Python 2 and Python 3 on the App Engine standard environment:
The ndb ORM library is not available for Python 3. You can access Cloud Datastore through the Cloud Datastore API.
☝️ is more of 🖕when it comes to an upgrade path for ndb users on python2.
Glad to hear it's happening.
Those are the right issues to watch. Looks like https://github.com/googleapis/google-cloud-python/issues/6251 is especially relevant.
The ndb-for-python-3 project has it's own repo now: https://github.com/googleapis/python-ndb
@wsh : Any response to this?
Python 2.7 End Of Life is January 2020
So we have less than a year to transition all our apps to another ORM, or this library has less than a year to transition to python3.
Both these options have massive lead-times on making sure everything is stable and working, it's incumbent on the Google Cloud Platform team to inform users on which path to take.