Closed Intellbg closed 10 months ago
@Intellbg You could also add "Fixes #480, #479, #478, #475, #474, #473, #472, #467" to the description, so they will get automatically closed on merging.
@rdbende is that what needed to be done?
Well, not quite 😅 Put it in the description of the PR, it doesn't work in the title.
Upon saving the modifications it will list the linked issues in the sidebar, like this:
Traceback (most recent call last): File "/root/ttkbootstrap/src/ttkbootstrap/main.py", line 298, in
bagel = setup_demo(app) File "/root/ttkbootstrap/src/ttkbootstrap/main.py", line 173, in setup_demo m = ttk.Meter( File "/usr/local/lib/python3.10/dist-packages/ttkbootstrap/widgets.py", line 718, in init self._setup_widget() File "/usr/local/lib/python3.10/dist-packages/ttkbootstrap/widgets.py", line 759, in _setup_widget self._draw_meter() File "/usr/local/lib/python3.10/dist-packages/ttkbootstrap/widgets.py", line 856, in _draw_meter img.resize((self._metersize, self._metersize), Image.CUBIC) AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?
pip uninstall Pillow
pip install Pillow==8.4.0
pip uninstall Pillow
pip install Pillow==8.4.0
In case it's helpful to anyone wanting a temporary fix while awaiting a new release of ttkbootstrap...
Using poetry to install, "Pillow 8.4.0 does not support Python 3.11 and does not provide prebuilt Windows binaries."
However, Pillow 9.5.0 works fine for me, and types-Pillow
is also available for that version.
this has not been pushed to pypi :(
$ pip freeze
pillow==10.4.0
ttkbootstrap==1.10.1
Lastest pillow renamed it constants. This PR has updated Pillow from v 8 to 10. And renamed all constants Fixes #480 ,Fixes #479 ,Fixes #478 ,Fixes #475 ,Fixes #474 ,Fixes #473 ,Fixes #472 ,Fixes #467