From 9c6fe7c4d2e52216628b11e94e59c5caf51037b0 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 26 Feb 2020 15:12:46 +0200 Subject: [PATCH 1/4] Require datrie 0.8+ for Python 3.7 --- requirements-optional.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/requirements-optional.txt b/requirements-optional.txt index d8be39ff..b427b77c 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -14,6 +14,4 @@ lxml ; platform_python_implementation == 'CPython' # DATrie can be used in place of our Python trie implementation for # slightly better parsing performance. -# https://github.com/pytries/datrie/issues/52 although closed is not -# yet released to https://pypi.org/project/datrie -datrie ; platform_python_implementation == 'CPython' and python_version < '3.7' +datrie>=0.8 ; platform_python_implementation == 'CPython' From 7e309bd860e25f66a8728d66f050dd20ea0edfdf Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 26 Feb 2020 15:25:09 +0200 Subject: [PATCH 2/4] Latest datrie 0.8 doesn't support Python 3.8 --- requirements-optional.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-optional.txt b/requirements-optional.txt index b427b77c..f745a8fc 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -14,4 +14,5 @@ lxml ; platform_python_implementation == 'CPython' # DATrie can be used in place of our Python trie implementation for # slightly better parsing performance. -datrie>=0.8 ; platform_python_implementation == 'CPython' +# https://github.com/pytries/datrie/issues/73 Latest datrie 0.8 doesn't support Py3.8 +datrie>=0.8 ; platform_python_implementation == 'CPython' and python_version < '3.8' From 050b34f93d328d3b264c145b7215ccb8279bff63 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 26 Mar 2020 08:43:35 +0200 Subject: [PATCH 3/4] Require datrie 0.8.2+ for Python 3.8 --- requirements-optional.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements-optional.txt b/requirements-optional.txt index f745a8fc..b9fe87e6 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -14,5 +14,4 @@ lxml ; platform_python_implementation == 'CPython' # DATrie can be used in place of our Python trie implementation for # slightly better parsing performance. -# https://github.com/pytries/datrie/issues/73 Latest datrie 0.8 doesn't support Py3.8 -datrie>=0.8 ; platform_python_implementation == 'CPython' and python_version < '3.8' +datrie>=0.8.2 ; platform_python_implementation == 'CPython' From e408b9bd2d2bd2f8ac4fd27ba88919fa251dce4b Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 26 Mar 2020 08:47:53 +0200 Subject: [PATCH 4/4] Test on Python 3.9-dev --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index c944f922..340b2c7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - "pypy3" - "pypy" + - "3.9-dev" - "3.8" - "3.7" - "3.6"