Make code Py33 compatible
Make Stackalytics code compatible with Python 3.3:
* check all dependencies
* fix all compatibility issues
* make tests pass
* enable tests in Jenkins
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Low
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- ChangBo Guo(gcb)
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 0.7
- Started by
- Ilya Shakhat
- Completed by
- Ilya Shakhat
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Use six constants to make code Python 3 compatible
Addressed by: https:/
Use six.iteritems to make dict work on Python2/3
Addressed by: https:/
Sync module timeutils from Oslo
Addressed by: https:/
Replace urllib with py3kcompat.urlutils
Addressed by: https:/
Replace urlparse with py3kcompat.urlutils
The main blocker of enabling Py33 is python-memcached library. The version for Py33 is called differently -- python3-memcached - so it requires a separate requirements.txt file. It is possible to use separate file in tox configuration, but for runtime we depend on pbr. Appropriate patch to pbr is posted (https:/
Addressed by: https:/
Use Oslo module py3kcompat
Addressed by: https:/
Use six.moves.
Addressed by: https:/
Fix py33 compatibility errors