From 409a07a7fb23a8a7497af7528e477f5245bd3070 Mon Sep 17 00:00:00 2001
From: Felix Schwarz <felix.schwarz@oss.schwarz.eu>
Date: Thu, 7 Nov 2019 23:08:22 +0100
Subject: [PATCH] require Pyphen >= 0.9.1

With older versions tests I get 19 test failures in test_text.py. I am not
sure if this is peculiarity of the test suite but 0.9.1 was released
almost 6 years ago (December 2013) so requiring it should be fine.
---
 docs/install.rst | 2 +-
 setup.cfg        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/install.rst b/docs/install.rst
index b7228851c..743b69fed 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -13,7 +13,7 @@ WeasyPrint |version| depends on:
 * tinycss2_ ≥ 1.0.0
 * cssselect2_ ≥ 0.1
 * CairoSVG_ ≥ 2.4.0
-* Pyphen_ ≥ 0.8
+* Pyphen_ ≥ 0.9.1
 * GDK-PixBuf_ ≥ 2.25.0 [#]_
 
 .. _CPython: http://www.python.org/
diff --git a/setup.cfg b/setup.cfg
index ce4a10be3..4464d3bcf 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -49,7 +49,7 @@ install_requires =
   tinycss2>=1.0.0
   cssselect2>=0.1
   CairoSVG>=2.4.0
-  Pyphen>=0.8
+  Pyphen>=0.9.1
 tests_require =
   pytest-runner
   pytest-cov