OPW: First goal achieved
16 Jul 2014Some time ago I achieved the first and most important goal of my internship: all tests are now passing for Python 3 and the py33-gate is now voting. Since then, there were no problems with Python 3 for Marconi and hopefully it will remain so. The only missing dependency is python-memcached, that is used for caching and thus not totally blocking usage.
There were 7 commits merged in total:
- Add separate requirements file for Python 3
- Fix sqlalchemy storage driver for Python 3
- Fix handling of request/response body for Python 3
- Small fixes in storage drivers for Python 3
- Fix tests to be Python 3 compatible
- Make storage.utils.keyify py3k compatible
- Fix Python 3 leftovers
with the last commit to make gate voting.
The overall impression from the work done: Python 3 is even more explicit, then Python 2.
The remaining time till August 18, I plan to spend doing several different activities:
- propose changes to other OpenStack projects to help them with Python 3 support (mostly I plan to target Oslo and Keystone).
- do something unrelated to Python 3 for OpenStack/Marconi.
- help other interns that are working on new storage and transport drivers for Marconi to make their changes Python 3 compatible.