summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorOleg Girko <ol+github@infoserver.lv>2020-06-17 15:31:40 +0100
committerGitHub <noreply@github.com>2020-06-17 15:31:40 +0100
commit96bc110a68b58fc6ae9b01e46e9a38a27c0c5ef0 (patch)
tree2625b081101e2d267420c97e1d590c2f2e035a7a /synapse/python_dependencies.py
parentIgnore the UI Auth sessions when porting from sqlite to postgresql (#7711) (diff)
downloadsynapse-96bc110a68b58fc6ae9b01e46e9a38a27c0c5ef0.tar.xz
Require parameterized package version to be at least 0.7.0. (#7680)
Older versions of `parameterized` package have no `parameterized_class` decorator. This decorator is used in tests.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
Diffstat (limited to '')
-rw-r--r--synapse/python_dependencies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index d655aba35c..92d3709ae3 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -93,7 +93,8 @@ CONDITIONAL_REQUIREMENTS = {
     "oidc": ["authlib>=0.14.0"],
     "systemd": ["systemd-python>=231"],
     "url_preview": ["lxml>=3.5.0"],
-    "test": ["mock>=2.0", "parameterized"],
+    # parameterized_class decorator was introduced in parameterized 0.7.0
+    "test": ["mock>=2.0", "parameterized>=0.7.0"],
     "sentry": ["sentry-sdk>=0.7.2"],
     "opentracing": ["jaeger-client>=4.0.0", "opentracing>=2.2.0"],
     "jwt": ["pyjwt>=1.6.4"],