← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2026345] Re: Sphinx raises 'ImageDraw' object has no attribute 'textsize' error

 

This issue is also affecting networking-bgpvpn:

https://github.com/openstack/networking-
bgpvpn/blob/2244a10a9c0947053f98f2728754a920c54f9a55/doc/requirements.txt#L10-L11


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

-- 
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/2026345

Title:
  Sphinx raises 'ImageDraw' object has no attribute 'textsize' error

Status in networking-bgpvpn:
  New
Status in Designate:
  Fix Released
Status in Ironic:
  Fix Released
Status in OpenStack Identity (keystone):
  New
Status in OpenStack Compute (nova):
  Fix Released
Status in octavia:
  In Progress
Status in tacker:
  Fix Released

Bug description:
  Pillow version 10.0 or higher sphinx raises error.

  '''
   'ImageDraw' object has no attribute 'textsize'
  '''

  
  Tacker specs use sphinx and pillow to build some diagrams in .rst file.
  Pillow remove ImageDraw.textsize() form version 10.0[1],
  but sphinx use ImageDraw.textsize().


  [1]
  https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#font-
  size-and-offset-methods

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