flopp / py-staticmaps

A python module to create static map images with markers, geodesic lines, etc.
MIT License
128 stars 17 forks source link

Not compatible with Pillow=10.0.0 #31

Closed pamelafox closed 3 months ago

pamelafox commented 1 year ago

Pillow just released a new version on July 1st, 10.0.0, which deprecates ImageDraw.textsize(), currently used by the render attribution function.

The quick fix is to add a version constraint to the requirements to this package to use version 9.5.0. The longer fix is to stop using textsize().

flopp commented 3 months ago

Fixed via #32