diff options
author | reivilibre <oliverw@matrix.org> | 2022-02-02 16:51:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 16:51:00 +0000 |
commit | 41818cda1fcb086fc41cab7b60da46954ec1dd4a (patch) | |
tree | 3539b72f479b80b99976eaf8c56d07875b534a46 /synapse/python_dependencies.py | |
parent | Fix losing incoming EDUs if debug logging enabled (#11890) (diff) | |
download | synapse-41818cda1fcb086fc41cab7b60da46954ec1dd4a.tar.xz |
Fix type errors introduced by new annotations in the Prometheus Client library. (#11832)
Co-authored-by: David Robertson <davidr@element.io>
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r-- | synapse/python_dependencies.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index 80786464c2..22b4606ae0 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -76,8 +76,7 @@ REQUIREMENTS = [ "msgpack>=0.5.2", "phonenumbers>=8.2.0", # we use GaugeHistogramMetric, which was added in prom-client 0.4.0. - # 0.13.0 has an incorrect type annotation, see #11832. - "prometheus_client>=0.4.0,<0.13.0", + "prometheus_client>=0.4.0", # we use `order`, which arrived in attrs 19.2.0. # Note: 21.1.0 broke `/sync`, see #9936 "attrs>=19.2.0,!=21.1.0", |