Thanks for this info. Sorry it's so difficult, and I'll look to see what we
might have to help. One thing I worked on was NDB migration. There's a
sample at
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/migration/ndb/overview
.
Basically, you use from
We are in the middle of the migration. It is a horrible experience.
We tried to break it into small steps.
Still in python2, we first replaced memcache with redis and replaced
search with elasticsearch. These steps were do-able.
Next we tried to make the python2 code compatible with python3
This is extremely helpful. Thanks for posting such detail. I hope we can
use it to help people migrate more easily.
On Thursday, May 7, 2020 at 3:38:57 PM UTC-7 goo...@ryanb.org wrote:
> hi charlie, thanks for asking!
>
> my experience was similar to joshua's, if not quite so extreme. i've
>
hey alex, long time no see! yup, tests were a life saver for me in these
migrations. probably also the single best technique i know of for software
productivity and quality over time in general.
re testing jinja templates, i've gradually leaned toward writing more and
more web app unit tests
Just as a personal note (I'm a Googler but also help maintain App Engine
non-profit sites in my spare time etc), I enthusiastically agree that the
migration suddenly validated my own long-standing obsession with more and
more (automated, esp. unit) testing -- suddenly, that boring test activity
i was also extremely fortunate that pretty much all of these apps had solid
unit test coverage, which automatically found the vast majority of code
that needed updating. if i'd had to resort to "rigorous search and runtime
errors," as joshua mentioned, i'd probably be a lot more frustrated.
On
hi charlie, thanks for asking!
my experience was similar to joshua's, if not quite so extreme. i've
migrated seven or so apps now, the largest weighing in at 26kloc. the big
differences in API availability and compatibility were the most painful
parts, followed by changes and difficulties with
This is very helpful feedback. Anybody else have comments for us?
On Tuesday, May 5, 2020 at 1:17:52 PM UTC-7 Charlie Engelke wrote:
> I'd still like to here anyone's stories involving migrating their App
> Engine apps from Python 2.7 to Python 3.7. Have you migrated yet? Planning
> to do so