Python3 support in barbican

Registered by Pradeep Kumar Singh

All projects in openstack are supporting/ going to support python3. Barbican also need to support python3.

Blueprint information

Status:
Complete
Approver:
Douglas Mendizábal
Priority:
Low
Drafter:
Pradeep Kumar Singh
Direction:
Approved
Assignee:
Pradeep Kumar Singh
Definition:
Approved
Series goal:
Proposed for liberty
Implementation:
Implemented
Milestone target:
milestone icon next
Started by
Pradeep Kumar Singh
Completed by
Pradeep Kumar Singh

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/barbican-py3,n,z

Addressed by: https://review.openstack.org/206770
    Add py3 support

Addressed by: https://review.openstack.org/206782
    Add py3 support

Addressed by: https://review.openstack.org/208784
    Add mocking for ldap for Python3 tests

Addressed by: https://review.openstack.org/208787
    Add py34 support in tox

Addressed by: https://review.openstack.org/210946
    Make tests in test_hrefs, test_quota py3 compatible

Addressed by: https://review.openstack.org/211759
    Replace python-ldap with ldap3 library

Addressed by: https://review.openstack.org/212235
    Make tests in barbican.tests.tasks py3 compatible

Addressed by: https://review.openstack.org/212242
    Make tests in barbican.tests.model py3 compatible

Addressed by: https://review.openstack.org/213574
    Make files in barbican.tests.api py3 compatible Partially-Implements: blueprint barbican-py3

Addressed by: https://review.openstack.org/213594
    Make tests in barbican.tests.api.middleware py3 compatible Partially-Implements: blueprint barbican-py3

Addressed by: https://review.openstack.org/214447
    Replace itertools.ifilter with six.moves.filter for py3 compatibility Partially-Implements: blueprint barbican-py3

Addressed by: https://review.openstack.org/214963
    Make barbican.tests.api.controllers.test_secrets py3 compatible

Addressed by: https://review.openstack.org/215406
    Make tests in test_acls.py and test_cas.py py3 compatible

Addressed by: https://review.openstack.org/216093
    Make tests in barbican.tests.plugin py3 compatible

Addressed by: https://review.openstack.org/216527
    Make barbican/tests/plugin/crypto/test_p11_crypto py3 compatible

Addressed by: https://review.openstack.org/219123
    Replace dict.iteritems() with six.iteritems(dict)

Addressed by: https://review.openstack.org/219946
    Python 3 Refactoring: Replace six.iteritems() with the preferred items()

Addressed by: https://review.openstack.org/219953
    Make tests.api.controllers.test_containers py3 compatible

Addressed by: https://review.openstack.org/225653
    py3: Fix python34 check job

Addressed by: https://review.openstack.org/230406
    py3: Enable more tests to Python 3.4

Addressed by: https://review.openstack.org/233633
    Refactor Base64 use and other changes for Python3

Addressed by: https://review.openstack.org/270712
    Using dict.items() is better than six.iteritems(dict)

Addressed by: https://review.openstack.org/310270
    Python3: exceptions no longer have a 'message' attribute.

Addressed by: https://review.openstack.org/310271
    Python3: base64.b64encode expects bytes.

Addressed by: https://review.openstack.org/310272
    Python3: HTTPServerError no longer has a "message" argument in its constructo

Addressed by: https://review.openstack.org/310273
    Python3: fix barbican.tests.api.controllers.test_cas

Addressed by: https://review.openstack.org/310274
    Python 3: use a string rather than bytes for "kek"

Addressed by: https://review.openstack.org/310275
    Python3: fix barbican.tests.plugin.crypto.test_crypto

Addressed by: https://review.openstack.org/310276
    Python3: add tests that are already working

Addressed by: https://review.openstack.org/310277
    Python3: fix barbican.tests.plugin.test_kmip

Addressed by: https://review.openstack.org/310278
    Python 3: fix barbican.tests.plugin.test_store_crypto

Addressed by: https://review.openstack.org/312513
    Python 3: replace the whitelist with a blacklist

Addressed by: https://review.openstack.org/312514
    Port translations to Python 3

Addressed by: https://review.openstack.org/312515
    Port snakeoil_ca to Python 3

Addressed by: https://review.openstack.org/312516
    Port test_validators to Python 3

Addressed by: https://review.openstack.org/312517
    Port API test_resources to Python 3

Addressed by: https://review.openstack.org/329354
    Port 3 more unit tests to Python 3

Addressed by: https://review.openstack.org/329426
    Port test_quotas to Python 3

Addressed by: https://review.openstack.org/329427
    Port last test (test_secrets) to Python 3

Addressed by: https://review.openstack.org/332053
    Setup memory DB in test_cmd

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.