← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1779606] [NEW] Missing versioned notification examples in Python 3

 

Public bug reported:

Python 3 is used in executing 'tox -e docs' by default currently.
When Python 3 is used, there are some missing notification examples.

In python 3, map function returns an iterator instead of a list,
and importlib.import_module(*1) is not executed in the document generation.
So it causes missing versioned notification examples in the nova docs.

*1:
https://github.com/openstack/nova/blob/4ea64cad3fcc4897690bfb2c02d2b06d65db4dcf/doc/ext/versioned_notifications.py#L59-L61

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: In Progress


** Tags: doc notifications

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1779606

Title:
  Missing versioned notification examples in Python 3

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Python 3 is used in executing 'tox -e docs' by default currently.
  When Python 3 is used, there are some missing notification examples.

  In python 3, map function returns an iterator instead of a list,
  and importlib.import_module(*1) is not executed in the document generation.
  So it causes missing versioned notification examples in the nova docs.

  *1:
  https://github.com/openstack/nova/blob/4ea64cad3fcc4897690bfb2c02d2b06d65db4dcf/doc/ext/versioned_notifications.py#L59-L61

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


Follow ups