Kathleen Juliff
Kathleen Juliff

Reputation: 7

I upgraded to python 2.7 but google appengine reports that I have not

I keep getting the message A version of this application is using the Python 2.5 runtime, which is deprecated! However I have definitely upgraded to python 2.7. Could the be being reported incorrectly? I do not know what else I can do. I do not even have earlier versions on my machine.

Upvotes: 0

Views: 39

Answers (1)

Alex Martelli
Alex Martelli

Reputation: 881863

You may have updated one or more newer version(s) of your app with runtime: python27, but likely failed to delete (or update) older versions you deployed back some time ago with runtime: python.

Note that the error message refers to

A version of this application

not necessarily the default serving one, or the newest one, or whatever; any version of the application that's still deployed with the old Python 2.5 runtime is a danger, since that runtime is going away.

That, of course, is because you could, by visiting the appropriate URL, try running any currently deployed version of your app -- e.g

http://1-dot-yourappid.appspot.com/

would request the root URI from version 1.

So, delete or update all deployed versions of your app so any that remain deployed use Python 2.7, and you should be fine!

Upvotes: 1

Related Questions