Remove usage of six library from main Cinder code
The Python 2.7 Support has been dropped since Ussuri (*1).
Then replace usage of six (a Python 2 and 3 compatibility library) with code for Python 3.
1. Please do this as a series of small patches instead of one big monolithic patch.
2. The Cinder project has a policy that it is OK for drivers to continue to use six as long as any of the releasable stable branches support Python 2 in order to make backports easier. So until Train goes to Extended Maintenance, we are leaving it up to the driver maintainers to decide whether or not they would like to remove six from master.
*1: https:/
Blueprint information
- Status:
- Complete
- Approver:
- Brian Rosmaita
- Priority:
- High
- Drafter:
- Bhagyashri Shewale
- Direction:
- Approved
- Assignee:
- xuanyandong
- Definition:
- Approved
- Series goal:
- Accepted for wallaby
- Implementation:
- Implemented
- Milestone target:
- wallaby-1
- Started by
- Brian Rosmaita
- Completed by
- Brian Rosmaita
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Remove six
Addressed by: https:/
Remove six of dir cinder/api/*
Addressed by: https:/
Remove six of dir cinder/backup/*
Addressed by: https:/
Remove six of dir cinder/db/*
Addressed by: https:/
Remove six of dir cinder/image/*
Addressed by: https:/
Remove six of dir cinder/
Addressed by: https:/
Remove six of dir cinder/scheduler/*
Addressed by: https:/
Remove six of dir cinder/volume/*
Addressed by: https:/
Remove six in files under cinder/*
Addressed by: https:/
Remove six of dir cinder/
Addressed by: https:/
Remove six of dir cinder/tests/unit/*
Addressed by: https:/
Remove six of dir cinder/
Addressed by: https:/
Remove six of dir cinder/
Addressed by: https:/
Remove six of dir cinder/
Addressed by: https:/
Remove six of files under cinder/test/unit
Addressed by: https:/
Import HTTPStatus instead of http_client
Addressed by: https:/
Import HTTPStatus instead of http_client (policy tests)
Addressed by: https:/
Refactor some unit tests
Addressed by: https:/
Remove six from cinder.
Addressed by: https:/
remove six from cinder.transfer