rm-hull / luma.oled

Python module to drive a SSD1306 / SSD1309 / SSD1322 / SSD1325 / SSD1327 / SSD1331 / SSD1351 / SH1106 OLED
https://luma-oled.readthedocs.io
MIT License
807 stars 161 forks source link

Drop support for Python 3.7 #385

Closed thijstriemstra closed 11 months ago

thijstriemstra commented 11 months ago

also:

fixes #384

thijstriemstra commented 11 months ago

Default font config for Pillow changed in 10.1.0, causing our tests to fail (because it uses a different "builtin" font AFAIK). See https://pillow.readthedocs.io/en/latest/releasenotes/10.1.0.html#size-and-font-size-arguments-when-using-default-font

Will have to regenerate the test data to fix it (hopefully).

thijstriemstra commented 11 months ago

The Python 3.7 builder fails because the newest Pillow generates different data and since Python 3.7 is stuck with Pillow <= 9.5.0 I suggest we removed Python 3.7 support since it also reached end of life 4 months ago.

thijstriemstra commented 11 months ago

@rm-hull can you force merge it, py3.7 builder is acting up