Skip to content

Commit

Permalink
Pin Pillow to prevent wordcloud segfaults
Browse files Browse the repository at this point in the history
Until python-pillow/Pillow#4225 gets resolved. You can
check simply by running corpy's test suite, that triggers the segfault fairly
reliably.
  • Loading branch information
dlukes committed Jan 28, 2021
1 parent 1c9a837 commit dabdd40
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 36 deletions.
74 changes: 38 additions & 36 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ lazy = "^1.4"
lxml = "^4.6.1"
matplotlib = "^3.1"
wordcloud = "^1.8.1"
# TODO: pinned because otherwise, wordcloud segfaults; unpin once
# https://github.com/python-pillow/Pillow/issues/4225 is resolved
Pillow = "6.2.2"
"ufal.morphodita" = "^1.10"
"ufal.udpipe" = "^1.2"
numpy = "^1.16"
Expand Down

0 comments on commit dabdd40

Please sign in to comment.