Comment 5 for bug 2026345

Revision history for this message
Elod Illes (elod-illes) wrote : Re: Shpinx raise 'ImageDraw' object has no attribute 'textsize' error.

Corey is right. In most cases this issue won't come until the upper constraints of Pillow / Sphinx is not bumped [1] in openstack/requirements repository. Nevertheless, the problem exists and will need a fix / workaround (better than pinning? best would be with the above linked PR?) in the future.

[1] reproduced in openstack/nova with bumping the constrained versions to recent versions in upper-constraints.txt:

< Pillow===10.0.0
---
> Pillow===9.5.0
299c299
< docutils===0.20.1
---
> docutils===0.17.1
407c407
< Sphinx===7.1.2
---
> Sphinx===4.5.0