fwiw, i've deployed at least one of the affected apps since 
app-engine-python 1.9.76 was released, and it's still working fine, which 
implies that the prod runtime isn't similarly affected. (i did that deploy 
with gcloud sdk 218, purely out of superstition, but i didn't really expect 
it to matter much one way or the other.)

On Wednesday, October 10, 2018 at 3:50:02 PM UTC-7, Ryan B wrote:
>
> hi all! i'm debugging a dev_appserver problem that seems to have been 
> introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are 
> now all resolved as absolute instead of relative. does that sound familiar?
>
> for example, i use the future library <http://python-future.org/> in many 
> of my apps, which has this line of code 
> <https://github.com/PythonCharmers/python-future/blob/fdd5eebe3aea61959533dbb722820fac7c5954ea/src/future/standard_library/__init__.py#L484>
> :
>
>     import test
>
> on gcloud sdk 218 / app-engine-python 1.9.75 and before, this worked fine. 
> it resolved the import relative to the containing source file, in 
> local/lib/python2.7/site-packages/future/... , a virtualenv, which i set 
> up with vendor 
> <https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#vendoring>.
>  
> on 1.9.76, it changed to resolving absolute instead, so it imports an 
> unrelated test/ package directory in the top level of my app, which 
> obviously won't work, and the app breaks.
>
> i couldn't find any mention of this in release notes or docs. was this 
> expected? any recommendations for handling it? thanks in advance!
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/d04cbc6c-98cf-468c-beec-35aa5e37ea39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to