简体   繁体   中英

What is the most recent version of GAE SDK that supports Python 2.5?

We're in the process of migrating an app from python 2.5 to python 2.7.

The latest SDK (1.8.3) does not support python 2.5.

What is the most recent version of the SDK that does support python 2.5? Please link to source if you have it.

From the SDK Release Notes , it appears that at the very least 1.6.2 supports Python 2.5, while the most recent version to mention Python 2.5 is 1.8.2.

There is no mention anywhere in the release notes that GAE no longer works with 2.5, but instead that is deprecated and new apps for 2.5 will be no longer allowed. If you look at the table of differences for GAE, it certainly shows you can use 2.5 , just not everything is supported.

Just be sure your app.yaml uses:

runtime: python

Rather than python27 , and you should be Ok.

If you need a more definitive answer you can email Google .

The 1.8.2 release notes say that support for interpreter version 2.7.5 was added

The Python Interpreter has been upgraded to 2.7.5.

but also seem to indicate that Python 2.5 is still supported:

Fixed an issue with the Datastore bulkloader syntax when using the Python 2.5 interpreter.

There is no indication in the release notes for version 1.8.3 (the most recent) that the support has been removed.

The notes here say that 2.5 is deprecated, but not yet removed:

Starting from January 2014, we will no longer allow new applications to be created using the Python 2.5 runtime.

I emailed google-appengine-python25-deprecation@googlegroups.com, and got the answer:

Python 2.5 apps can be run using all versions of the SDK upto and including the current (1.8.3), but:

  • For SDK <= 1.7.5, the GUI by default uses a version of dev_appserver.py, which supports python 2.5 apps, so they run fine.

  • For SDK > 1.7.5, the GUI by default uses the new dev_appserver.py which will not run python 2.5 apps (which gave rise to this question originally). From the command line, python 2.5 apps can be launched in SDK > 1.7.5 using the command:

     old_devappserver.py 

    It may be possible to configure the GUI to use old_devappserver.py, but I dont know how to do it, and did not get guidance from Goolge on it

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM