|
Does osqa run on python 2.4? In fact I now the current answer: not yet. At least one of the problems is the usage of some syntax that is post Python 2.4:
|
|
Actually, before we switched it to meta.osqa.net, this very site was running on Python 2.4 on one of DZone's Centos-powered hosting servers. Since Centos only offered Python 2.4 we had gone back and fixed a few places where Python 2.5+ dependencies had crept in. It was a little bit of a pain, but not that hard to do. Unless we have introduced new 2.5+ dependencies in the refactoring it should still be working. Maybe we should set up a vmware or some other virtualization system on a DZone machine so we can launch various environments and test for proper operation. Certainly we could have a clean vm set up with 2.4 for testing. 1
No new 2.5 dependencies were added, most of the stuff sorin is talking about is pure syntax, things like that class x() thing, in 2.4, classes without base classes don't cannot have those empty parenthesis, and I must admit, I keep forgetting it :-P
(25 Mar '10, 13:47)
Hernani Cerq... ♦♦
|
|
Yup, that class x() thing is a problem for python 2.4, but django itself supposedly does not support python under 2.5. But I guess a small effort can be made to try to be as compatible as possible. Sorry, but from my knowledge Django supports Python >=2.4 and <3.0. Check http://docs.djangoproject.com/en/dev/intro/install/ This requirement is specific to OSQA and could be easily solved. I can confirm that CNPROG worked under 2.4 after I made 2-3 modifications like that.
(25 Mar '10, 12:02)
sorin
1
Nice, if the amount of required effort to make it work under 2.4 is minimum, so why not?
(25 Mar '10, 13:05)
Hernani Cerq... ♦♦
|