Emerging =dev-python/pillow-9.4.0 with USE="-lcms test" generates the following error during test phase: ImportError: cannot import name '_imagingcms' from 'PIL' The error does not arise with USE="lcms test".
Created attachment 858827 [details] emerge --info
Adding lcms to REQUIRED_USE should be enough here.
Created attachment 858833 [details] gzipped build.log (Apparently, build.log was slightly too large, so it was rejected in my initial report.) My fix: REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )"
Thank you for the report!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05376a6790d2b50c704e5e77339383b30cf4d02 commit a05376a6790d2b50c704e5e77339383b30cf4d02 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-03-27 17:04:32 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-03-27 17:04:52 +0000 dev-python/pillow: Require USE=lcms for tests Closes: https://bugs.gentoo.org/902893 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pillow/pillow-9.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)