Philipp Hörist pushed to branch master at gajim / gajim


Commits:
46414dd5 by lovetox at 2022-06-02T10:36:04+02:00
chore: Add pillow as runtime dependency

Fixes #10940

- - - - -


4 changed files:

- README.md
- debian/control
- gajim/gtk/util.py
- setup.cfg


Changes:

=====================================
README.md
=====================================
@@ -11,6 +11,7 @@ ### Runtime Requirements
 - python3-keyring
 - python3-precis-i18n
 - python3-packaging
+- python3-pil
 - python3-setuptools
 - Gtk3 (>=3.22)
 - GLib (>=2.60.0)


=====================================
debian/control
=====================================
@@ -36,6 +36,7 @@ Depends:
     python3-precis-i18n,
     python3-keyring,
     python3-packaging,
+    python3-pil,
     python3-setuptools,
     python3-css-parser,
     gir1.2-gtk-3.0 (>= 3.22.27~),
@@ -59,7 +60,6 @@ Recommends:
     pulseaudio-utils | alsa-utils | sox | oss4-base,
     python3-dbus (>=0.81),
     python3-keyring,
-    python3-pil,
     python3-sentry-sdk,
 Suggests:
     libxss1,


=====================================
gajim/gtk/util.py
=====================================
@@ -31,11 +31,7 @@
 from pathlib import Path
 from re import Match
 
-try:
-    from PIL import Image
-except Exception:
-    pass
-
+from PIL import Image
 from gi.repository import Gdk
 from gi.repository import Gio
 from gi.repository import Gtk


=====================================
setup.cfg
=====================================
@@ -24,6 +24,7 @@ install_requires =
     keyring
     nbxmpp>=3.0.0,<4.0.0
     packaging
+    pillow
     precis-i18n>=1.0.0
     pyOpenSSL>=16.2
     pycairo>=1.16.0



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/46414dd5f65404859dde1611ef4b5bfe245f7dab

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/46414dd5f65404859dde1611ef4b5bfe245f7dab
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to