summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-12-31 17:19:54 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-12-31 17:19:54 +0000
commit192bf29ca008efd5b72ca23ce2201ee0d3c4c3f1 (patch)
tree7c8e73b7a147f7b4b7c498bd34c6fda4e0215d5a /synapse/python_dependencies.py
parentMerge commit '53b12688d' into anoa/dinsic_release_1_23_1 (diff)
parent1.24.0rc2 (diff)
downloadsynapse-192bf29ca008efd5b72ca23ce2201ee0d3c4c3f1.tar.xz
Merge commit '693dab487' into anoa/dinsic_release_1_23_1
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r--synapse/python_dependencies.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py

index cd4547c41b..99e3268cb5 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py
@@ -40,6 +40,10 @@ logger = logging.getLogger(__name__) # Note that these both represent runtime dependencies (and the versions # installed are checked at runtime). # +# Also note that we replicate these constraints in the Synapse Dockerfile while +# pre-installing dependencies. If these constraints are updated here, the same +# change should be made in the Dockerfile. +# # [1] https://pip.pypa.io/en/stable/reference/pip_install/#requirement-specifiers. REQUIREMENTS = [ @@ -69,14 +73,7 @@ REQUIREMENTS = [ "msgpack>=0.5.2", "phonenumbers>=8.2.0", # we use GaugeHistogramMetric, which was added in prom-client 0.4.0. - # prom-client has a history of breaking backwards compatibility between - # minor versions (https://github.com/prometheus/client_python/issues/317), - # so we also pin the minor version. - # - # Note that we replicate these constraints in the Synapse Dockerfile while - # pre-installing dependencies. If these constraints are updated here, the - # same change should be made in the Dockerfile. - "prometheus_client>=0.4.0,<0.9.0", + "prometheus_client>=0.4.0", # we use attr.validators.deep_iterable, which arrived in 19.1.0 (Note: # Fedora 31 only has 19.1, so if we want to upgrade we should wait until 33 # is out in November.)