← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/906309
Committed: https://opendev.org/openstack/nova/commit/cc25813b6d07e00dbdfb52f5b1c8bedfc25c74ff
Submitter: "Zuul (22348)"
Branch:    master

commit cc25813b6d07e00dbdfb52f5b1c8bedfc25c74ff
Author: Sylvain Bauza <sbauza@xxxxxxxxxx>
Date:   Mon Jan 22 15:55:47 2024 +0100

    doc: drop blockdiag usage
    
    Since blockdiag seems a bit unmaintenained, let's just statically
    generate the SVGs but let's keep the source files in tree so we can
    modify the diagrams whenever we want, provided blockdiag exists in
    a foreseenable future :-)
    
    Closes-Bug: #2026345
    
    Change-Id: I1cc078554ab149a9849c895e08c878180b7510b0


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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 Designate:
  Fix Released
Status in Ironic:
  Confirmed
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/designate/+bug/2026345/+subscriptions