Google Cloud Platform Blog
Product updates, customer stories, and tips and tricks on Google Cloud Platform
Python 2.5, thanks for the good times
Friday, March 8, 2013
Python 2.5 has a special place in the heart of any
Google App Engine
developer, as it was the first runtime we launched way back in 2008. Since then, both Python and App Engine have advanced a great deal.
A year ago we
announced
our support for Python 2.7, which brings syntactic and semantic improvements to the language and includes powerful features like threading and a large selection of third-party libraries.
Not only does Python 2.7 make developers’ lives easier, the runtime is extremely cost-effective. Our customers have taken advantage of features like concurrent requests to
reduce their front-end instance costs by more than 70%
while handling the same amount of traffic.
Not surprisingly, the Python 2.7 runtime has proven to be extremely popular. Just over a year after launch, more than 78% of active Python applications on App Engine are using the new runtime, and more are being added every minute.
As both Python and App Engine evolve, we must occasionally make hard choices about which legacy runtimes we should continue to support. Today we are announcing the deprecation of the Python 2.5 runtime. The deprecation period will follow the guidelines set in our
terms of service
.
What does this mean?
We will continue to run Python 2.5 applications throughout the deprecation period. For most customers, upgrading to Python 2.7 is trivial as most elements of Python 2.5 are forwards-compatible with Python 2.7. We’ve
prepared a handy migration guide
that covers the steps to migrate in detail.
If your application is still using the already deprecated
Master/Slave Datastore
, then you should first plan the migration to our more reliable
High Replication Datastore
, as the Master/Slave Datastore is not accessible from Python 2.7.
Future versions of the App Engine Python Development SDK will display warnings to developers deploying updates to a deprecated runtime.
Starting from January 2014, we will no longer allow new applications to be created using the Python 2.5 runtime.
We encourage all developers using Python 2.5 to consider migrating as soon as possible. We’re confident that the vast majority of our customers will find the upgrade straightforward and the benefits substantial
.
If you’re considering migrating, here are some useful resources:
Our summary of the new features
we’ve introduced in Python 2.7 including additional standard libraries and third-party libraries that are supported.
A handy migration guide
, explaining the steps to move a Python 2.5 app to Python 2.7
App Engine engineers give an
in-depth discussion during Google I/O
on the many improvements in Python 2.7, and how to quickly take advantage of them.
If you have any questions about this deprecation, we encourage you to contact us at
google-appengine-python25-deprecation@googlegroups.com
.
-Posted by Andrew Jessup, Product Manager
Free Trial
GCP Blogs
Big Data & Machine Learning
Kubernetes
GCP Japan Blog
Firebase Blog
Apigee Blog
Popular Posts
World's largest event dataset now publicly available in BigQuery
A look inside Google’s Data Center Networks
Enter the Andromeda zone - Google Cloud Platform’s latest networking stack
Using labels to organize Google Cloud Platform resources
New in Google Cloud Storage: auto-delete, regional buckets and faster uploads
Labels
Announcements
193
Big Data & Machine Learning
134
Compute
271
Containers & Kubernetes
92
CRE
27
Customers
107
Developer Tools & Insights
151
Events
38
Infrastructure
44
Management Tools
87
Networking
43
Open
1
Open Source
135
Partners
102
Pricing
28
Security & Identity
85
Solutions
24
Stackdriver
24
Storage & Databases
164
Weekly Roundups
20
Feed
Subscribe by email
Demonstrate your proficiency to design, build and manage solutions on Google Cloud Platform.
Learn More
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Google
on
Follow @googlecloud
Follow
Follow