blockdiag / nwdiag

Apache License 2.0
113 stars 18 forks source link

Python3.8 pip install fails due to pillow version #49

Open sjpb opened 2 months ago

sjpb commented 2 months ago
$ python --version
Python 3.8.17
$ pip list | grep nwdiag
nwdiag                 3.0.0
$ nwdiag simple.diag 
ERROR: 'ImageDraw' object has no attribute 'textsize'

Fixable using pip install pillow==9.5.0 which downgrades from pillow 10.3.0. Thanks to https://stackoverflow.com/a/78121273/916373

thomasgoirand commented 1 month ago

Seriously, why one should care about Python 3.8, which is more than 4 years old, and when we have Python 3.12?

sjpb commented 1 month ago

You don't have to. But the requirements say:

Python 3.7 or later