← 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/ironic/+/906825
Committed: https://opendev.org/openstack/ironic/commit/7705b0b2d6dcc5a738932513d5d62dbf69e860c7
Submitter: "Zuul (22348)"
Branch:    master

commit 7705b0b2d6dcc5a738932513d5d62dbf69e860c7
Author: Mahnoor Asghar <masghar@xxxxxxxxxx>
Date:   Fri Jan 26 13:14:36 2024 +0100

    Remove the sphinxcontrib-seqdiag dependency
    
    Remove the sphinxcontrib-seqdiag dependency as the Pillow upgrade to
    version 10.x (from OpenStack upper constraints) breaks its usage.
    In the ironic source docs, reference the svg files in the rst files,
    and keep the .diag files in the doc/source/images/ directory as backup.
    
    Closes-Bug: #2026345
    Change-Id: I54cea22e963441b729d4201ad9f8a055a65b54f8


** Changed in: ironic
       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:
  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/designate/+bug/2026345/+subscriptions