Package Details: python-pillow-simd 1:9.0.0.post1-1

Git Clone URL: https://aur.archlinux.org/python-pillow-simd.git (read-only, click to copy)
Package Base: python-pillow-simd
Description: Python Imaging Library (PIL) fork. Pillow fork for better image processing performance.
Upstream URL: https://github.com/uploadcare/pillow-simd
Licenses: custom
Conflicts: python-pillow
Provides: python-pillow
Submitter: simon04
Maintainer: chillenb
Last Packager: chillenb
Votes: 11
Popularity: 0.049036
First Submitted: 2017-09-06 10:36 (UTC)
Last Updated: 2022-02-18 18:24 (UTC)

Required by (624)

Sources (1)

Latest Comments

lillylizard commented on 2022-04-23 02:54 (UTC)

@brainmue I had the same problem as you. TLDR I worked around it by uninstalling python-pyqt5, which had been installed as an optional dependency for python-pillow for QT integration.

The test fails at the first line of test_sanity() in test_qt_image_qapplication.py which calls QApplication (found here https://github.com/uploadcare/pillow-simd/blob/simd/master/Tests/test_qt_image_qapplication.py#L53, note that it's no different than the file found in the python-pillow repo). Not having pyqt installed causes the test to be skipped which allows the build to succeed. Perhaps having python-pyqt6 installed instead will work, I didn't investigate any further sorry...

brainmue commented on 2022-03-15 07:29 (UTC)

Hi all, I always get an error with pytest, but don't understand exactly what the problem is. Can anyone help me?

Tests/test_pickle.py ...........................                                                                                     [ 65%]
Tests/test_psdraw.py ...                                                                                                             [ 65%]
Tests/test_qt_image_qapplication.py Fatal Python error: Aborted

Current thread 0x00007f3049ff0740 (most recent call first):
  File "/var/tmp/pamac-build-weiller/python-pillow-simd/src/pillow-simd-9.0.0.post1/Tests/test_qt_image_qapplication.py", line 53 in test_sanity
  File "/usr/lib/python3.10/site-packages/_pytest/python.py", line 192 in pytest_pyfunc_call
  File "/usr/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.10/site-packages/_pytest/python.py", line 1718 in runtest
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 168 in pytest_runtest_call
  File "/usr/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 261 in <lambda>
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 340 in from_call
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 260 in call_runtest_hook
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 221 in call_and_report
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 132 in runtestprotocol
  File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/usr/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/usr/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 322 in _main
  File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/usr/lib/python3.10/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/usr/lib/python3.10/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/usr/lib/python3.10/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 165 in main
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 188 in console_main
  File "/usr/bin/pytest", line 33 in <module>

Extension modules: PIL._imaging, PIL._imagingmath, PIL._webp, PIL._imagingft, _cffi_backend, shiboken6.Shiboken, PySide6.QtCore, PySide6.QtGui, PIL._imagingcms, PIL._imagingmorph, PySide6.QtWidgets (total: 11)
/var/tmp/pamac-build-weiller/python-pillow-simd/PKGBUILD: Zeile 32: 125260 Abgebrochen             (Speicherabzug geschrieben) pytest

rharish commented on 2020-12-02 10:35 (UTC)

@simon04: Arch updated python to 3.9. I changed _py3basever to 3.9m, and it's working for me. Here's the diff:

diff --git a/PKGBUILD b/PKGBUILD
index 98b1e47..688bab5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,10 +3,10 @@

 pkgname=python-pillow-simd
 pkgver=7.0.0.post3
-pkgrel=2
+pkgrel=3
 epoch=1
 _name=Pillow-SIMD
-_py3basever=3.8m
+_py3basever=3.9m
 pkgdesc="Python Imaging Library (PIL) fork. Pillow fork for better image processing performance."
 arch=('x86_64')
 url="https://github.com/uploadcare/pillow-simd"

sjuxax commented on 2020-02-10 02:32 (UTC)

_py3basever is hardcoded to 3.7m. This no longer works as Arch is on Python 3.8. Manually fixing the PKGBUILD locally resolves. Please update. :)

simon04 commented on 2019-06-18 19:27 (UTC)

@otaj: Thanks for the pointer. Update the package.

otaj commented on 2019-06-12 11:18 (UTC) (edited on 2019-06-12 11:20 (UTC) by otaj)

Please add pkgver to provides (https://wiki.archlinux.org/index.php/PKGBUILD#provides), otherwise pacman won't recognize it and is complaining when using as a replacement for python-pillow when the version is specified.

To illustrate the point

otaj@otaj-ntb: sudo pacman -U python-pillow-simd-1:5.3.0.post1-1-x86_64.pkg.tar.gz
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-pillow-simd (1:5.3.0.post1-1) breaks dependency 'python-pillow>=4.3.0' required by python-scikit-image

sQVe commented on 2019-05-02 18:23 (UTC)

@simon04 I agree. This package should use the same version that's available from pip. Version 6.0.0 is broken for me.

simon04 commented on 2019-05-02 18:20 (UTC)

The one user requests a downgrade from 6.0.0 to 5.3.0.post1, the other requests an upgrade from 5.3.0.post1 to 6.0.0 To break this tie, I'll consider https://pypi.org/project/Pillow-SIMD/ as reference for the latest version.

simon04 commented on 2018-08-14 05:27 (UTC)

@LChris314: Done. Thanks for the reminder!

LChris314 commented on 2018-08-13 17:49 (UTC)

Please update _py3basever to 3.7m, thank you.