Mercurial > kallithea
diff setup.py @ 7745:624971c4d246
setup: bump formencode minimum version to 1.3.0
The formencode version range included both 1.2.x and 1.3.x releases.
However, since 1.3.0, _to_python and validate_python are deprecated and
renamed to _convert_to_python and _validate_python, respectively.
With current pytest, these (long) deprecation warnings are shown in the test
logs.
There are two options:
- restrict maximum version to 1.2.x
- bump minimum version to 1.3.x
In this commit we choose the latter approach, going towards the future
rather than the past.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sun, 16 Jun 2019 20:16:44 +0200 |
parents | b302d4254bd0 |
children | a7d7157eca8e |
line wrap: on
line diff
--- a/setup.py Fri Jun 07 03:37:14 2019 +0200 +++ b/setup.py Sun Jun 16 20:16:44 2019 +0200 @@ -44,7 +44,7 @@ "tgext.routes >= 0.2.0, < 1", "Beaker >= 1.7.0, < 2", "WebHelpers >= 1.3, < 1.4", - "FormEncode >= 1.2.4, < 1.4", + "FormEncode >= 1.3.0, < 1.4", "SQLAlchemy >= 1.1, < 1.4", "Mako >= 0.9.0, < 1.1", "Pygments >= 2.0, < 2.5",