summary refs log tree commit diff
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
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>
-rw-r--r--changelog.d/7680.misc1
-rw-r--r--synapse/python_dependencies.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/7680.misc b/changelog.d/7680.misc
new file mode 100644
index 0000000000..46cd232574
--- /dev/null
+++ b/changelog.d/7680.misc
@@ -0,0 +1 @@
+Require `parameterized` package version to be at least 0.7.0.
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"],