From 8d336cb4c04e84fa616b3ecbe16dc6dced833def Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Tue, 15 Dec 2020 16:41:42 +0200 Subject: [PATCH] Cap aniso8601 for python 2.7 environments aniso8601==8.1.0 * raises ValuError in case of non-string arguments passed to get_date_resolution and parse_date methods. It is ok for Python3 envs, but backward incompatible for Python 2.7 where we are passing unicode (at least in unittests). * https://bitbucket.org/nielsenb/aniso8601/src/master/CHANGELOG.rst --- requirements/install.pip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements/install.pip b/requirements/install.pip index 8ea329f7..39549338 100644 --- a/requirements/install.pip +++ b/requirements/install.pip @@ -1,4 +1,5 @@ -aniso8601>=0.82 +aniso8601==8.0.0; python_version < '3.5' +aniso8601>=0.82; python_version >= '3.5' jsonschema Flask>=0.8 werkzeug