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
This commit is contained in:
tstadel 2022-04-14 16:08:55 +02:00 committed by GitHub
parent 3d42b70fbb
commit 46a50fb979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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