Re: [google-appengine] Re: GAE python 2.7 end of life

2019-01-09 Thread NP
Someone wrote a wrapper for the cloud datastore API - 
https://github.com/Bogdanp/anom-py. I haven't used it myself so can't 
comment.


On Wednesday, January 9, 2019 at 12:31:46 PM UTC-8, Blaine Garrett wrote:
>
> I asked this in a different thread, but I wonder if anyone has tried to 
> port the ndb package as a standalone python 3 package.
> Thus far, in my experiments, once I got the datastore emulator running 
> locally, converting the consumption of the datastore apis from ndb to 
> native objects has been the biggest pain. I have not tried converting my 
> deferred tasks, etc.
>
> Source code for the ndb package
>
> https://cloud.google.com/appengine/docs/standard/python/refdocs/modules/google/appengine/ext/ndb/model
>
> ~ Blaine
>
>
> On Wednesday, January 9, 2019 at 12:07:44 PM UTC-6, Rahul Ravindran wrote:
>>
>> Google has a policy of a one year deprecation policy for any GA runtime. 
>> Given that nothing has been announced yet, please know that your 
>> application will continue running for at least a year and that will be the 
>> *minimum 
>> *period for you to need to do anything. 
>>
>> I apologize on being very brief around this at this point, but there are 
>> discussions going on. Stay tuned for longer term guidance around this issue.
>>
>> ~Rahul.
>>
>> On Wed, Jan 9, 2019 at 6:47 AM bFlood  
>> wrote:
>>
>>> its not the incompatibility of python (language/runtime), its missing 
>>> services with regard to GAE Standard 2.7 and GAE Standard 3.0. (memcache, 
>>> NDB, Search, Images, Users, webapp2, etc). Are these going to be duplicated 
>>> in GAE3? and if so, will existing data and model definitions in the 2.7 
>>> datastore work in 3? 
>>>
>>> it looks like some work is being done for this but it would be great to 
>>> know officially what Google plans for this upgrade process. how much code 
>>> will need to change? 
>>>
>>> https://github.com/googleapis/google-cloud-python/issues?q=NDB+sort%3Aupdated-desc
>>>
>>> also, generally what do you mean by "not directly affected on an 
>>> immediate time frame"? a year, 2 years, 5 years before 2.7 apps stop 
>>> running? 
>>>
>>>
>>>
>>>
>>> On Wednesday, January 9, 2019 at 9:32:36 AM UTC-5, George (Cloud 
>>> Platform Support) wrote:

 You are perfectly right, NP. Python 3 is made incompatible with 2, and 
 Python 3 does not support quite a few features, and will require effort to 
 re-program your app in an alternative manner. I was simply saying that 
 often the effort is not enormous, and becomes worthwhile on the longer 
 term. 

>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-appengi...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-appengine/8f45b06f-0852-4e46-9331-c3ebdbe3e481%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a44838dd-d2db-4547-8f4c-fb8973e99ca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: GAE python 2.7 end of life

2019-01-09 Thread Blaine Garrett
I asked this in a different thread, but I wonder if anyone has tried to 
port the ndb package as a standalone python 3 package.
Thus far, in my experiments, once I got the datastore emulator running 
locally, converting the consumption of the datastore apis from ndb to 
native objects has been the biggest pain. I have not tried converting my 
deferred tasks, etc.

Source code for the ndb package
https://cloud.google.com/appengine/docs/standard/python/refdocs/modules/google/appengine/ext/ndb/model

~ Blaine


On Wednesday, January 9, 2019 at 12:07:44 PM UTC-6, Rahul Ravindran wrote:
>
> Google has a policy of a one year deprecation policy for any GA runtime. 
> Given that nothing has been announced yet, please know that your 
> application will continue running for at least a year and that will be the 
> *minimum 
> *period for you to need to do anything. 
>
> I apologize on being very brief around this at this point, but there are 
> discussions going on. Stay tuned for longer term guidance around this issue.
>
> ~Rahul.
>
> On Wed, Jan 9, 2019 at 6:47 AM bFlood  > wrote:
>
>> its not the incompatibility of python (language/runtime), its missing 
>> services with regard to GAE Standard 2.7 and GAE Standard 3.0. (memcache, 
>> NDB, Search, Images, Users, webapp2, etc). Are these going to be duplicated 
>> in GAE3? and if so, will existing data and model definitions in the 2.7 
>> datastore work in 3? 
>>
>> it looks like some work is being done for this but it would be great to 
>> know officially what Google plans for this upgrade process. how much code 
>> will need to change? 
>>
>> https://github.com/googleapis/google-cloud-python/issues?q=NDB+sort%3Aupdated-desc
>>
>> also, generally what do you mean by "not directly affected on an 
>> immediate time frame"? a year, 2 years, 5 years before 2.7 apps stop 
>> running? 
>>
>>
>>
>>
>> On Wednesday, January 9, 2019 at 9:32:36 AM UTC-5, George (Cloud Platform 
>> Support) wrote:
>>>
>>> You are perfectly right, NP. Python 3 is made incompatible with 2, and 
>>> Python 3 does not support quite a few features, and will require effort to 
>>> re-program your app in an alternative manner. I was simply saying that 
>>> often the effort is not enormous, and becomes worthwhile on the longer 
>>> term. 
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to google-a...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/8f45b06f-0852-4e46-9331-c3ebdbe3e481%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e39e0c9b-31c2-493d-81ef-4ef1555d8843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: GAE python 2.7 end of life

2019-01-09 Thread 'Rahul Ravindran' via Google App Engine
Google has a policy of a one year deprecation policy for any GA runtime.
Given that nothing has been announced yet, please know that your
application will continue running for at least a year and that will be
the *minimum
*period for you to need to do anything.

I apologize on being very brief around this at this point, but there are
discussions going on. Stay tuned for longer term guidance around this issue.

~Rahul.

On Wed, Jan 9, 2019 at 6:47 AM bFlood  wrote:

> its not the incompatibility of python (language/runtime), its missing
> services with regard to GAE Standard 2.7 and GAE Standard 3.0. (memcache,
> NDB, Search, Images, Users, webapp2, etc). Are these going to be duplicated
> in GAE3? and if so, will existing data and model definitions in the 2.7
> datastore work in 3?
>
> it looks like some work is being done for this but it would be great to
> know officially what Google plans for this upgrade process. how much code
> will need to change?
>
> https://github.com/googleapis/google-cloud-python/issues?q=NDB+sort%3Aupdated-desc
>
> also, generally what do you mean by "not directly affected on an immediate
> time frame"? a year, 2 years, 5 years before 2.7 apps stop running?
>
>
>
>
> On Wednesday, January 9, 2019 at 9:32:36 AM UTC-5, George (Cloud Platform
> Support) wrote:
>>
>> You are perfectly right, NP. Python 3 is made incompatible with 2, and
>> Python 3 does not support quite a few features, and will require effort to
>> re-program your app in an alternative manner. I was simply saying that
>> often the effort is not enormous, and becomes worthwhile on the longer
>> term.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/8f45b06f-0852-4e46-9331-c3ebdbe3e481%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALZe7H1sRf-AeJzem32fzKMKfDXe2wHw1OYnzQirmtSf2BSQ%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.