Package Details: python-ttkwidgets 0.13.0-1

Git Clone URL: https://aur.archlinux.org/python-ttkwidgets.git (read-only, click to copy)
Package Base: python-ttkwidgets
Description: Collection of widgets for Tkinter's ttk extensions
Upstream URL: https://github.com/RedFantom/ttkwidgets
Licenses: GPL3
Submitter: j_4321
Maintainer: j_4321
Last Packager: j_4321
Votes: 1
Popularity: 0.000000
First Submitted: 2018-07-13 15:03 (UTC)
Last Updated: 2023-10-03 12:44 (UTC)

Latest Comments

duane commented on 2023-09-30 04:35 (UTC) (edited on 2023-09-30 04:44 (UTC) by duane)

Getting error during build:

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'.

ANTIALIAS was deprecated for a while and now finally was removed.

Fixed by editing PKGBUILD:

@@ -15,6 +15,7 @@

 build() {
     cd "${srcdir}/${_name}-${pkgver}"
+    sed -i 's/Image.ANTIALIAS/Image.Resampling.LANCZOS/g' ttkwidgets/itemscanvas.py
     python setup.py build
 }

alan1world commented on 2021-08-03 20:47 (UTC) (edited on 2021-08-03 20:48 (UTC) by alan1world)

Error during installation:

ERROR collecting tests/test_itemscanvas.py __________________
ImportError while importing test module '/tmp/trizen-human1/python-ttkwidgets/src/ttkwidgets-0.12.0/tests/test_itemscanvas.py'.

Source of the error is the test file import:

from pynput.mouse import Controller, Button
ModuleNotFoundError: No module named 'pynput'

aur/python-pynput is not marked as a requirement for installation. It doesn't look like it's used by the module itself, it's only the tests.