2buntu / 2buntu-blog

Source code for the 2buntu blog.
http://2buntu.com
Apache License 2.0
15 stars 11 forks source link

Python 3 support #69

Closed nathan-osman closed 9 years ago

nathan-osman commented 10 years ago

2buntu in its current form has not been tested against Python 3 at all. This bug consists of three steps:

nathan-osman commented 10 years ago

I have checked and can confirm that all of our package dependencies are compatible with Python 3. Work on this can commence at any time.

nathan-osman commented 10 years ago

Apparently I was wrong. The python-twitter package does not run in Python 3. Luckily we only use Twitter in one spot in one file, so it should be fairly easy to swap packages.

nathan-osman commented 10 years ago

Python 3 support is nearly complete. I'll be doing some final reviews and then we'll deploy it alongside the Python 2 instance on the web server.

nathan-osman commented 10 years ago

One extra complication - I thought our cache was storing Unicode directly in Redis. Apparently it's doing something that requires pickling and the pickles are not compatible between Python 2 and 3. I'm going to look a bit further into this and see if there is an easy way to work around this.

luciomartinez commented 10 years ago

You can do it @nathan-osman ! Keep that good work. We want to see the new version running soon! :+1:

nathan-osman commented 9 years ago

I just flicked the switch two minutes ago - the entire blog is now running on Python 3. (You can confirm this by visiting http://2buntu.com/about and looking at the stats on the right-hand side.) I'll close this bug in the next day or two once I confirm nothing got broken.

nathan-osman commented 9 years ago

Nothing got broken. Closing.