andrewxhill / MOL

The Map of Life
mol.colorado.edu/
19 stars 4 forks source link

Support for Python 2.5? #112

Closed gaurav closed 12 years ago

gaurav commented 12 years ago

Rob has made an old but fast PowerPC Mac available for me to work on Map of Life. I've managed to get loader.py working on Python 2.5 on PowerPC, which is pretty cool, although of course the code is less elegant.

So my question is: do we want to support Python 2.5, or do we want to establish Python 2.6 as the minimum for Map of Life?

tucotuco commented 12 years ago

Code has been written with 2.6 as the target. We've had to do a couple of retro-active fixes to hit that target after developing in 2.7. I think we don't won't to expend effort to go backwards if there are incompatibilities. Did you have to do anything to "get loader.py working" in 2.5?

gaurav commented 12 years ago

Yup; it was entirely code that I'd added myself to loader.py. Check out @ee813c7f40 and @8b22eb3c66 for the changes I had to make. I could precisely install Python 2.6 on my work Mac, so we can make sure we stay workable in 2.6, if you think that's a good idea.

robgur commented 12 years ago

Following the discussion on github late in the evening here in Brussels. Simply put, I agree we should not expend effort on backwards compatibility to 2.5 but stay in current in >= 2.6

gaurav commented 12 years ago

Sounds like we've got consensus - thanks everybody! I'll close down this issue now.

eightysteele commented 12 years ago

Just a quick comment - Python 2.5 is what App Engine runtime supports on dev_server and production. That changes in December to 2.7, so probably all good to focus on 2.6 and above.