From 17d1bfd72760a80b2458cf93ff9cb8c6208e2867 Mon Sep 17 00:00:00 2001 From: Oleg Girko Date: Thu, 11 Jun 2020 17:58:56 +0100 Subject: [PATCH] Require parameterized package version to be at least 0.7.0. Older versions have no parameterized_class decorator. Signed-off-by: Oleg Girko --- changelog.d/7680.misc | 1 + synapse/python_dependencies.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelog.d/7680.misc diff --git a/changelog.d/7680.misc b/changelog.d/7680.misc new file mode 100644 index 000000000000..46cd23257455 --- /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 8b4312e5a3e5..b920ed4b8b80 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -95,7 +95,8 @@ "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"],