← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280100] [NEW] StringIO.StringIO is incompatible for python 3

 

Public bug reported:

Import StringIO
StringIO.StringIO()

should be :
Import six
six.StringIO()

six.StringIO is an alias for StringIO.StringIO in Python 2 and
io.StringIO in Python3.

For Python3 compatible.

** Affects: ceilometer
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: cinder
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: config
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: gantt
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: glance
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: heat
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: heat-cfnclient
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: heat-cfntools
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: horizon
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: ironic
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: marconi
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: neutron
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: nova
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: oslo
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: python-glanceclient
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: python-neutronclient
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: python-openstackclient
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: python-tuskarclient
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: savanna
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: storyboard
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: tempest
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: trove
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: tuskar
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: tuskar-ui
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Affects: zuul
     Importance: Undecided
     Assignee: lintan (lintan)
         Status: New

** Also affects: ceilometer
   Importance: Undecided
       Status: New

** Changed in: neutron
     Assignee: (unassigned) => lintan (lintan)

** Changed in: ceilometer
     Assignee: (unassigned) => lintan (lintan)

** Also affects: cinder
   Importance: Undecided
       Status: New

** Changed in: cinder
     Assignee: (unassigned) => lintan (lintan)

** Also affects: glance
   Importance: Undecided
       Status: New

** Changed in: glance
     Assignee: (unassigned) => lintan (lintan)

** Also affects: heat
   Importance: Undecided
       Status: New

** Changed in: heat
     Assignee: (unassigned) => lintan (lintan)

** Also affects: heat-cfnclient
   Importance: Undecided
       Status: New

** Changed in: heat-cfnclient
     Assignee: (unassigned) => lintan (lintan)

** Also affects: gantt
   Importance: Undecided
       Status: New

** Changed in: gantt
     Assignee: (unassigned) => lintan (lintan)

** Also affects: config
   Importance: Undecided
       Status: New

** Also affects: heat-cfntools
   Importance: Undecided
       Status: New

** Changed in: heat-cfntools
     Assignee: (unassigned) => lintan (lintan)

** Changed in: config
     Assignee: (unassigned) => lintan (lintan)

** Also affects: horizon
   Importance: Undecided
       Status: New

** Changed in: horizon
     Assignee: (unassigned) => lintan (lintan)

** Also affects: ironic
   Importance: Undecided
       Status: New

** Changed in: ironic
     Assignee: (unassigned) => lintan (lintan)

** Also affects: marconi
   Importance: Undecided
       Status: New

** Changed in: marconi
     Assignee: (unassigned) => lintan (lintan)

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: nova
     Assignee: (unassigned) => lintan (lintan)

** Also affects: oslo
   Importance: Undecided
       Status: New

** Changed in: oslo
     Assignee: (unassigned) => lintan (lintan)

** Also affects: python-glanceclient
   Importance: Undecided
       Status: New

** Changed in: python-glanceclient
     Assignee: (unassigned) => lintan (lintan)

** Also affects: python-neutronclient
   Importance: Undecided
       Status: New

** Changed in: python-neutronclient
     Assignee: (unassigned) => lintan (lintan)

** Also affects: python-openstackclient
   Importance: Undecided
       Status: New

** Changed in: python-openstackclient
     Assignee: (unassigned) => lintan (lintan)

** Also affects: python-tuskarclient
   Importance: Undecided
       Status: New

** Changed in: python-tuskarclient
     Assignee: (unassigned) => lintan (lintan)

** Also affects: savanna
   Importance: Undecided
       Status: New

** Changed in: savanna
     Assignee: (unassigned) => lintan (lintan)

** Also affects: storyboard
   Importance: Undecided
       Status: New

** Changed in: storyboard
     Assignee: (unassigned) => lintan (lintan)

** Also affects: tempest
   Importance: Undecided
       Status: New

** Changed in: tempest
     Assignee: (unassigned) => lintan (lintan)

** Also affects: trove
   Importance: Undecided
       Status: New

** Changed in: trove
     Assignee: (unassigned) => lintan (lintan)

** Also affects: tuskar
   Importance: Undecided
       Status: New

** Changed in: tuskar
     Assignee: (unassigned) => lintan (lintan)

** Also affects: tuskar-ui
   Importance: Undecided
       Status: New

** Changed in: tuskar-ui
     Assignee: (unassigned) => lintan (lintan)

** Also affects: zuul
   Importance: Undecided
       Status: New

** Changed in: zuul
     Assignee: (unassigned) => lintan (lintan)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1280100

Title:
  StringIO.StringIO is incompatible for python 3

Status in OpenStack Telemetry (Ceilometer):
  New
Status in Cinder:
  New
Status in config:
  New
Status in Gantt:
  New
Status in OpenStack Image Registry and Delivery Service (Glance):
  New
Status in Orchestration API (Heat):
  New
Status in Heat CloudFormation Clients:
  New
Status in Heat API Instance Tools:
  New
Status in OpenStack Dashboard (Horizon):
  New
Status in Ironic (Bare Metal Provisioning):
  New
Status in OpenStack Message Queuing Service (Marconi):
  New
Status in OpenStack Neutron (virtual network service):
  New
Status in OpenStack Compute (Nova):
  New
Status in Oslo - a Library of Common OpenStack Code:
  New
Status in Python client library for Glance:
  New
Status in Python client library for Neutron:
  New
Status in OpenStack Command Line Client:
  New
Status in Python client library for Tuskar:
  New
Status in OpenStack Data Processing (Savanna):
  New
Status in Storyboard database creator:
  New
Status in Tempest:
  New
Status in Trove - Database as a Service:
  New
Status in Tuskar:
  New
Status in Tuskar UI:
  New
Status in Zuul: A project gating system:
  New

Bug description:
  Import StringIO
  StringIO.StringIO()

  should be :
  Import six
  six.StringIO()

  six.StringIO is an alias for StringIO.StringIO in Python 2 and
  io.StringIO in Python3.

  For Python3 compatible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1280100/+subscriptions


Follow ups

References