mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 13:23:54 +01:00
Avoid type annotation problems in prom-client (#11834)
This commit is contained in:
parent
95b3f952fa
commit
c5815567a4
2 changed files with 3 additions and 1 deletions
1
changelog.d/11834.misc
Normal file
1
changelog.d/11834.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Workaround a type annotation problem in `prometheus_client` 0.13.0.
|
|
@ -76,7 +76,8 @@ REQUIREMENTS = [
|
|||
"msgpack>=0.5.2",
|
||||
"phonenumbers>=8.2.0",
|
||||
# we use GaugeHistogramMetric, which was added in prom-client 0.4.0.
|
||||
"prometheus_client>=0.4.0",
|
||||
# 0.13.0 has an incorrect type annotation, see #11832.
|
||||
"prometheus_client>=0.4.0,<0.13.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",
|
||||
|
|
Loading…
Reference in a new issue