From c6e0d845d3865a5a45c21a910ca3212f1d37a45f Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 15 Jan 2024 13:51:48 +0000 Subject: [PATCH] Fix building of deps after bump of `pillow` version (#16817) Broke in https://github.com/element-hq/synapse/pull/16802 --- debian/rules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 914d068f2a..8e90587abe 100755 --- a/debian/rules +++ b/debian/rules @@ -40,9 +40,9 @@ override_dh_shlibdeps: # to be self-contained, but they have interdependencies and # dpkg-shlibdeps doesn't know how to resolve them. # - # As of Pillow 7.1.0, these libraries are in - # site-packages/Pillow.libs. Previously, they were in - # site-packages/PIL/.libs. + # As of Pillow 7.1.0, these libraries are in site-packages/Pillow.libs. + # Previously, they were in site-packages/PIL/.libs. As of Pillow 10.2.0 + # the package name is lowercased to site-packages/pillow.libs. # # (we also need to exclude psycopg2, of course, since we've already # dealt with that.) @@ -50,6 +50,7 @@ override_dh_shlibdeps: dh_shlibdeps \ -X site-packages/PIL/.libs \ -X site-packages/Pillow.libs \ + -X site-packages/pillow.libs \ -X site-packages/psycopg2 override_dh_virtualenv: