albertcht / python-gcs-image

MIT License
68 stars 28 forks source link

Would it be possibile to move this with python37? #7

Open nbl7 opened 4 years ago

nbl7 commented 4 years ago

It seems python27 won't be supported anymore on Google Cloud. Is there an alternative that works for python37?

zvictor commented 4 years ago

gcs does not support get_serving_url in the python3 environment, so no, there is no such alternative. apparently even in go it has been deprecated, so I can only find it in python2.7 and java 8.

regardless of the language, google is not recommending using them anyway:

image

for more on that, check #3

JayGoldberg commented 1 year ago

As of 2021 Google committed to making these "legacy" APIs such as Images, Mail, User, Memcache, Blobstore, so they work in Python3.

https://cloud.google.com/appengine/docs/standard/python3/reference/services/bundled/google/appengine, specifically under https://cloud.google.com/appengine/docs/standard/python3/reference/services/bundled/google/appengine/api which mentions images.

zvictor commented 1 year ago

This is great! I just checked Google's docs and it seems that they are ending support for python27 by 2024-01-30. Thus, updating this lib to use Python3 is a must, I guess.

vvuongbac123 commented 1 month ago

Is there anyway to run it now with a new install? I can't run it because of ending support for python2