From 46a50fb9793fb8038ed6f9ec7caafff105cbb465 Mon Sep 17 00:00:00 2001 From: tstadel <60758086+tstadel@users.noreply.github.com> Date: Thu, 14 Apr 2022 16:08:55 +0200 Subject: [PATCH] Fix python-magic making Windows CI stuck (#2425) * revert python-magic PR #2330 * Revert "revert python-magic PR #2330" This reverts commit 23fa2cc836e36daecd9e77d340dde6e32e25c82b. * remove python-magic dep * use python-magic-bin only * add comment about python-magic-bin --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 28982d2ed..6e6d0e01e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -156,7 +156,8 @@ crawler = preprocessing = beautifulsoup4 markdown - python-magic # Depends on libmagic: https://pypi.org/project/python-magic/ + python-magic; platform_system != 'Windows' # Depends on libmagic: https://pypi.org/project/python-magic/ + python-magic-bin; platform_system == 'Windows' # Needs to be installed without python-magic, otherwise Windows CI gets stuck. ocr = pytesseract==0.3.7 pillow