Skip to content

Commit 8d336cb

Browse files
committed
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
1 parent 84ae836 commit 8d336cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements/install.pip

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
aniso8601>=0.82
1+
aniso8601==8.0.0; python_version < '3.5'
2+
aniso8601>=0.82; python_version >= '3.5'
23
jsonschema
34
Flask>=0.8
45
werkzeug

0 commit comments

Comments
 (0)